37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
$OpenBSD: patch-pm_config_h,v 1.2 2002/03/01 22:49:20 brad Exp $
|
|
--- pm_config.h.orig Wed Jan 16 18:14:55 2002
|
|
+++ pm_config.h Fri Mar 1 16:16:07 2002
|
|
@@ -35,6 +35,10 @@
|
|
typedef unsigned int uint32n;
|
|
typedef signed int int32n;
|
|
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
#if defined(USG) || defined(SVR4) || defined(VMS) || defined(__SVR4)
|
|
#define SYSV
|
|
#endif
|
|
@@ -44,7 +48,7 @@ typedef signed int int32n;
|
|
** and if you run on an Amiga, set AMIGA. If your compiler is ANSI C, you're
|
|
** probably better off setting SYSV - all it affects is string handling.
|
|
*/
|
|
-#define BSD
|
|
+/* #define BSD */
|
|
/* #define SYSV */
|
|
/* #define MSDOS */
|
|
/* #define AMIGA */
|
|
@@ -86,9 +90,9 @@ typedef signed int int32n;
|
|
#define RGB_DB2 "PBMplus_Dir:RGB.TXT"
|
|
#define RGB_DB3 "PBMplus_Dir:RGB.TXT"
|
|
#else
|
|
-#define RGB_DB1 "/usr/lib/X11/rgb.txt"
|
|
-#define RGB_DB2 "/usr/openwin/lib/rgb.txt"
|
|
-#define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt"
|
|
+#define RGB_DB1 "!!X11R6!!/lib/X11/rgb.txt"
|
|
+#define RGB_DB2 "!!X11R6!!/lib/X11/rgb.txt"
|
|
+#define RGB_DB3 "!!X11R6!!/lib/X11/rgb.txt"
|
|
#endif
|
|
|
|
/* CONFIGURE: This is the name of an environment variable that tells
|