diff options
Diffstat (limited to 'devel/xwpe/files/patch-05')
-rw-r--r-- | devel/xwpe/files/patch-05 | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/devel/xwpe/files/patch-05 b/devel/xwpe/files/patch-05 index 2c0ab6518952..780d5ddab995 100644 --- a/devel/xwpe/files/patch-05 +++ b/devel/xwpe/files/patch-05 @@ -1,5 +1,5 @@ ---- we_prog.c.orig Wed May 6 11:03:14 1998 -+++ we_prog.c Fri May 8 10:09:49 1998 +--- we_prog.c.orig Sat Sep 5 06:57:18 1998 ++++ we_prog.c Sun Nov 8 01:53:20 1998 @@ -15,6 +15,9 @@ #include <sys/stat.h> #include <sys/wait.h> @@ -10,20 +10,16 @@ int e_run_sh(FENSTER *f); int e_make_library(char *library, char *ofile, FENSTER *f); -@@ -944,7 +947,15 @@ - e_prog.exedir = WpeStringMake("."); +@@ -943,7 +946,11 @@ + e_prog.exedir = WpeStringMake("."); if (e_prog.sys_include) FREE(e_prog.sys_include); - e_prog.sys_include = WpeStringMake( -- "/usr/include:/usr/5include:/usr/include/X11"); -+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__)) -+ "/usr/include:/usr/local/include" -+#else -+ "/usr/include:/usr/5include" -+#endif + e_prog.sys_include = +- WpeStringMake("/usr/include:/usr/local/include:/usr/include/X11"); ++ WpeStringMake("/usr/include:/usr/local/include" +#if !defined(NO_XWINDOWS) + ":"X_INC +#endif -+ ); ++ ); if(e_prog.comp == NULL) - e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *)); + e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *)); else |