summaryrefslogtreecommitdiff
path: root/lang/clisp/patches
diff options
context:
space:
mode:
authormjl <mjl>1999-12-18 04:53:17 +0000
committermjl <mjl>1999-12-18 04:53:17 +0000
commitcc09d6cdc32c4d3edb60f52be839a8da810539ab (patch)
tree5751ff065eb9c420972d194d088532eef2827c3d /lang/clisp/patches
parent188c1ef931ff50951de38a38ab0cf9774b5fc81c (diff)
downloadpkgsrc-cc09d6cdc32c4d3edb60f52be839a8da810539ab.tar.gz
Make this package patch and compile again.
Diffstat (limited to 'lang/clisp/patches')
-rw-r--r--lang/clisp/patches/patch-aa94
-rw-r--r--lang/clisp/patches/patch-ab41
-rw-r--r--lang/clisp/patches/patch-ac14
-rw-r--r--lang/clisp/patches/patch-ad14
-rw-r--r--lang/clisp/patches/patch-ae32
5 files changed, 112 insertions, 83 deletions
diff --git a/lang/clisp/patches/patch-aa b/lang/clisp/patches/patch-aa
index b80c60c7fb8..3edf0eb1eec 100644
--- a/lang/clisp/patches/patch-aa
+++ b/lang/clisp/patches/patch-aa
@@ -1,27 +1,37 @@
-$NetBSD: patch-aa,v 1.5 1999/07/21 23:25:08 mjl Exp $
+$NetBSD: patch-aa,v 1.6 1999/12/18 04:53:18 mjl Exp $
---- makemake.in.orig Thu Jan 7 16:23:48 1999
-+++ makemake.in Wed Jul 21 20:07:38 1999
-@@ -280,7 +280,7 @@
+--- makemake.in.orig Tue Jul 20 21:03:11 1999
++++ makemake.in Sat Dec 18 04:45:33 1999
+@@ -316,7 +316,7 @@
LIBTERMCAP='@LIBTERMCAP@' # either '-ltermcap' or '-lncurses'
LIBDL='@LIBDL@' # either '-ldl' or ''
X_INCLUDES='@X_INCLUDES@' # either '-I/usr/somewhere/include' or ''
- X_LIBS='@X_LIBS@' # either '-L/usr/somewhere/lib -lX11' or ''
-+ X_LIBS='-Wl,-rpath ${X11BASE}/lib @X_LIBS@' # either '-L/usr/somewhere/lib -lX11' or ''
++ X_LIBS='-Wl,-rpath ${X11BASE}/lib @X_LIBS@' # either '-L/usr/somewhere/lib -lX11' or ''
host='@host@' # something like 'sparc-sun-sunos4'
host_cpu='@host_cpu@' # something like 'sparc'
host_vendor='@host_vendor@' # something like 'sun'
-@@ -1056,6 +1056,9 @@
- *) ;;
+@@ -1116,6 +1116,10 @@
esac
fi
+
+if [ "$TSYSOS" = "netbsd" ] ; then # NetBSD
-+ XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC -fpcc-struct-return -Dunix'
++ XCFLAGS=$XCFLAGS' -DNO_GENERATIONAL_GC -fpcc-struct-return -Dunix'
+fi
-
++
if [ $TSYS = sun4 -a $CROSS = false ] ; then
ARCH_K=`(arch -k) 2>/dev/null || uname -m 2>/dev/null` # kernel architecture, see arch(1)
-@@ -2380,7 +2383,7 @@
+ if [ "$ARCH_K" = sun4 -o "$ARCH_K" = sun4c -o "$ARCH_K" = sun4e ] ; then
+@@ -1595,7 +1599,7 @@
+ echol "dvidir = \$(exec_prefix)${NEXT_}share${NEXT_}dvi"
+ case "$fsstnd" in
+ gnu_ext)
+- echol "docdir = \$(exec_prefix)${NEXT_}doc"
++ echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc"
+ echol "lispdocdir = \$(docdir)${NEXT_}clisp"
+ ;;
+ suse)
+@@ -2503,7 +2507,7 @@
if [ $HOS = unix ] ; then
echotab "if test -d locale; then rm -rf locale; fi"
echotab "mkdir locale"
@@ -30,38 +40,72 @@ $NetBSD: patch-aa,v 1.5 1999/07/21 23:25:08 mjl Exp $
else
echotab "mkdir locale"
eval `grep ALL_LINGUAS= src/gettext/configure.in`
-@@ -2919,7 +2922,7 @@
- fi
+@@ -3084,13 +3088,11 @@
case "$fsstnd" in
gnu_ext)
-- echotab "if [ ! -d \$(mandir)/html ] ; then mkdir \$(mandir)/html ; fi"
+ echotab "if [ ! -d \$(exec_prefix)/share ] ; then mkdir \$(exec_prefix)/share ; fi"
+- echotab "if [ ! -d \$(htmldir) ] ; then mkdir \$(htmldir) ; fi"
+- echotab "if [ ! -d \$(dvidir) ] ; then mkdir \$(dvidir) ; fi"
+ echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi"
;;
- suse | redhat | debian)
- echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi"
-@@ -2977,10 +2980,10 @@
- fi
+ esac
+ echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi"
+ echotab "if [ ! -d \$(lispdocdir) ] ; then mkdir \$(lispdocdir) ; fi"
+- echotab "if [ ! -d \$(lispdocdir)/doc ] ; then mkdir \$(lispdocdir)/doc ; fi"
+ echol
+ echol "install-bin : lisp${LEXE} lispinit.mem clisp.c force"
+ echotab "if [ ! -d \$(prefix) ] ; then mkdir \$(prefix) ; fi"
+@@ -3132,17 +3134,10 @@
case "$fsstnd" in
gnu_ext)
-- echotab "if [ ! -d \$(mandir)/html ] ; then mkdir \$(mandir)/html ; fi"
-- echotab "\$(INSTALL_DATA) clisp.html \$(mandir)/html/clisp.html"
+ echotab "if [ ! -d \$(exec_prefix)/share ] ; then mkdir \$(exec_prefix)/share ; fi"
+- echotab "if [ ! -d \$(htmldir) ] ; then mkdir \$(htmldir) ; fi"
+- echotab "\$(INSTALL_DATA) clisp.html \$(htmldir)/clisp.html"
+- if [ $TERMINAL = readline ] ; then
+- echotab "\$(INSTALL_DATA) clreadline.html \$(htmldir)/clreadline.html"
+- fi
+- echotab "if [ ! -d \$(dvidir) ] ; then mkdir \$(dvidir) ; fi"
+- if test -n "$GROFF"; then
+- echotab "\$(INSTALL_DATA) clisp.dvi \$(dvidir)/clisp.dvi"
+- fi
+ echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi"
+ echotab "\$(INSTALL_DATA) clisp.html \$(prefix)/share/doc/clisp/clisp.html"
if [ $TERMINAL = readline ] ; then
-- echotab "\$(INSTALL_DATA) clreadline.html \$(mandir)/html/clreadline.html"
+- echotab "\$(INSTALL_DATA) clreadline.dvi \$(dvidir)/clreadline.dvi"
+ echotab "\$(INSTALL_DATA) clreadline.html \$(prefix)/share/doc/clisp/clreadline.html"
fi
;;
- suse | redhat | debian)
-@@ -3016,9 +3019,9 @@
+ esac
+@@ -3152,9 +3147,8 @@
+ echotab "if [ ! -d \$(exec_prefix) ] ; then mkdir \$(exec_prefix) ; fi"
+ echotab "if [ ! -d \$(docdir) ] ; then mkdir \$(docdir) ; fi"
+ echotab "if [ ! -d \$(lispdocdir) ] ; then mkdir \$(lispdocdir) ; fi"
+- echotab "if [ ! -d \$(lispdocdir)/doc ] ; then mkdir \$(lispdocdir)/doc ; fi"
+ echotab "\$(INSTALL_DATA) \$(READMES) \$(lispdocdir)/"
+- echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(lispdocdir)/doc/"
++ echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(lispdocdir)/"
+ echol
+ echol
+ echol "installcheck : ${TESTSDIR} force"
+@@ -3181,18 +3175,14 @@
fi
case "$fsstnd" in
gnu_ext)
-- echotab "\$(RM) \$(mandir)/html/clisp.html"
+- echotab "\$(RM) \$(htmldir)/clisp.html"
+- if [ $TERMINAL = readline ] ; then
+- echotab "\$(RM) \$(htmldir)/clreadline.html"
+- fi
+- echotab "\$(RM) \$(dvidir)/clisp.dvi"
+ echotab "\$(RM) \$(prefix)/share/doc/clisp/clisp.html"
if [ $TERMINAL = readline ] ; then
-- echotab "\$(RM) \$(mandir)/html/clreadline.html"
+- echotab "\$(RM) \$(dvidir)/clreadline.dvi"
+ echotab "\$(RM) \$(prefix)/share/doc/clisp/clreadline.html"
fi
;;
- suse | redhat | debian)
+ esac
+ echotab "for f in \$(READMES); do \$(RM) \$(lispdocdir)/\$\$f; done"
+- echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(lispdocdir)/doc/\$\$f; done"
++ echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(lispdocdir)/\$\$f; done"
+ echol
+ echol
+ fi
diff --git a/lang/clisp/patches/patch-ab b/lang/clisp/patches/patch-ab
index 93467410283..dc1f5d84689 100644
--- a/lang/clisp/patches/patch-ab
+++ b/lang/clisp/patches/patch-ab
@@ -1,25 +1,18 @@
-$NetBSD: patch-ab,v 1.1 1999/01/31 23:38:15 tron Exp $
+$NetBSD: patch-ab,v 1.2 1999/12/18 04:53:18 mjl Exp $
-*** ../sigsegv/Makefile.in.orig Sun Jan 31 02:24:53 1999
---- ../sigsegv/Makefile.in Sun Jan 31 02:25:20 1999
-***************
-*** 76,84 ****
- $(CC) $(CFLAGS) $(INCLUDES) $(srcdir)/test3.c libsigsegv.a -o test3
-
- check : all test1 test2 test3
-! ./test1
-! ./test2
-! ./test3
-
- mostlyclean : clean
-
---- 76,84 ----
- $(CC) $(CFLAGS) $(INCLUDES) $(srcdir)/test3.c libsigsegv.a -o test3
-
- check : all test1 test2 test3
-! # ./test1
-! # ./test2
-! # ./test3
-
- mostlyclean : clean
-
+--- ../sigsegv/Makefile.in.orig Sat Dec 18 03:24:39 1999
++++ ../sigsegv/Makefile.in Sat Dec 18 03:25:58 1999
+@@ -106,9 +106,10 @@
+ $(LIBTOOL_LINK) $(CC) $(CFLAGS) $(INCLUDES) $(srcdir)/test3.c @GCC_X_NONE@ libsigsegv.la -o test3
+
+ check : all test1 test2 test3
+- ./test1
+- ./test2
+- ./test3
++# ./test1
++# ./test2
++# ./test3
++# Those crash on NetBSD, no way here to get fault address from trap frame
+
+ mostlyclean : clean
+
diff --git a/lang/clisp/patches/patch-ac b/lang/clisp/patches/patch-ac
index b09b009be65..ee9b908c925 100644
--- a/lang/clisp/patches/patch-ac
+++ b/lang/clisp/patches/patch-ac
@@ -1,16 +1,16 @@
-$NetBSD: patch-ac,v 1.1 1999/04/17 01:55:55 mjl Exp $
+$NetBSD: patch-ac,v 1.2 1999/12/18 04:53:18 mjl Exp $
---- ../ffcall/avcall/Makefile.in.orig Sat Apr 17 02:28:04 1999
-+++ ../ffcall/avcall/Makefile.in Sat Apr 17 02:38:43 1999
-@@ -130,10 +130,7 @@
- tests : tests.o $(OBJECTS)
- $(CC) $(CFLAGS) tests.o $(OBJECTS) -o tests
+--- ../ffcall/avcall/Makefile.in.orig Sat Dec 18 03:39:13 1999
++++ ../ffcall/avcall/Makefile.in Sat Dec 18 03:39:31 1999
+@@ -189,10 +189,7 @@
+ tests : tests.o libavcall.la
+ $(LIBTOOL_LINK) $(CC) $(CFLAGS) @GCC_X_NONE@ tests.o libavcall.la -o tests
-check : all tests
- ./tests > tests.out
- uniq -u < tests.out > tests.output.$(HOST)
- test '!' -s tests.output.$(HOST)
-+check : # This test crashes with egcs
++check : # all tests
mostlyclean : clean
diff --git a/lang/clisp/patches/patch-ad b/lang/clisp/patches/patch-ad
index 4c58e9b98df..b716e3e1fb8 100644
--- a/lang/clisp/patches/patch-ad
+++ b/lang/clisp/patches/patch-ad
@@ -1,16 +1,16 @@
-$NetBSD: patch-ad,v 1.1 1999/04/17 01:55:55 mjl Exp $
+$NetBSD: patch-ad,v 1.2 1999/12/18 04:53:18 mjl Exp $
---- ../ffcall/callback/Makefile.in.orig Sat Apr 17 02:34:45 1999
-+++ ../ffcall/callback/Makefile.in Sat Apr 17 02:35:02 1999
-@@ -99,10 +99,7 @@
+--- ../ffcall/callback/Makefile.in.orig Sat Dec 18 03:30:02 1999
++++ ../ffcall/callback/Makefile.in Sat Dec 18 03:30:39 1999
+@@ -134,10 +134,7 @@
check-subdirs : force
- cd @subdir@; $(MAKE) check
+ cd @subdir@; $(MAKE) -r check
-check : all check-subdirs tests
- ./tests > tests.out
- uniq -u < tests.out > tests.output.$(HOST)
- test '!' -s tests.output.$(HOST)
-+check : # Theses tests also fail with egcs.
++check : # Fail with egcs
mostlyclean : force
- cd @subdir@; $(MAKE) mostlyclean
+ cd @subdir@; $(MAKE) -r mostlyclean
diff --git a/lang/clisp/patches/patch-ae b/lang/clisp/patches/patch-ae
index 9546d767ce8..618e58d2979 100644
--- a/lang/clisp/patches/patch-ae
+++ b/lang/clisp/patches/patch-ae
@@ -1,21 +1,13 @@
-$NetBSD: patch-ae,v 1.1 1999/04/17 01:55:56 mjl Exp $
+$NetBSD: patch-ae,v 1.2 1999/12/18 04:53:18 mjl Exp $
-*** unix.d.orig Sat Apr 17 02:51:01 1999
---- unix.d Sat Apr 17 02:51:12 1999
-***************
-*** 29,35 ****
- # geschützt sein.
- #define OS_errno errno
- extern int sys_nerr; # Anzahl der Betriebssystem-Fehlermeldungen
-! extern SYS_ERRLIST_CONST char* SYS_ERRLIST_CONST sys_errlist[]; # Betriebssystem-Fehlermeldungen
- # siehe PERROR(3)
- # wird verwendet von ERROR, SPVW, STREAM, PATHNAME
-
---- 29,35 ----
- # geschützt sein.
- #define OS_errno errno
- extern int sys_nerr; # Anzahl der Betriebssystem-Fehlermeldungen
-! # extern SYS_ERRLIST_CONST char* SYS_ERRLIST_CONST sys_errlist[]; # Betriebssystem-Fehlermeldungen
- # siehe PERROR(3)
- # wird verwendet von ERROR, SPVW, STREAM, PATHNAME
-
+--- unix.d.orig Sat Dec 18 03:35:20 1999
++++ unix.d Sat Dec 18 03:35:50 1999
+@@ -29,7 +29,7 @@
+ # geschützt sein.
+ #define OS_errno errno
+ extern int sys_nerr; # Anzahl der Betriebssystem-Fehlermeldungen
+- extern SYS_ERRLIST_CONST char* SYS_ERRLIST_CONST sys_errlist[]; # Betriebssystem-Fehlermeldungen
++ # extern SYS_ERRLIST_CONST char* SYS_ERRLIST_CONST sys_errlist[]; # Betriebssystem-Fehlermeldungen
+ # siehe PERROR(3)
+ # wird verwendet von ERROR, SPVW, STREAM, PATHNAME
+