diff options
author | ats <ats@FreeBSD.org> | 1995-03-19 20:39:56 +0800 |
---|---|---|
committer | ats <ats@FreeBSD.org> | 1995-03-19 20:39:56 +0800 |
commit | 330249a8786de97f05c4d9ef4b8dcd0b533df6ec (patch) | |
tree | 400faa9a84782235978404b08cbaab46a0436beb /net/wais | |
parent | 058c07ebd0443b0381489e77b828c3b9497fb620 (diff) | |
download | freebsd-ports-graphics-330249a8786de97f05c4d9ef4b8dcd0b533df6ec.tar.gz freebsd-ports-graphics-330249a8786de97f05c4d9ef4b8dcd0b533df6ec.tar.zst freebsd-ports-graphics-330249a8786de97f05c4d9ef4b8dcd0b533df6ec.zip |
Change the Makefile to use gmake instead of make to prevent all the
error messages from make.
Delete the references to sys_errlist.
This port is not yet complete, it may only work with X11R5, aka XFree2.xx.
It uses the font member in the X-window xxsinkxxx structures. But these
members don't exist anymore under X11R6 (Xfree3.xx).
Diffstat (limited to 'net/wais')
-rw-r--r-- | net/wais/files/patch-aa | 67 | ||||
-rw-r--r-- | net/wais/files/patch-ab | 57 |
2 files changed, 92 insertions, 32 deletions
diff --git a/net/wais/files/patch-aa b/net/wais/files/patch-aa index ea8913ccca9..9abfe3d4cfa 100644 --- a/net/wais/files/patch-aa +++ b/net/wais/files/patch-aa @@ -1,33 +1,3 @@ -*** Makefile Tue Mar 15 19:30:00 1994 ---- Makefile Fri Sep 16 21:56:22 1994 -*************** -*** 118,124 **** - # Use this version of CFLAGS for Linux with gcc - # CFLAGS = -O2 -ansi -m486 -fwritable-strings -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB -DLINUX - -! CFLAGS = -ansi -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB - - # Solaris should use - #LIB = -ltcpip -lsocket -lnsl ---- 118,124 ---- - # Use this version of CFLAGS for Linux with gcc - # CFLAGS = -O2 -ansi -m486 -fwritable-strings -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB -DLINUX - -! CFLAGS = -ansi -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB -D__bsdi__ - - # Solaris should use - #LIB = -ltcpip -lsocket -lnsl -*************** -*** 135,140 **** ---- 135,142 ---- - - MAKE = make $(MFLAGS) - -+ all: default -+ - #default: config.h lib ir ui bin doc x tags - default: config.h lib ir ui bin x check - @echo "Welcome to WAIS" *** ir/irtfiles.c Wed Jan 19 16:10:32 1994 --- ir/irtfiles.c Fri Sep 16 23:14:03 1994 *************** @@ -40,3 +10,40 @@ #include "panic.h" #include "irdirent.h" #include "irhash.h" +*** ir/sockets.c.ORIG Sat Jan 29 00:06:01 1994 +--- ir/sockets.c Sat Mar 18 23:34:57 1995 +*************** +*** 77,84 **** + extern int errno; + #endif /* ultrix BSD or Mach */ + +- extern char *sys_errlist[]; +- + + /* XXX + still need: +--- 77,82 ---- +*** ir/waisserver.c.ORIG Thu Mar 3 04:04:51 1994 +--- ir/waisserver.c Sat Mar 18 23:35:49 1995 +*************** +*** 447,453 **** + struct dirent **list; + int naptime = 0; + extern int errno; +- extern char *sys_errlist[]; + extern void filename_finish_header_function(); + dataopsrec dataops; + +--- 447,452 ---- +*** x/myAsciiSrc.c.ORIG Sun Jan 9 06:01:37 1994 +--- x/myAsciiSrc.c Sat Mar 18 23:45:03 1995 +*************** +*** 116,122 **** + static String MyStrncpy(), StorePiecesInString(); + static Boolean SetValues(), WriteToFile(); + extern int errno, sys_nerr; +- extern char* sys_errlist[]; + + #define superclass (&textSrcClassRec) + MyAsciiSrcClassRec myasciiSrcClassRec = { +--- 116,121 ---- diff --git a/net/wais/files/patch-ab b/net/wais/files/patch-ab index 746649f23bf..521e243dc86 100644 --- a/net/wais/files/patch-ab +++ b/net/wais/files/patch-ab @@ -1,5 +1,5 @@ -*** Makefile.old Fri Mar 10 08:16:23 1995 ---- Makefile Fri Mar 10 08:23:05 1995 +*** Makefile.ORIG Tue Mar 15 20:30:00 1994 +--- Makefile Sat Mar 18 23:28:59 1995 *************** *** 15,21 **** # @@ -17,3 +17,56 @@ # Revision 1.4 92/02/13 12:27:53 jonathan # Removed references to seeker. # +*************** +*** 118,124 **** + # Use this version of CFLAGS for Linux with gcc + # CFLAGS = -O2 -ansi -m486 -fwritable-strings -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB -DLINUX + +! CFLAGS = -ansi -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB + + # Solaris should use + #LIB = -ltcpip -lsocket -lnsl +--- 118,124 ---- + # Use this version of CFLAGS for Linux with gcc + # CFLAGS = -O2 -ansi -m486 -fwritable-strings -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB -DLINUX + +! CFLAGS = -ansi -I$(SUPDIR) -DTELL_USER -DUSG -DSECURE_SERVER -DRELEVANCE_FEEDBACK -DBOOLEANS -DPARTIALWORD -DLITERAL -DSOUND -DBIBDB -D__bsdi__ + + # Solaris should use + #LIB = -ltcpip -lsocket -lnsl +*************** +*** 133,139 **** + #Solaris machines don't use -k + MFLAGS = -k + +! MAKE = make $(MFLAGS) + + #default: config.h lib ir ui bin doc x tags + default: config.h lib ir ui bin x check +--- 133,141 ---- + #Solaris machines don't use -k + MFLAGS = -k + +! MAKE = gmake $(MFLAGS) +! +! all: default + + #default: config.h lib ir ui bin doc x tags + default: config.h lib ir ui bin x check +*************** +*** 169,175 **** + # you may have to edit the CFLAGS in the Makefile yourself. + + x:: +! cd x; xmkmf; make depend; make + # cd x; (env TOP=$(TOP) CC=$(CC) CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" ./makex.sh) + + bin:: +--- 171,177 ---- + # you may have to edit the CFLAGS in the Makefile yourself. + + x:: +! cd x; xmkmf; ${MAKE} depend; ${MAKE} + # cd x; (env TOP=$(TOP) CC=$(CC) CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" ./makex.sh) + + bin:: |