forgot these patches
This commit is contained in:
parent
e98866fa97
commit
6b9d87414d
25
editors/xwpe/patches/patch-ab
Normal file
25
editors/xwpe/patches/patch-ab
Normal file
@ -0,0 +1,25 @@
|
||||
--- we_prog.c.orig Tue May 4 20:17:45 1999
|
||||
+++ we_prog.c Fri May 7 11:57:01 1999
|
||||
@@ -15,6 +15,9 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <signal.h>
|
||||
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
|
||||
int e_run_sh(FENSTER *f);
|
||||
int e_make_library(char *library, char *ofile, FENSTER *f);
|
||||
@@ -956,7 +959,11 @@
|
||||
e_prog.exedir = WpeStringMake(".");
|
||||
if (e_prog.sys_include) FREE(e_prog.sys_include);
|
||||
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 *));
|
||||
else
|
10
editors/xwpe/patches/patch-ac
Normal file
10
editors/xwpe/patches/patch-ac
Normal file
@ -0,0 +1,10 @@
|
||||
--- configure.orig Tue May 4 20:17:46 1999
|
||||
+++ configure Fri May 7 11:57:01 1999
|
||||
@@ -2481,6 +2481,7 @@
|
||||
s%@X_PRE_LIBS@%$X_PRE_LIBS%g
|
||||
s%@X_LIBS@%$X_LIBS%g
|
||||
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
|
||||
+s%@X_INC@%$x_includes%g
|
||||
|
||||
CEOF
|
||||
EOF
|
28
editors/xwpe/patches/patch-ad
Normal file
28
editors/xwpe/patches/patch-ad
Normal file
@ -0,0 +1,28 @@
|
||||
--- we_fl_unix.c.orig Tue May 4 20:17:45 1999
|
||||
+++ we_fl_unix.c Fri May 7 12:03:26 1999
|
||||
@@ -14,6 +14,10 @@
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
|
||||
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
struct dirfile *e_make_win_list(FENSTER *f);
|
||||
extern char *e_tmp_dir;
|
||||
extern int (*e_u_system)(char *exe);
|
||||
@@ -3050,7 +3054,13 @@
|
||||
if(getenv("MANPATH"))
|
||||
strcpy(manpath, getenv("MANPATH"));
|
||||
if(manpath[0] == '\0')
|
||||
- strcpy(manpath, "/usr/man:/usr/local/man");
|
||||
+ strcpy(manpath,
|
||||
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
|
||||
+ "/usr/share/man:/usr/local/man");
|
||||
+#else
|
||||
+ "/usr/man:/usr/local/man");
|
||||
+#endif
|
||||
+
|
||||
while(manpath[i])
|
||||
{
|
||||
for(n = 0; (subpath[n] = manpath[i]) && manpath[i] != PTHD; i++, n++);
|
Loading…
Reference in New Issue
Block a user