summaryrefslogtreecommitdiff
path: root/net/freewais-sf/patches
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-03-09 11:24:04 +0000
committerseb <seb@pkgsrc.org>2004-03-09 11:24:04 +0000
commitd8bd1f03e4bb45af23992e56786289310a5dc61a (patch)
tree28d1ad724563bf4922c3e5d90b6ad88743de8fc1 /net/freewais-sf/patches
parent4278025d5d22d7abe97bd87586842f819c44155d (diff)
downloadpkgsrc-d8bd1f03e4bb45af23992e56786289310a5dc61a.tar.gz
Fix build with gcc3 and libtool 1.5.
Fix installation directory of elisp file. Sort PLIST and remove info files entries. Bump PKGREVISION.
Diffstat (limited to 'net/freewais-sf/patches')
-rw-r--r--net/freewais-sf/patches/patch-ad6
-rw-r--r--net/freewais-sf/patches/patch-ae4
-rw-r--r--net/freewais-sf/patches/patch-af4
-rw-r--r--net/freewais-sf/patches/patch-ag4
-rw-r--r--net/freewais-sf/patches/patch-ah4
-rw-r--r--net/freewais-sf/patches/patch-ai4
-rw-r--r--net/freewais-sf/patches/patch-aj4
-rw-r--r--net/freewais-sf/patches/patch-ak40
-rw-r--r--net/freewais-sf/patches/patch-ay15
-rw-r--r--net/freewais-sf/patches/patch-az15
-rw-r--r--net/freewais-sf/patches/patch-ba25
11 files changed, 100 insertions, 25 deletions
diff --git a/net/freewais-sf/patches/patch-ad b/net/freewais-sf/patches/patch-ad
index 330c7f9ce7a..2a14a9980ce 100644
--- a/net/freewais-sf/patches/patch-ad
+++ b/net/freewais-sf/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-ad,v 1.2 2004/03/09 11:24:04 seb Exp $
--- lib/Makefile.SH.orig Fri Apr 16 11:59:24 1999
+++ lib/Makefile.SH Sun May 9 23:54:32 1999
@@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
AR = ar rc
-CC = $cc
-+CC = \$(LIBTOOL) $cc
++CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
CTAGS = ctags
MAKE = make
MKDEP = $mkdep \$(DPFLAGS) --
@@ -41,7 +41,7 @@ $NetBSD: patch-ad,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
$(RM) $@
- $(AR) $@ $(ALLOBJ)
- $(RANLIB) $@
-+ ${LIBTOOL} --mode=link cc -o ${.TARGET:.a=.la} ${ALLOBJ:.o=.lo} -rpath ${PREFIX}/lib -version-info `echo $(REV) | tr . :`
++ ${LIBTOOL} --tag=CC --mode=link cc -o ${.TARGET:.a=.la} ${ALLOBJ:.o=.lo} -rpath ${PREFIX}/lib -version-info `echo $(REV) | tr . :`
-install:: libwais.a
- $(INSTALL) -c -m 644 libwais.a $(PRIVLIB)
diff --git a/net/freewais-sf/patches/patch-ae b/net/freewais-sf/patches/patch-ae
index d20ea23c2f1..a2f720c42be 100644
--- a/net/freewais-sf/patches/patch-ae
+++ b/net/freewais-sf/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-ae,v 1.2 2004/03/09 11:24:04 seb Exp $
--- lib/ctype/Makefile.SH.orig Fri Apr 16 11:59:24 1999
+++ lib/ctype/Makefile.SH Sun May 9 01:35:19 1999
@@ -7,7 +7,7 @@ $NetBSD: patch-ae,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
# Parameters set by Configure -- edit config.sh if changes are needed
-CC = $cc
-+CC = \$(LIBTOOL) $cc
++CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
CTAGS = ctags
JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
diff --git a/net/freewais-sf/patches/patch-af b/net/freewais-sf/patches/patch-af
index d20a61a0405..e0854a85531 100644
--- a/net/freewais-sf/patches/patch-af
+++ b/net/freewais-sf/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-af,v 1.2 2004/03/09 11:24:04 seb Exp $
--- lib/ftw/Makefile.SH.orig Fri Apr 16 11:59:25 1999
+++ lib/ftw/Makefile.SH Sun May 9 22:49:20 1999
@@ -7,7 +7,7 @@ $NetBSD: patch-af,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
# Parameters set by Configure -- edit config.sh if changes are needed
-CC = $cc
-+CC = \$(LIBTOOL) $cc
++CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
CTAGS = ctags
JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
diff --git a/net/freewais-sf/patches/patch-ag b/net/freewais-sf/patches/patch-ag
index ba6241c43cd..f3d9d788596 100644
--- a/net/freewais-sf/patches/patch-ag
+++ b/net/freewais-sf/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-ag,v 1.2 2004/03/09 11:24:04 seb Exp $
--- lib/ir/Makefile.SH.orig Fri Apr 16 11:59:27 1999
+++ lib/ir/Makefile.SH Sun May 9 01:36:08 1999
@@ -7,7 +7,7 @@ $NetBSD: patch-ag,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
# Parameters set by Configure -- edit config.sh if changes are needed
-CC = $cc
-+CC = \$(LIBTOOL) $cc
++CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
CP = $cp
CTAGS = ctags
JLFLAGS = \$(LFLAGS)
diff --git a/net/freewais-sf/patches/patch-ah b/net/freewais-sf/patches/patch-ah
index bc0ea317fa3..a92904d8546 100644
--- a/net/freewais-sf/patches/patch-ah
+++ b/net/freewais-sf/patches/patch-ah
@@ -1,4 +1,4 @@
-$NetBSD: patch-ah,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-ah,v 1.2 2004/03/09 11:24:04 seb Exp $
--- lib/regexp/Makefile.SH.orig Fri Apr 16 11:59:43 1999
+++ lib/regexp/Makefile.SH Tue May 11 00:26:40 1999
@@ -7,7 +7,7 @@ $NetBSD: patch-ah,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
# Parameters set by Configure -- edit config.sh if changes are needed
-CC = $cc
-+CC = \$(LIBTOOL) $cc
++CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
CTAGS = ctags
JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
diff --git a/net/freewais-sf/patches/patch-ai b/net/freewais-sf/patches/patch-ai
index 25b179e67f1..f1ecae1dde9 100644
--- a/net/freewais-sf/patches/patch-ai
+++ b/net/freewais-sf/patches/patch-ai
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-ai,v 1.2 2004/03/09 11:24:04 seb Exp $
--- indexer/Makefile.SH.orig Fri Apr 16 11:59:23 1999
+++ indexer/Makefile.SH Sun May 9 23:14:01 1999
@@ -16,7 +16,7 @@ $NetBSD: patch-ai,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
$(RM) $@
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
- $(CC) -o $@ waisindex.o $(JLDFLAGS) $(LIBS)
-+ $(LIBTOOL) --mode=link $(CC) -o $@ waisindex.o $(JLDFLAGS) $(LIBS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ waisindex.o $(JLDFLAGS) $(LIBS)
install:: waisindex
- $(INSTALL) -c -s -m 555 waisindex $(BIN_EXP)
diff --git a/net/freewais-sf/patches/patch-aj b/net/freewais-sf/patches/patch-aj
index 9acfd4043ae..8f51a4ed5ed 100644
--- a/net/freewais-sf/patches/patch-aj
+++ b/net/freewais-sf/patches/patch-aj
@@ -1,4 +1,4 @@
-$NetBSD: patch-aj,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-aj,v 1.2 2004/03/09 11:24:04 seb Exp $
--- server/Makefile.SH.orig Fri Apr 16 11:59:45 1999
+++ server/Makefile.SH Sun May 9 23:16:33 1999
@@ -16,7 +16,7 @@ $NetBSD: patch-aj,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
$(RM) $@
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
- $(CC) -o $@ waisserver.o $(JLDFLAGS) $(LIBS)
-+ $(LIBTOOL) --mode=link $(CC) -o $@ waisserver.o $(JLDFLAGS) $(LIBS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ waisserver.o $(JLDFLAGS) $(LIBS)
install:: waisserver
- $(INSTALL) -c -s -m 555 waisserver $(BIN_EXP)
diff --git a/net/freewais-sf/patches/patch-ak b/net/freewais-sf/patches/patch-ak
index 871b72500e7..b81d5e6b979 100644
--- a/net/freewais-sf/patches/patch-ak
+++ b/net/freewais-sf/patches/patch-ak
@@ -1,8 +1,8 @@
-$NetBSD: patch-ak,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
+$NetBSD: patch-ak,v 1.2 2004/03/09 11:24:04 seb Exp $
---- ui/Makefile.SH.orig Fri Apr 16 11:59:47 1999
-+++ ui/Makefile.SH Sun May 9 23:17:38 1999
-@@ -57,7 +57,7 @@
+--- ui/Makefile.SH.orig 1999-04-16 09:59:47.000000000 +0000
++++ ui/Makefile.SH
+@@ -57,7 +57,7 @@ SED = $sed
CFLAGS = $ccflags $optimize -I\$(TOP)/lib/ir $mccflags $embed_cflags
DPFLAGS = -I\$(TOP)/lib/ir $mccflags $embed_cflags
@@ -11,12 +11,12 @@ $NetBSD: patch-ak,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
BIN_EXP = $installbin
PRIVLIB = $installprivlib
USRINC = $usrinc
-@@ -112,10 +112,10 @@
+@@ -112,10 +112,10 @@ local_realclean::
waissearch: waissearch.o $(OBJ1)
$(RM) $@
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
- $(CC) -o $@ waissearch.o $(OBJ1) $(JLDFLAGS) $(LIBS)
-+ $(LIBTOOL) --mode=link $(CC) -o $@ waissearch.o $(OBJ1) $(JLDFLAGS) $(LIBS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ waissearch.o $(OBJ1) $(JLDFLAGS) $(LIBS)
install:: waissearch
- $(INSTALL) -c -s -m 555 waissearch $(BIN_EXP)
@@ -24,12 +24,12 @@ $NetBSD: patch-ak,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
deinstall::
$(RM) $(BIN_EXP)/waissearch
-@@ -128,10 +128,10 @@
+@@ -128,10 +128,10 @@ local_realclean::
waisq: waisq.o $(OBJS)
$(RM) $@
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
- $(CC) -o $@ waisq.o $(OBJS) $(JLDFLAGS) $(LIBS)
-+ $(LIBTOOL) --mode=link $(CC) -o $@ waisq.o $(OBJS) $(JLDFLAGS) $(LIBS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ waisq.o $(OBJS) $(JLDFLAGS) $(LIBS)
install:: waisq
- $(INSTALL) -c -s -m 555 waisq $(BIN_EXP)
@@ -37,12 +37,12 @@ $NetBSD: patch-ak,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
deinstall::
$(RM) $(BIN_EXP)/waisq
-@@ -144,10 +144,10 @@
+@@ -144,10 +144,10 @@ local_realclean::
swais: swais.o $(OBJS)
$(RM) $@
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
- $(CC) -o $@ swais.o $(OBJS) $(JLDFLAGS) $(LIBS)
-+ $(LIBTOOL) --mode=link $(CC) -o $@ swais.o $(OBJS) $(JLDFLAGS) $(LIBS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ swais.o $(OBJS) $(JLDFLAGS) $(LIBS)
install:: swais
- $(INSTALL) -c -s -m 555 swais $(BIN_EXP)
@@ -50,3 +50,23 @@ $NetBSD: patch-ak,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
deinstall::
$(RM) $(BIN_EXP)/swais
+@@ -180,16 +180,13 @@ wais.el: wais.el.raw
+ $(SED) -e 's:INSTALLROOT:"$(BIN_EXP)/":g' < wais.el.raw > wais.el;
+
+ install::
+- @for dir in $(PRIVLIB)/emacs $(PRIVLIB)/emacs/lisp; do \
+- case '${MFLAGS}' in *[i]*) set +e;; esac; \
+- (set -x; test -d $$dir || $(INSTALLDIR) $$dir); \
+- done
++ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/emacs/site-lisp
+
+ install:: wais.el
+- $(INSTALL) -c -m 444 wais.el $(PRIVLIB)/emacs/lisp
++ $(BSD_INSTALL_DATA) wais.el $(PREFIX)/share/emacs/site-lisp
+
+ deinstall::
+- $(RM) $(PRIVLIB)/emacs/lisp/wais.el
++ $(RM) $(PREFIX)/share/emacs/site-lisp/wais.el
+
+ local_realclean::
+ $(RM) wais.el
diff --git a/net/freewais-sf/patches/patch-ay b/net/freewais-sf/patches/patch-ay
new file mode 100644
index 00000000000..ea0469da26a
--- /dev/null
+++ b/net/freewais-sf/patches/patch-ay
@@ -0,0 +1,15 @@
+$NetBSD: patch-ay,v 1.1 2004/03/09 11:24:04 seb Exp $
+
+--- lib/ir/syslog.c.orig 1999-04-16 09:59:37.000000000 +0000
++++ lib/ir/syslog.c
+@@ -104,8 +104,10 @@ syslog(pri, fmt, va_alist)
+
+ #ifdef HAS_SYS_ERRLIST
+ extern int errno;
++#if !(defined(BSD) && BSD >= 199306)
+ extern int sys_nerr;
+ #endif
++#endif
+
+
+ /*
diff --git a/net/freewais-sf/patches/patch-az b/net/freewais-sf/patches/patch-az
new file mode 100644
index 00000000000..211580d5e91
--- /dev/null
+++ b/net/freewais-sf/patches/patch-az
@@ -0,0 +1,15 @@
+$NetBSD: patch-az,v 1.1 2004/03/09 11:24:04 seb Exp $
+
+--- lib/ir/sockets.c.orig 1999-04-16 09:59:35.000000000 +0000
++++ lib/ir/sockets.c
+@@ -71,8 +71,10 @@ close_connection_to_server (file)
+
+ #ifdef HAS_SYS_ERRLIST
+ extern int errno;
++#if !(defined(BSD) && BSD >= 199306)
+ extern int sys_nerr;
+ #endif
++#endif
+
+ char host_name[255], host_address[255];
+
diff --git a/net/freewais-sf/patches/patch-ba b/net/freewais-sf/patches/patch-ba
new file mode 100644
index 00000000000..77ed44602c0
--- /dev/null
+++ b/net/freewais-sf/patches/patch-ba
@@ -0,0 +1,25 @@
+$NetBSD: patch-ba,v 1.1 2004/03/09 11:24:04 seb Exp $
+
+--- server/waisserver.c.orig 1999-04-16 09:59:45.000000000 +0000
++++ server/waisserver.c
+@@ -44,6 +44,9 @@ static char *PRCSid = "$Id: waisserver.c
+ #ifdef I_SYS_SELECT
+ #include <sys/select.h>
+ #endif
++#ifdef I_SYS_PARAM
++#include <sys/param.h>
++#endif
+ #include "cdialect.h"
+ #include "panic.h"
+ #include "ustubs.h"
+@@ -314,8 +317,10 @@ srcfiles(e)
+
+ #ifdef HAS_SYS_ERRLIST
+ extern int errno;
++#if !(defined(BSD) && BSD >= 199306)
+ extern int sys_nerr;
+ #endif
++#endif
+
+ Pid_t pgrp;
+