From 6b9d87414d18d09593693985c9fbf777eb79b58c Mon Sep 17 00:00:00 2001 From: brad Date: Fri, 7 May 1999 16:51:51 +0000 Subject: [PATCH] forgot these patches --- editors/xwpe/patches/patch-ab | 25 +++++++++++++++++++++++++ editors/xwpe/patches/patch-ac | 10 ++++++++++ editors/xwpe/patches/patch-ad | 28 ++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 editors/xwpe/patches/patch-ab create mode 100644 editors/xwpe/patches/patch-ac create mode 100644 editors/xwpe/patches/patch-ad diff --git a/editors/xwpe/patches/patch-ab b/editors/xwpe/patches/patch-ab new file mode 100644 index 00000000000..e2f1729676a --- /dev/null +++ b/editors/xwpe/patches/patch-ab @@ -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 + #include + #include ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include ++#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 diff --git a/editors/xwpe/patches/patch-ac b/editors/xwpe/patches/patch-ac new file mode 100644 index 00000000000..9413f098313 --- /dev/null +++ b/editors/xwpe/patches/patch-ac @@ -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 diff --git a/editors/xwpe/patches/patch-ad b/editors/xwpe/patches/patch-ad new file mode 100644 index 00000000000..9517ec1c9af --- /dev/null +++ b/editors/xwpe/patches/patch-ad @@ -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 + #include + ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include ++#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++);