Remove freewais-sf. This project has been dead for ~10 years.
This commit is contained in:
parent
ab2b67699e
commit
fae4056ca0
34 changed files with 1 additions and 777 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.934 2012/10/02 22:41:09 pettai Exp $
|
# $NetBSD: Makefile,v 1.935 2012/10/07 16:34:40 bad Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
COMMENT= Networking tools
|
COMMENT= Networking tools
|
||||||
|
@ -137,7 +137,6 @@ SUBDIR+= freeDiameter
|
||||||
SUBDIR+= freenet-tools
|
SUBDIR+= freenet-tools
|
||||||
SUBDIR+= freeradius
|
SUBDIR+= freeradius
|
||||||
SUBDIR+= freeradius2
|
SUBDIR+= freeradius2
|
||||||
SUBDIR+= freewais-sf
|
|
||||||
SUBDIR+= ftplibpp
|
SUBDIR+= ftplibpp
|
||||||
SUBDIR+= ftpproxy
|
SUBDIR+= ftpproxy
|
||||||
SUBDIR+= gated
|
SUBDIR+= gated
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
FreeWAIS-sf is an extension of the freeWAIS software provided by the
|
|
||||||
Clearinghouse for Networked Information Discovery and Retrieval (CNIDR).
|
|
||||||
The SF suffix in the software name stands for "structured fields," an
|
|
||||||
indexing and search feature which distinguishes this software from its
|
|
||||||
predecessors.
|
|
|
@ -1,44 +0,0 @@
|
||||||
# $NetBSD: Makefile,v 1.33 2012/10/03 21:56:54 wiz Exp $
|
|
||||||
#
|
|
||||||
|
|
||||||
DISTNAME= freeWAIS-sf-2.2.12
|
|
||||||
PKGNAME= freewais-sf-2.2.12
|
|
||||||
PKGREVISION= 7
|
|
||||||
CATEGORIES= net databases
|
|
||||||
MASTER_SITES= ftp://ftp.informatik.uni-hamburg.de/pub/soft/infosystems/wais/freeWAIS/
|
|
||||||
|
|
||||||
MAINTAINER= bad@NetBSD.org
|
|
||||||
HOMEPAGE= http://www.is.informatik.uni-duisburg.de/projects/freeWAIS-sf/
|
|
||||||
COMMENT= Enhanced Wide Area Information Server
|
|
||||||
|
|
||||||
NOT_FOR_PLATFORM= Darwin-*-*
|
|
||||||
|
|
||||||
PKG_DESTDIR_SUPPORT= user-destdir
|
|
||||||
|
|
||||||
USE_LIBTOOL= yes
|
|
||||||
USE_TOOLS+= makeinfo gzcat:run gzip:run perl:run
|
|
||||||
|
|
||||||
HAS_CONFIGURE= yes
|
|
||||||
CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
|
|
||||||
CONFIGURE_SCRIPT= ./Configure
|
|
||||||
CONFIGURE_ARGS+= -sde -Dprefix=${DESTDIR}${PREFIX:Q} \
|
|
||||||
-Darchname=${MACHINE_ARCH}-${LOWER_OPSYS} \
|
|
||||||
-Dmansrc=${DESTDIR}${PREFIX:Q}/${PKGMANDIR:Q}/man1 \
|
|
||||||
-Dgzip=${TOOLS_PATH.gzip:Q} \
|
|
||||||
-Dzcat=${TOOLS_PATH.gzcat:Q}
|
|
||||||
CONFIGURE_ENV+= PERL5=${PERL5:Q}
|
|
||||||
INSTALL_TARGET= install install.man
|
|
||||||
INFO_FILES= # PLIST
|
|
||||||
|
|
||||||
INSTALLATION_DIRS= bin lib include ${PKGINFODIR} ${PKGMANDIR}/man1
|
|
||||||
|
|
||||||
post-build:
|
|
||||||
cd ${WRKSRC}/doc/SF && makeinfo fwsf.texi
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
cd ${WRKSRC}/doc/SF; for f in fwsf.info fwsf.info-[0-9]*; do \
|
|
||||||
${TEST} ! -f "$$f" || \
|
|
||||||
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
|
|
||||||
done
|
|
||||||
|
|
||||||
.include "../../mk/bsd.pkg.mk"
|
|
|
@ -1,33 +0,0 @@
|
||||||
@comment $NetBSD: PLIST,v 1.7 2007/02/20 19:04:15 wiz Exp $
|
|
||||||
bin/catalog
|
|
||||||
bin/check-sources
|
|
||||||
bin/dictionary
|
|
||||||
bin/getaddrs
|
|
||||||
bin/inverted_file
|
|
||||||
bin/makedb
|
|
||||||
bin/mkfmt
|
|
||||||
bin/server_stats
|
|
||||||
bin/stats.awk
|
|
||||||
bin/swais
|
|
||||||
bin/waisindex
|
|
||||||
bin/waisping
|
|
||||||
bin/waisq
|
|
||||||
bin/waisretrieve
|
|
||||||
bin/waissearch
|
|
||||||
bin/waisserver
|
|
||||||
bin/ws
|
|
||||||
include/wais.h
|
|
||||||
info/fwsf.info
|
|
||||||
lib/libwais.la
|
|
||||||
man/man1/catalog.1
|
|
||||||
man/man1/dictionary.1
|
|
||||||
man/man1/inverted_file.1
|
|
||||||
man/man1/makedb.1
|
|
||||||
man/man1/mkfmt.1
|
|
||||||
man/man1/waisindex.1
|
|
||||||
man/man1/waisq.1
|
|
||||||
man/man1/waissearch.1
|
|
||||||
man/man1/waisserver.1
|
|
||||||
man/man1/xwais.1
|
|
||||||
man/man1/xwaisq.1
|
|
||||||
share/emacs/site-lisp/wais.el
|
|
|
@ -1,13 +0,0 @@
|
||||||
# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:25:08 joerg Exp $
|
|
||||||
|
|
||||||
BUILDLINK_TREE+= freewais-sf
|
|
||||||
|
|
||||||
.if !defined(FREEWAIS_SF_BUILDLINK3_MK)
|
|
||||||
FREEWAIS_SF_BUILDLINK3_MK:=
|
|
||||||
|
|
||||||
BUILDLINK_API_DEPENDS.freewais-sf+= freewais-sf>=2.2.12
|
|
||||||
BUILDLINK_ABI_DEPENDS.freewais-sf+= freewais-sf>=2.2.12nb2
|
|
||||||
BUILDLINK_PKGSRCDIR.freewais-sf?= ../../net/freewais-sf
|
|
||||||
.endif # FREEWAIS_SF_BUILDLINK3_MK
|
|
||||||
|
|
||||||
BUILDLINK_TREE+= -freewais-sf
|
|
|
@ -1,33 +0,0 @@
|
||||||
$NetBSD: distinfo,v 1.9 2011/05/21 05:56:08 obache Exp $
|
|
||||||
|
|
||||||
SHA1 (freeWAIS-sf-2.2.12.tar.gz) = a18ec82b773e0114c3c2b15aa3fbeadc21b2cd47
|
|
||||||
RMD160 (freeWAIS-sf-2.2.12.tar.gz) = 3b25c10f0cb62d69ce7001affe53c18bfaf9cede
|
|
||||||
Size (freeWAIS-sf-2.2.12.tar.gz) = 1002974 bytes
|
|
||||||
SHA1 (patch-aa) = 6368ee37ad5b7d3de487f72b2bffc5816c5f52ad
|
|
||||||
SHA1 (patch-ab) = e1e59cf668abe1ff7ec4c951ac50e38ceffaa0dd
|
|
||||||
SHA1 (patch-ac) = 65736e07c191638cab4975f3cea398850e5158e9
|
|
||||||
SHA1 (patch-ad) = 6302c42f5c0a0119e694fd0594dd5b24c77c2bc4
|
|
||||||
SHA1 (patch-ae) = f7321c900f520be4e0327f9425071513269202b7
|
|
||||||
SHA1 (patch-af) = 9ddf23275a94f04745fd88fe4d800ae1e67404e4
|
|
||||||
SHA1 (patch-ag) = 193641650a89d5f812271a410b60045198d9fe2f
|
|
||||||
SHA1 (patch-ah) = 7e43f96b5c4a48b520e0c2e298daff0f144de9e6
|
|
||||||
SHA1 (patch-ai) = eb6665a84950404b4afebbcb0885ec2e6916ea43
|
|
||||||
SHA1 (patch-aj) = 0df7a3712e0cde44887c6630bc362d5a3fa54381
|
|
||||||
SHA1 (patch-ak) = d6170775a677dba1fca88f89716c38abb3d58dc4
|
|
||||||
SHA1 (patch-al) = 6b0e5274da7b04a81a90bd2fababaab5a245d1b3
|
|
||||||
SHA1 (patch-am) = 2a96b165e934df5d19e84ba7e1dfe77c6d0d1a1c
|
|
||||||
SHA1 (patch-an) = 07b2928ecdb09a56009a0be2b0ab852f94aac412
|
|
||||||
SHA1 (patch-ao) = d1f6e8f75831ff534008a5d1c812c991e8fdb8e0
|
|
||||||
SHA1 (patch-ap) = 7c254ad2a3e97ac95a168b8745b97390f562d596
|
|
||||||
SHA1 (patch-aq) = 41ecd67b8daba7dda4e6d20c1a728277a8d3bbf5
|
|
||||||
SHA1 (patch-ar) = 66d24a2dbd028535e74dce08c6d976652dcbf9e3
|
|
||||||
SHA1 (patch-as) = 70ee188aa72478f81309851c1e4f45639e080bdb
|
|
||||||
SHA1 (patch-at) = dc5430973de6ad1f058e4a4a6287f878b6259e9c
|
|
||||||
SHA1 (patch-au) = 6a4a52426e0751e097cf272ba6d2390e4b0022f6
|
|
||||||
SHA1 (patch-av) = 4466d5c1c6394a03dc953e8f138b749113664b65
|
|
||||||
SHA1 (patch-aw) = 00f267dd288dfcce627dbbb631cd388eae1a81af
|
|
||||||
SHA1 (patch-ax) = 9934346f7d22c23d0682c316079bb4cdf01d77d7
|
|
||||||
SHA1 (patch-ay) = b699615b0a152136fc6be02c899a2a0d4ea6ced1
|
|
||||||
SHA1 (patch-az) = 7c642dae813030f45cf40da0bd2b4c95d216c161
|
|
||||||
SHA1 (patch-ba) = 9e6143958f35eb2921206e612c749376fb62c3e8
|
|
||||||
SHA1 (patch-bb) = 6b4803f2f6726598e7d008ed474f0feb7b8f59a6
|
|
|
@ -1,69 +0,0 @@
|
||||||
$NetBSD: patch-aa,v 1.4 2006/06/04 13:25:44 joerg Exp $
|
|
||||||
|
|
||||||
--- Configure.orig 1999-04-16 09:59:11.000000000 +0000
|
|
||||||
+++ Configure
|
|
||||||
@@ -1659,6 +1659,9 @@ EOM
|
|
||||||
;;
|
|
||||||
freebsd) osname=freebsd
|
|
||||||
osvers="$3" ;;
|
|
||||||
+ dragonfly)
|
|
||||||
+ osname=dragonfly
|
|
||||||
+ osvers="$3" ;;
|
|
||||||
genix) osname=genix ;;
|
|
||||||
hp*) osname=hpux
|
|
||||||
case "$3" in
|
|
||||||
@@ -1730,7 +1733,7 @@ EOM
|
|
||||||
;;
|
|
||||||
$2) case "$osname" in
|
|
||||||
*isc*) ;;
|
|
||||||
- *freebsd*) ;;
|
|
||||||
+ *freebsd* | dragonfly*) ;;
|
|
||||||
svr*)
|
|
||||||
: svr4.x or possibly later
|
|
||||||
case "svr$3" in
|
|
||||||
@@ -2407,7 +2410,7 @@ case "$mansrc" in
|
|
||||||
esac
|
|
||||||
|
|
||||||
: determine where private executables go
|
|
||||||
-set dflt privlib lib/$package
|
|
||||||
+set dflt privlib lib
|
|
||||||
eval $prefixit
|
|
||||||
$cat <<EOM
|
|
||||||
|
|
||||||
@@ -3777,6 +3780,9 @@ esac
|
|
||||||
: for archive libraries. Thank you, Linux.
|
|
||||||
case "$nm_so_opt" in
|
|
||||||
'') case "$myuname" in
|
|
||||||
+ *dragonfly*)
|
|
||||||
+ nm_so_opt='-D'
|
|
||||||
+ ;;
|
|
||||||
*linux*)
|
|
||||||
if nm --help | $grep 'dynamic' > /dev/null 2>&1; then
|
|
||||||
nm_so_opt='--dynamic'
|
|
||||||
@@ -4673,7 +4679,7 @@ main()
|
|
||||||
}
|
|
||||||
EOCP
|
|
||||||
if $cc $ccflags try.c -o try >/dev/null 2>&1; then
|
|
||||||
- echo "Yes, it works"
|
|
||||||
+ echo "Yes, it works" >&4
|
|
||||||
cont=x
|
|
||||||
case "$d_myregexp" in
|
|
||||||
$define) d_myregexp='n';;
|
|
||||||
@@ -4695,7 +4701,7 @@ if $cc $ccflags try.c -o try >/dev/null
|
|
||||||
done
|
|
||||||
|
|
||||||
else
|
|
||||||
- echo "Nope, does not work"
|
|
||||||
+ echo "Nope, does not work" >&4
|
|
||||||
d_myregexp='n';
|
|
||||||
fi
|
|
||||||
|
|
||||||
@@ -7088,7 +7094,7 @@ osvers='$osvers'
|
|
||||||
package='$package'
|
|
||||||
passcat='$passcat'
|
|
||||||
patchlevel='$patchlevel'
|
|
||||||
-perl='$perl'
|
|
||||||
+perl='$PERL5'
|
|
||||||
pg='$pg'
|
|
||||||
phostname='$phostname'
|
|
||||||
pidtype='$pidtype'
|
|
|
@ -1,16 +0,0 @@
|
||||||
$NetBSD: patch-ab,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- /dev/null Sat Jan 2 03:04:30 1999
|
|
||||||
+++ hints/netbsd.sh Sat Jan 2 03:12:09 1999
|
|
||||||
@@ -0,0 +1,11 @@
|
|
||||||
+locincpth="$PREFIX/include"
|
|
||||||
+libpth="/usr/lib $PREFIX/lib"
|
|
||||||
+man3dir="$PREFIX/man/man3"
|
|
||||||
+privlic="$PREFIX/lib/"
|
|
||||||
+optimize="-O2"
|
|
||||||
+ldflags="-Wl,-R$PREFIX/lib -L$PREFIX/lib"
|
|
||||||
+yacc='yacc'
|
|
||||||
+d_extern_sys_errlist='undef'
|
|
||||||
+d_myctype='undef'
|
|
||||||
+d_embed='undef'
|
|
||||||
+d_getwd='undef'
|
|
|
@ -1,18 +0,0 @@
|
||||||
$NetBSD: patch-ac,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- config_h.SH.orig Fri Apr 16 11:59:16 1999
|
|
||||||
+++ config_h.SH Fri May 7 20:32:34 1999
|
|
||||||
@@ -39,11 +39,11 @@
|
|
||||||
#ifndef _config_h_
|
|
||||||
#define _config_h_
|
|
||||||
|
|
||||||
-/* BSD:
|
|
||||||
+/* SYS_BSD:
|
|
||||||
* This symbol, if defined, indicates that the program is running under
|
|
||||||
* a BSD system.
|
|
||||||
*/
|
|
||||||
-#$d_bsd BSD /**/
|
|
||||||
+#$d_bsd SYS_BSD /**/
|
|
||||||
|
|
||||||
/* BYTEORDER:
|
|
||||||
* This symbol hold the hexadecimal constant defined in byteorder,
|
|
|
@ -1,65 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -39,7 +39,7 @@
|
|
||||||
# Parameters set by Configure -- edit config.sh if changes are needed
|
|
||||||
|
|
||||||
AR = ar rc
|
|
||||||
-CC = $cc
|
|
||||||
+CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
|
|
||||||
CTAGS = ctags
|
|
||||||
MAKE = make
|
|
||||||
MKDEP = $mkdep \$(DPFLAGS) --
|
|
||||||
@@ -58,9 +58,9 @@
|
|
||||||
EMBED = $embed_ldopts
|
|
||||||
CFLAGS = $ccflags $optimize $mccflags
|
|
||||||
SO = $so
|
|
||||||
-REV = $baserev.$patchlevel
|
|
||||||
+REV = $baserev
|
|
||||||
PRIVLIB = $installprivlib
|
|
||||||
-PRIVINC = `echo $installprivlib | sed -e s:/lib/:/include/:`
|
|
||||||
+PRIVINC = `echo $installprivlib | sed -e s:/lib:/include:`
|
|
||||||
USRINC = $usrinc
|
|
||||||
SUBDIRS = \$(SUBDIRS)
|
|
||||||
|
|
||||||
@@ -111,7 +111,7 @@
|
|
||||||
SRCS = cutil.c ustubs.c panic.c futil.c
|
|
||||||
OBJS = cutil.o ustubs.o panic.o futil.o
|
|
||||||
|
|
||||||
-all:: libwais.a wais.h
|
|
||||||
+all:: libwais.la wais.h
|
|
||||||
|
|
||||||
$(CTYPEOBJ) $(REGEXPOBJ) $(FTWOBJS) $(IROBJS): subdirs
|
|
||||||
|
|
||||||
@@ -151,15 +151,14 @@
|
|
||||||
|
|
||||||
ALLOBJ = $(CTYPEOBJ) $(REGEXPOBJ) $(OBJS) $(FTWOBJS) $(IROBJS)
|
|
||||||
|
|
||||||
-libwais.a: $(OBJS) subdirs
|
|
||||||
+libwais.la: $(OBJS) subdirs
|
|
||||||
$(RM) $@
|
|
||||||
- $(AR) $@ $(ALLOBJ)
|
|
||||||
- $(RANLIB) $@
|
|
||||||
+ ${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)
|
|
||||||
- $(RANLIB) $(PRIVLIB)/libwais.a
|
|
||||||
- chmod 444 $(PRIVLIB)/libwais.a
|
|
||||||
+
|
|
||||||
+install::
|
|
||||||
+ $(LIBTOOL) --mode=install $(INSTALL) -c -m 444 libwais.la $(PRIVLIB)
|
|
||||||
+ $(LIBTOOL) --finish $(PRIVLIB)
|
|
||||||
|
|
||||||
deinstall::
|
|
||||||
$(RM) $(PRIVLIB)/libwais.a
|
|
||||||
@@ -188,7 +187,7 @@
|
|
||||||
install:: wais.h
|
|
||||||
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
|
|
||||||
for i in wais.h; do \
|
|
||||||
- (set -x; $(INSTALL) -c -m 664 $$i $(PRIVINC)); \
|
|
||||||
+ (set -x; $(INSTALL) -c -m 444 $$i $(PRIVINC)); \
|
|
||||||
done
|
|
||||||
|
|
||||||
deinstall::
|
|
|
@ -1,13 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
########################################################################
|
|
||||||
# Parameters set by Configure -- edit config.sh if changes are needed
|
|
||||||
|
|
||||||
-CC = $cc
|
|
||||||
+CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
|
|
||||||
CTAGS = ctags
|
|
||||||
JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
|
|
||||||
JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
|
|
|
@ -1,32 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -38,7 +38,7 @@
|
|
||||||
########################################################################
|
|
||||||
# Parameters set by Configure -- edit config.sh if changes are needed
|
|
||||||
|
|
||||||
-CC = $cc
|
|
||||||
+CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
|
|
||||||
CTAGS = ctags
|
|
||||||
JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
|
|
||||||
JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
|
|
||||||
@@ -159,14 +159,14 @@
|
|
||||||
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
|
|
||||||
$(CC) -o $@ scantest.o $(JLDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
-install.man:: ftw.man
|
|
||||||
- $(INSTALL) -c -m 444 ftw.man $(MAN3DIR)/ftw.$(L)
|
|
||||||
+#install.man:: ftw.man
|
|
||||||
+# $(INSTALL) -c -m 444 ftw.man $(MAN3DIR)/ftw.$(L)
|
|
||||||
|
|
||||||
deinstall.man::
|
|
||||||
$(RM) $(MAN3DIR)/ftw.$(L)
|
|
||||||
|
|
||||||
-install.man:: scandir.man
|
|
||||||
- $(INSTALL) -c -m 444 scandir.man $(MAN3DIR)/scandir.$(L)
|
|
||||||
+#install.man:: scandir.man
|
|
||||||
+# $(INSTALL) -c -m 444 scandir.man $(MAN3DIR)/scandir.$(L)
|
|
||||||
|
|
||||||
deinstall.man::
|
|
||||||
$(RM) $(MAN3DIR)/scandir.$(L)
|
|
|
@ -1,13 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
########################################################################
|
|
||||||
# Parameters set by Configure -- edit config.sh if changes are needed
|
|
||||||
|
|
||||||
-CC = $cc
|
|
||||||
+CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
|
|
||||||
CP = $cp
|
|
||||||
CTAGS = ctags
|
|
||||||
JLFLAGS = \$(LFLAGS)
|
|
|
@ -1,24 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -38,7 +38,7 @@
|
|
||||||
########################################################################
|
|
||||||
# Parameters set by Configure -- edit config.sh if changes are needed
|
|
||||||
|
|
||||||
-CC = $cc
|
|
||||||
+CC = \$(LIBTOOL) --tag=CC --mode=compile $cc
|
|
||||||
CTAGS = ctags
|
|
||||||
JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
|
|
||||||
JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
|
|
||||||
@@ -128,8 +128,8 @@
|
|
||||||
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
|
|
||||||
$(CC) -o $@ try.o $(JLDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
-install.man:: regexp.man
|
|
||||||
- $(INSTALL) -c -m 444 regexp.man $(MAN3DIR)/regexp.$(L)
|
|
||||||
+#install.man:: regexp.man
|
|
||||||
+# $(INSTALL) -c -m 444 regexp.man $(MAN3DIR)/regexp.$(L)
|
|
||||||
|
|
||||||
deinstall.man::
|
|
||||||
$(RM) $(MAN3DIR)/regexp.$(L)
|
|
|
@ -1,26 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -56,7 +56,7 @@
|
|
||||||
|
|
||||||
CFLAGS = $ccflags $optimize -I\$(TOP)/lib/ir $mccflags $embed_cflags
|
|
||||||
DPFLAGS = -I\$(TOP)/lib/ir $mccflags $embed_cflags
|
|
||||||
-LDFLAGS = -L\$(TOP)/lib -lwais $socketlib -lm $embed_ldopts
|
|
||||||
+LDFLAGS = ../lib/libwais.la $socketlib -lm $embed_ldopts
|
|
||||||
BIN_EXP = $installbin
|
|
||||||
USRINC = $usrinc
|
|
||||||
OBJECTS = waisindex.o
|
|
||||||
@@ -106,10 +106,10 @@
|
|
||||||
waisindex: waisindex.o
|
|
||||||
$(RM) $@
|
|
||||||
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
|
|
||||||
- $(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)
|
|
||||||
+ $(LIBTOOL) --mode=install $(INSTALL) -c -s -m 555 waisindex $(BIN_EXP)
|
|
||||||
|
|
||||||
deinstall::
|
|
||||||
$(RM) $(BIN_EXP)/waisindex
|
|
|
@ -1,26 +0,0 @@
|
||||||
$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
|
|
||||||
@@ -56,7 +56,7 @@
|
|
||||||
|
|
||||||
CFLAGS = $ccflags $optimize -I\$(TOP)/lib/ir $mccflags $embed_cflags
|
|
||||||
DPFLAGS = -I\$(TOP)/lib/ir $mccflags $embed_cflags
|
|
||||||
-LDFLAGS = -L\$(TOP)/lib -lwais $socketlib -lm $embed_ldopts
|
|
||||||
+LDFLAGS = ../lib/libwais.la $socketlib -lm $embed_ldopts
|
|
||||||
BIN_EXP = $installbin
|
|
||||||
USRINC = $usrinc
|
|
||||||
OBJECTS = waisserver.o
|
|
||||||
@@ -106,10 +106,10 @@
|
|
||||||
waisserver: waisserver.o
|
|
||||||
$(RM) $@
|
|
||||||
if test -f $@; then $(MV) $@ $@~; else exit 0; fi
|
|
||||||
- $(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)
|
|
||||||
+ $(LIBTOOL) --mode=install $(INSTALL) -c -s -m 555 waisserver $(BIN_EXP)
|
|
||||||
|
|
||||||
deinstall::
|
|
||||||
$(RM) $(BIN_EXP)/waisserver
|
|
|
@ -1,72 +0,0 @@
|
||||||
$NetBSD: patch-ak,v 1.3 2011/05/21 05:56:08 obache Exp $
|
|
||||||
|
|
||||||
--- 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
|
|
||||||
-LDFLAGS = -L\$(TOP)/lib -lwais $socketlib -lm $embed_ldopts
|
|
||||||
+LDFLAGS = ../lib/libwais.la $socketlib -lm $embed_ldopts
|
|
||||||
BIN_EXP = $installbin
|
|
||||||
PRIVLIB = $installprivlib
|
|
||||||
USRINC = $usrinc
|
|
||||||
@@ -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) --tag=CC --mode=link $(CC) -o $@ waissearch.o $(OBJ1) $(JLDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
install:: waissearch
|
|
||||||
- $(INSTALL) -c -s -m 555 waissearch $(BIN_EXP)
|
|
||||||
+ $(LIBTOOL) --mode=install $(INSTALL) -c -s -m 555 waissearch $(BIN_EXP)
|
|
||||||
|
|
||||||
deinstall::
|
|
||||||
$(RM) $(BIN_EXP)/waissearch
|
|
||||||
@@ -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) --tag=CC --mode=link $(CC) -o $@ waisq.o $(OBJS) $(JLDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
install:: waisq
|
|
||||||
- $(INSTALL) -c -s -m 555 waisq $(BIN_EXP)
|
|
||||||
+ $(LIBTOOL) --mode=install $(INSTALL) -c -s -m 555 waisq $(BIN_EXP)
|
|
||||||
|
|
||||||
deinstall::
|
|
||||||
$(RM) $(BIN_EXP)/waisq
|
|
||||||
@@ -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) --tag=CC --mode=link $(CC) -o $@ swais.o $(OBJS) $(JLDFLAGS) $(LIBS)
|
|
||||||
|
|
||||||
install:: swais
|
|
||||||
- $(INSTALL) -c -s -m 555 swais $(BIN_EXP)
|
|
||||||
+ $(LIBTOOL) --mode=install $(INSTALL) -c -s -m 555 swais $(BIN_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) $(DESTDIR)$(PREFIX)/share/emacs/site-lisp
|
|
||||||
|
|
||||||
install:: wais.el
|
|
||||||
- $(INSTALL) -c -m 444 wais.el $(PRIVLIB)/emacs/lisp
|
|
||||||
+ $(BSD_INSTALL_DATA) wais.el $(DESTDIR)$(PREFIX)/share/emacs/site-lisp
|
|
||||||
|
|
||||||
deinstall::
|
|
||||||
- $(RM) $(PRIVLIB)/emacs/lisp/wais.el
|
|
||||||
+ $(RM) $(DESTDIR)$(PREFIX)/share/emacs/site-lisp/wais.el
|
|
||||||
|
|
||||||
local_realclean::
|
|
||||||
$(RM) wais.el
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-al,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- bin/Makefile.SH.orig Fri Apr 16 11:59:12 1999
|
|
||||||
+++ bin/Makefile.SH Sun May 9 22:46:53 1999
|
|
||||||
@@ -54,7 +54,7 @@
|
|
||||||
# Automatically generated parameters -- do not edit
|
|
||||||
|
|
||||||
USRINC = $usrinc
|
|
||||||
-SCRIPTS = check-sources getaddrs server_stats stats.awk wais-gif-display wais-html-display wais-jfif-display wais-jpeg-display wais-pict-display wais-ppm-display wais-tiff-display waisretrieve ws makedb catalog dictionary inverted_file mkfmt
|
|
||||||
+SCRIPTS = check-sources getaddrs server_stats stats.awk waisretrieve ws makedb catalog dictionary inverted_file mkfmt
|
|
||||||
|
|
||||||
!GROK!THIS!
|
|
||||||
$spitshell >>Makefile <<'!NO!SUBS!'
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-am,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- lib/mkinc.SH.orig Fri Apr 16 11:59:42 1999
|
|
||||||
+++ lib/mkinc.SH Fri May 7 20:50:39 1999
|
|
||||||
@@ -54,6 +54,8 @@
|
|
||||||
if ($ARGV[0] =~ s/^-I//) {
|
|
||||||
push @opt_I, $ARGV[0];
|
|
||||||
shift;
|
|
||||||
+ } elsif ($ARGV[0] =~ m/^-O/) {
|
|
||||||
+ shift;
|
|
||||||
} else {
|
|
||||||
warn "$0: Unknown option $ARGV[0]\n";
|
|
||||||
shift;
|
|
|
@ -1,16 +0,0 @@
|
||||||
$NetBSD: patch-an,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- lib/futil.c.orig Fri Apr 16 11:59:27 1999
|
|
||||||
+++ lib/futil.c Fri May 7 20:30:52 1999
|
|
||||||
@@ -53,9 +53,9 @@
|
|
||||||
FILE* file = NULL;
|
|
||||||
char realMode[100];
|
|
||||||
|
|
||||||
-#ifdef BSD
|
|
||||||
+#ifdef SYS_BSD
|
|
||||||
#define implicitBinary
|
|
||||||
-#endif /* def BSD */
|
|
||||||
+#endif /* def SYS_BSD */
|
|
||||||
#ifdef ultrix
|
|
||||||
#define implicitBinary
|
|
||||||
#endif /* def ultrix */
|
|
|
@ -1,19 +0,0 @@
|
||||||
$NetBSD: patch-ao,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- lib/ir/zutil.h.orig Fri Apr 16 11:59:42 1999
|
|
||||||
+++ lib/ir/zutil.h Fri May 7 20:31:49 1999
|
|
||||||
@@ -139,11 +139,11 @@
|
|
||||||
#define PS_NONE 5 /* can't use NONE since it was used by result
|
|
||||||
set status */
|
|
||||||
|
|
||||||
-#ifndef BSD
|
|
||||||
+#ifndef SYS_BSD
|
|
||||||
#define DIAGNOSTIC_CODE_SIZE (size_t)3
|
|
||||||
-#else /* BSD only on a encore/gould */
|
|
||||||
+#else /* SYS_BSD only on a encore/gould */
|
|
||||||
#define DIAGNOSTIC_CODE_SIZE 3
|
|
||||||
-#endif /* BSD */
|
|
||||||
+#endif /* SYS_BSD */
|
|
||||||
|
|
||||||
typedef struct diagnosticRecord
|
|
||||||
{ boolean SURROGATE;
|
|
|
@ -1,16 +0,0 @@
|
||||||
$NetBSD: patch-ap,v 1.2 1999/05/11 20:22:26 bad Exp $
|
|
||||||
|
|
||||||
--- lib/ir/irretrvl.c.orig Fri Apr 16 11:59:32 1999
|
|
||||||
+++ lib/ir/irretrvl.c Sun May 9 23:40:41 1999
|
|
||||||
@@ -297,7 +297,11 @@
|
|
||||||
|
|
||||||
if (doc->ChunkCode == CT_byte) {
|
|
||||||
startByte = doc->ChunkStart.Pos + start;
|
|
||||||
+#ifdef __origcode
|
|
||||||
endByte = doc->ChunkEnd.Pos + start;
|
|
||||||
+#else
|
|
||||||
+ endByte = doc->ChunkStart.Pos + end;
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
startByte = start;
|
|
|
@ -1,20 +0,0 @@
|
||||||
$NetBSD: patch-aq,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $
|
|
||||||
|
|
||||||
--- doc/SF/fwsf.texi Fri Apr 16 11:59:19 1999
|
|
||||||
+++ doc/SF/fwsf.texi Mon May 10 00:21:47 1999
|
|
||||||
@@ -101,6 +101,15 @@
|
|
||||||
@ifinfo
|
|
||||||
@paragraphindent 0
|
|
||||||
@end ifinfo
|
|
||||||
+
|
|
||||||
+@ifinfo
|
|
||||||
+@format
|
|
||||||
+START-INFO-DIR-ENTRY
|
|
||||||
+* freeWAIS-sf: (fwsf). freeWAIS-sf and SFgate
|
|
||||||
+END-INFO-DIR-ENTRY
|
|
||||||
+@end format
|
|
||||||
+@end ifinfo
|
|
||||||
+
|
|
||||||
@ifinfo
|
|
||||||
This file documents @strong{freeWAIS-sf} version @value{fwsf-version}.
|
|
||||||
@c and @strong{SFgate} version @value{SFgate-version}.
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-ar,v 1.1 1999/05/12 14:49:47 bad Exp $
|
|
||||||
|
|
||||||
--- bin/ws.SH.orig Fri Apr 16 11:59:15 1999
|
|
||||||
+++ bin/ws.SH Wed May 12 16:32:32 1999
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
: Protect any dollar signs and backticks that you do not want interpreted
|
|
||||||
: by putting a backslash in front. You may delete these comments.
|
|
||||||
$spitshell >ws <<!GROK!THIS!
|
|
||||||
-#!/bin/sh -- # -*- perl -*-
|
|
||||||
+#!/bin/sh
|
|
||||||
eval 'exec $perl -S \$0 "\$@"'
|
|
||||||
if 0;
|
|
||||||
!GROK!THIS!
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-as,v 1.1 1999/05/12 14:49:47 bad Exp $
|
|
||||||
|
|
||||||
--- bin/makedb.SH.orig Fri Apr 16 11:59:13 1999
|
|
||||||
+++ bin/makedb.SH Wed May 12 16:33:34 1999
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
: Protect any dollar signs and backticks that you do not want interpreted
|
|
||||||
: by putting a backslash in front. You may delete these comments.
|
|
||||||
$spitshell >makedb <<!GROK!THIS!
|
|
||||||
-#!/bin/sh -- # -*- perl -*-
|
|
||||||
+#!/bin/sh
|
|
||||||
eval 'exec $perl -S \$0 "\$@"'
|
|
||||||
if 0;
|
|
||||||
!GROK!THIS!
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-at,v 1.1 1999/05/12 14:49:47 bad Exp $
|
|
||||||
|
|
||||||
--- bin/catalog.SH.orig Fri Apr 16 11:59:12 1999
|
|
||||||
+++ bin/catalog.SH Wed May 12 16:34:47 1999
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
: Protect any dollar signs and backticks that you do not want interpreted
|
|
||||||
: by putting a backslash in front. You may delete these comments.
|
|
||||||
$spitshell >catalog <<!GROK!THIS!
|
|
||||||
-#!/bin/sh -- # -*- perl -*-
|
|
||||||
+#!/bin/sh
|
|
||||||
eval 'exec $perl -S \$0 "\$@"'
|
|
||||||
if 0;
|
|
||||||
!GROK!THIS!
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-au,v 1.1 1999/05/12 14:49:47 bad Exp $
|
|
||||||
|
|
||||||
--- bin/dictionary.SH.orig Fri Apr 16 11:59:12 1999
|
|
||||||
+++ bin/dictionary.SH Wed May 12 16:35:38 1999
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
: Protect any dollar signs and backticks that you do not want interpreted
|
|
||||||
: by putting a backslash in front. You may delete these comments.
|
|
||||||
$spitshell >dictionary <<!GROK!THIS!
|
|
||||||
-#!/bin/sh -- # -*- perl -*-
|
|
||||||
+#!/bin/sh
|
|
||||||
eval 'exec $perl -S \$0 "\$@"'
|
|
||||||
if 0;
|
|
||||||
!GROK!THIS!
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-av,v 1.1 1999/05/12 14:49:47 bad Exp $
|
|
||||||
|
|
||||||
--- bin/inverted_file.SH.orig Fri Apr 16 11:59:13 1999
|
|
||||||
+++ bin/inverted_file.SH Wed May 12 16:36:39 1999
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
: Protect any dollar signs and backticks that you do not want interpreted
|
|
||||||
: by putting a backslash in front. You may delete these comments.
|
|
||||||
$spitshell >inverted_file <<!GROK!THIS!
|
|
||||||
-#!/bin/sh -- # -*- perl -*-
|
|
||||||
+#!/bin/sh
|
|
||||||
eval 'exec $perl -S \$0 "\$@"'
|
|
||||||
if 0;
|
|
||||||
!GROK!THIS!
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-aw,v 1.1 1999/05/12 14:49:47 bad Exp $
|
|
||||||
|
|
||||||
--- bin/mkfmt.SH.orig Fri Apr 16 11:59:14 1999
|
|
||||||
+++ bin/mkfmt.SH Wed May 12 16:37:26 1999
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
: Protect any dollar signs and backticks that you do not want interpreted
|
|
||||||
: by putting a backslash in front. You may delete these comments.
|
|
||||||
$spitshell >mkfmt <<!GROK!THIS!
|
|
||||||
-#!/bin/sh -- # -*- perl -*-
|
|
||||||
+#!/bin/sh
|
|
||||||
eval 'exec $perl -S \$0 "\$@"'
|
|
||||||
if 0;
|
|
||||||
!GROK!THIS!
|
|
|
@ -1,17 +0,0 @@
|
||||||
$NetBSD: patch-ax,v 1.1 2000/10/02 11:14:28 jlam Exp $
|
|
||||||
|
|
||||||
--- lib/ir/udping.c.orig Fri Apr 16 05:59:39 1999
|
|
||||||
+++ lib/ir/udping.c
|
|
||||||
@@ -34,10 +34,8 @@
|
|
||||||
#define UDP_HOST_NO "129.217.20.172"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-extern uid_t getuid();
|
|
||||||
-extern int socket();
|
|
||||||
-extern int sendto();
|
|
||||||
-extern int close();
|
|
||||||
+#include <unistd.h> /* declarations for getuid(), close() */
|
|
||||||
+#include <sys/socket.h> /* declarations for socket(), sendto() */
|
|
||||||
|
|
||||||
static int iamhere(progname)
|
|
||||||
char *progname;
|
|
|
@ -1,15 +0,0 @@
|
||||||
$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
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
|
@ -1,16 +0,0 @@
|
||||||
$NetBSD: patch-az,v 1.2 2005/12/27 14:00:53 joerg Exp $
|
|
||||||
|
|
||||||
--- lib/ir/sockets.c.orig 1999-04-16 09:59:35.000000000 +0000
|
|
||||||
+++ lib/ir/sockets.c
|
|
||||||
@@ -70,9 +70,10 @@ close_connection_to_server (file)
|
|
||||||
#include "panic.h"
|
|
||||||
|
|
||||||
#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];
|
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
$NetBSD: patch-ba,v 1.3 2005/12/27 14:00:53 joerg 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"
|
|
||||||
@@ -313,9 +316,10 @@ srcfiles(e)
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
#ifdef HAS_SYS_ERRLIST
|
|
||||||
-extern int errno;
|
|
||||||
+#if !(defined(BSD) && BSD >= 199306)
|
|
||||||
extern int sys_nerr;
|
|
||||||
#endif
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
Pid_t pgrp;
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
$NetBSD: patch-bb,v 1.1 2005/12/27 14:00:53 joerg Exp $
|
|
||||||
|
|
||||||
--- lib/ftw/ftw.c.orig 2005-12-18 22:14:06.000000000 +0000
|
|
||||||
+++ lib/ftw/ftw.c
|
|
||||||
@@ -19,6 +19,7 @@
|
|
||||||
* recycle file descriptors.
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#include <limits.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include "cdialect.h"
|
|
||||||
#include <sys/stat.h>
|
|
||||||
@@ -71,7 +72,11 @@ ftw(directory, funcptr, depth)
|
|
||||||
|
|
||||||
/* Get ready to hold the full paths. */
|
|
||||||
i = strlen(directory);
|
|
||||||
+#ifdef NAME_MAX
|
|
||||||
+ fullpath = (char *)malloc(i + 1 + NAME_MAX + 1);
|
|
||||||
+#else
|
|
||||||
fullpath = (char *)malloc(i + 1 + MAXNAMLEN + 1);
|
|
||||||
+#endif
|
|
||||||
if (fullpath == NULL) {
|
|
||||||
closedir(dirp);
|
|
||||||
return -1;
|
|
Loading…
Reference in a new issue