diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/xwpe/files/patch-02 | 24 | ||||
-rw-r--r-- | devel/xwpe/files/patch-05 | 24 |
2 files changed, 44 insertions, 4 deletions
diff --git a/devel/xwpe/files/patch-02 b/devel/xwpe/files/patch-02 index 5b152a49cdf4..88495de2f643 100644 --- a/devel/xwpe/files/patch-02 +++ b/devel/xwpe/files/patch-02 @@ -1,11 +1,27 @@ --- Makefile.in.orig Fri Apr 7 05:23:04 1995 -+++ Makefile.in Sat Jan 25 00:59:00 1997 -@@ -8,7 +8,7 @@ ++++ Makefile.in Tue Jan 28 20:59:36 1997 +@@ -8,9 +8,12 @@ #Destination Directory prefix=/usr/local DESTDIR= $(prefix)/bin -LIBDIR= $(prefix)/lib -+LIBDIR= $(prefix)/share - WPELIBDIR= $(LIBDIR)/wpe +-WPELIBDIR= $(LIBDIR)/wpe ++LIBSUFX= share ++LIBDIR= $(prefix)/$(LIBSUFX) ++WPELIBSUFX= $(LIBSUFX)/wpe ++WPELIBDIR= $(prefix)/$(WPELIBSUFX) MANDIR= $(prefix)/man ++INFO_FILE= $(prefix)/info + + LIBS=@LIBS@ + DEFS=@DEFS@ +@@ -104,7 +107,8 @@ + + ELIBFLAGS= $(LSYSV) $(LXWINDOW) $(TLIB) $(LPOSIX) $(XWINLIB) $(LNET) $(EXTLIBS) + +-ACFLAGS= $(CFLAGS) $(DEFS) $(ECFLAGS) -D"DESTDIR=\"$(DESTDIR)\"" ++ACFLAGS= $(CFLAGS) $(DEFS) $(ECFLAGS) -D"DESTDIR=\"$(DESTDIR)\"" \ ++ -D"WPE_LIB_DIR=\"$(WPELIBSUFX)\"" -D"INFO_FILE=\"$(prefix)/info\"" + + LIBFLAGS= $(LIBS) $(ELIBFLAGS) diff --git a/devel/xwpe/files/patch-05 b/devel/xwpe/files/patch-05 new file mode 100644 index 000000000000..a9fb369e9d4c --- /dev/null +++ b/devel/xwpe/files/patch-05 @@ -0,0 +1,24 @@ +--- we_prog.c.orig Fri Apr 7 05:32:42 1995 ++++ we_prog.c Mon Jan 27 04:16:00 1997 +@@ -22,6 +22,9 @@ + #include <sys/stat.h> + #include <sys/wait.h> + #include <signal.h> ++#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__)) ++#include <sys/param.h> ++#endif + + #define NSTR "" + +@@ -1120,7 +1123,11 @@ + e_prog.project = e_make_string(e_prog.project, "project.prj"); + e_prog.exedir = e_make_string(e_prog.exedir, "."); + e_prog.sys_include = e_make_string(e_prog.sys_include, ++#if (defined(BSD) && (BSD >= 199306) && defined(__i386__)) ++ "/usr/include:/usr/X11R6/include:/usr/local/include"); ++#else + "/usr/include:/usr/5include:/usr/include/X11"); ++#endif + if(e_prog.comp == NULL) + e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *)); + else |