aboutsummaryrefslogtreecommitdiff
path: root/devel/xwpe/files
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-05-09 18:52:44 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-05-09 18:52:44 +0000
commit5cef148deb0f34dda16a9d80fbd10049a87e6048 (patch)
tree6b0413aa6ff07242955f979eb2c175de97453e04 /devel/xwpe/files
parentb2ce31c70a5a3e7a29d13b98cb6d5267bffd4afe (diff)
downloadports-5cef148deb0f34dda16a9d80fbd10049a87e6048.tar.gz
ports-5cef148deb0f34dda16a9d80fbd10049a87e6048.zip
Notes
Diffstat (limited to 'devel/xwpe/files')
-rw-r--r--devel/xwpe/files/patch-0241
-rw-r--r--devel/xwpe/files/patch-0531
-rw-r--r--devel/xwpe/files/patch-08119
-rw-r--r--devel/xwpe/files/patch-0928
4 files changed, 186 insertions, 33 deletions
diff --git a/devel/xwpe/files/patch-02 b/devel/xwpe/files/patch-02
index 88495de2f643..b8d586f8d5f8 100644
--- a/devel/xwpe/files/patch-02
+++ b/devel/xwpe/files/patch-02
@@ -1,27 +1,28 @@
---- Makefile.in.orig Fri Apr 7 05:23:04 1995
-+++ Makefile.in Tue Jan 28 20:59:36 1997
-@@ -8,9 +8,12 @@
+--- Makefile.in.orig Wed May 6 11:03:13 1998
++++ Makefile.in Fri May 8 10:10:38 1998
+@@ -1,6 +1,6 @@
+ #C-Compiler (gcc if exist):
+ CC= @CC@
+-CFLAGS= @CFLAGS@ @X_CFLAGS@
++CFLAGS= @CFLAGS@ -DLIBRARY_DIR=\"$(XWPELIBDIR)\" -DINFO_DIR=\"$(INFODIR)\" -DX_INC=\"$(X_INC)\"@X_CFLAGS@
+ #CFLAGS= @CFLAGS@ @EXTRA_CFLAGS@ @X_CFLAGS@
+
+ #Source Directory:
+@@ -9,13 +9,16 @@
#Destination Directory
- prefix=/usr/local
+ prefix=@prefix@
DESTDIR= $(prefix)/bin
-LIBDIR= $(prefix)/lib
--WPELIBDIR= $(LIBDIR)/wpe
-+LIBSUFX= share
-+LIBDIR= $(prefix)/$(LIBSUFX)
-+WPELIBSUFX= $(LIBSUFX)/wpe
-+WPELIBDIR= $(prefix)/$(WPELIBSUFX)
++LIBDIR= $(prefix)/share
+ XWPELIBDIR= $(LIBDIR)/xwpe
MANDIR= $(prefix)/man
-+INFO_FILE= $(prefix)/info
++INFODIR= $(prefix)/info
- LIBS=@LIBS@
+ LIBS=@X_LIBS@ @X_PRE_LIBS@ @LIBS@ @X_EXTRA_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)
+ INSTALL= cp
++
++X_INC= @X_INC@
+ # In case configure fails a description of many of the compilation options
+ # are provided below so that administrators can determine the proper flags.
diff --git a/devel/xwpe/files/patch-05 b/devel/xwpe/files/patch-05
index a9fb369e9d4c..2c0ab6518952 100644
--- a/devel/xwpe/files/patch-05
+++ b/devel/xwpe/files/patch-05
@@ -1,24 +1,29 @@
---- 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 @@
+--- we_prog.c.orig Wed May 6 11:03:14 1998
++++ we_prog.c Fri May 8 10:09:49 1998
+@@ -15,6 +15,9 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>
-+#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__))
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#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");
+ int e_run_sh(FENSTER *f);
+ int e_make_library(char *library, char *ofile, FENSTER *f);
+@@ -944,7 +947,15 @@
+ 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:/usr/include/X11");
++ "/usr/include:/usr/5include"
++#endif
++#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/devel/xwpe/files/patch-08 b/devel/xwpe/files/patch-08
new file mode 100644
index 000000000000..962ab424a4f6
--- /dev/null
+++ b/devel/xwpe/files/patch-08
@@ -0,0 +1,119 @@
+--- configure.orig Wed May 6 11:03:15 1998
++++ configure Fri May 8 10:28:36 1998
+@@ -1374,63 +1374,63 @@
+ set dummy lpr; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:1377: checking for $ac_word" >&5
+-if eval "test \"`echo '$''{'ac_cv_prog_PRINTER'+set}'`\" = set"; then
++if eval "test \"`echo '$''{'ac_cv_prog_PNTR'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+- if test -n "$PRINTER"; then
+- ac_cv_prog_PRINTER="$PRINTER" # Let the user override the test.
++ if test -n "$PNTR"; then
++ ac_cv_prog_PNTR="$PNTR" # Let the user override the test.
+ else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+- ac_cv_prog_PRINTER="lpr"
++ ac_cv_prog_PNTR="lpr"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ fi
+ fi
+-PRINTER="$ac_cv_prog_PRINTER"
+-if test -n "$PRINTER"; then
+- echo "$ac_t""$PRINTER" 1>&6
++PNTR="$ac_cv_prog_PNTR"
++if test -n "$PNTR"; then
++ echo "$ac_t""$PNTR" 1>&6
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
+-if test -z "${PRINTER}"; then
++if test -z "${PNTR}"; then
+ # Extract the first word of "lp", so it can be a program name with args.
+ set dummy lp; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:1406: checking for $ac_word" >&5
+-if eval "test \"`echo '$''{'ac_cv_prog_PRINTER'+set}'`\" = set"; then
++if eval "test \"`echo '$''{'ac_cv_prog_PNTR'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+- if test -n "$PRINTER"; then
+- ac_cv_prog_PRINTER="$PRINTER" # Let the user override the test.
++ if test -n "$PNTR"; then
++ ac_cv_prog_PNTR="$PNTR" # Let the user override the test.
+ else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+- ac_cv_prog_PRINTER="lp"
++ ac_cv_prog_PNTR="lp"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ fi
+ fi
+-PRINTER="$ac_cv_prog_PRINTER"
+-if test -n "$PRINTER"; then
+- echo "$ac_t""$PRINTER" 1>&6
++PNTR="$ac_cv_prog_PNTR"
++if test -n "$PNTR"; then
++ echo "$ac_t""$PNTR" 1>&6
+ else
+ echo "$ac_t""no" 1>&6
+ fi
+
+ fi
+-if test -n "${PRINTER}"; then
++if test -n "${PNTR}"; then
+ cat >> confdefs.h <<EOF
+-#define PRNTCMD "$PRINTER"
++#define PRNTCMD "lpr"
+ EOF
+
+ else
+@@ -1559,6 +1559,8 @@
+ \
+ /usr/openwin/include \
+ /usr/openwin/share/include \
++ /usr/dt/include \
++ /usr/dt/share/include \
+ ; \
+ do
+ if test -r "$ac_dir/$x_direct_test_include"; then
+@@ -1680,10 +1682,14 @@
+ #define X_DISPLAY_MISSING 1
+ EOF
+
+- X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
++ X_INC= X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
+ else
+ if test -n "$x_includes"; then
+ X_CFLAGS="$X_CFLAGS -I$x_includes"
++ if [ X"$X_INC" != X ]; then
++ X_INC="${X_INC}:"
++ fi
++ X_INC="${X_INC}$x_includes"
+ fi
+
+ # It would also be nice to do this for all -L options, not just this one.
+@@ -2454,8 +2460,9 @@
+ s%@CPP@%$CPP%g
+ s%@RANLIB@%$RANLIB%g
+ s%@XDB@%$XDB%g
+-s%@PRINTER@%$PRINTER%g
++s%@PNTR@%$PNTR%g
+ s%@X_CFLAGS@%$X_CFLAGS%g
++s%@X_INC@%$X_INC%g
+ s%@X_PRE_LIBS@%$X_PRE_LIBS%g
+ s%@X_LIBS@%$X_LIBS%g
+ s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
diff --git a/devel/xwpe/files/patch-09 b/devel/xwpe/files/patch-09
new file mode 100644
index 000000000000..7326044f4c9e
--- /dev/null
+++ b/devel/xwpe/files/patch-09
@@ -0,0 +1,28 @@
+--- we_fl_unix.c.orig Wed May 6 11:03:13 1998
++++ we_fl_unix.c Fri May 8 10:25:34 1998
+@@ -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);
+ int e_s_sys_ini(void);
+ int e_s_sys_end(void);
+@@ -1929,7 +1933,13 @@
+ dout->name = NULL;
+ manpath[0] = '\0';
+ if (getenv("MANPATH")) strcpy(manpath, getenv("MANPATH"));
+- if (manpath[0] == '\0') strcpy(manpath, "/usr/man:/usr/local/man");
++ if (manpath[0] == '\0') 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++);