summaryrefslogtreecommitdiff
path: root/lang/clisp/patches
diff options
context:
space:
mode:
authordillo <dillo>2002-02-21 04:13:20 +0000
committerdillo <dillo>2002-02-21 04:13:20 +0000
commit7638aaf8910fedaa9051325207ccdcf01917c895 (patch)
treeb45eec404dc1bc3c25124935df1fbdeffee19ce8 /lang/clisp/patches
parentc9221604f90859ceed64d6e2e50d45b515279582 (diff)
downloadpkgsrc-7638aaf8910fedaa9051325207ccdcf01917c895.tar.gz
Update CLISP to 2.27, based on PR 15224 by Shell Hung, libtool-overridden
and buildlinked by me. Changes: Now distributed under the GPL. All .fas files generated by previous CLISP versions are invalid and must be recompiled. Hostname resolution is now optional in EXT:SOCKET-STREAM-PEER and EXT:SOCKET-STREAM-LOCAL. EXT:SOCKET-STATUS now accepts SOCKET-SERVERs too, and the direction of the checks can be specified. Added install.bat for win32 installation. Fixed handling of circular structs and pointers to functions in the FFI. Fixed binary I/O for streams with element type longer than one byte, but not a whole number of bytes.
Diffstat (limited to 'lang/clisp/patches')
-rw-r--r--lang/clisp/patches/patch-aa127
-rw-r--r--lang/clisp/patches/patch-ae13
-rw-r--r--lang/clisp/patches/patch-af13
3 files changed, 15 insertions, 138 deletions
diff --git a/lang/clisp/patches/patch-aa b/lang/clisp/patches/patch-aa
index ae9911c6cad..b3d3e28af87 100644
--- a/lang/clisp/patches/patch-aa
+++ b/lang/clisp/patches/patch-aa
@@ -1,115 +1,18 @@
-$NetBSD: patch-aa,v 1.8 2000/06/16 23:53:43 wiz Exp $
+$NetBSD: patch-aa,v 1.9 2002/02/21 04:13:21 dillo Exp $
---- makemake.in.orig Mon Mar 6 12:37:21 2000
-+++ makemake.in Mon Jun 5 23:32:06 2000
-@@ -159,7 +159,7 @@
- srcdir=''
- prefix=''
- exec_prefix=''
--fsstnd=gnu_ext # supported styles: gnu, gnu_ext, suse, redhat, debian
-+fsstnd=gnu_ext # supported styles: gnu_ext, suse, redhat, debian, netbsd
- MODULES=''
- CP='cp -p'
- LN_S='ln -s'
-@@ -317,7 +317,7 @@
- LIBDL='@LIBDL@' # either '-ldl' or ''
- LIBICONV='@LIBICONV@' # either '-liconv' 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 ''
- host='@host@' # something like 'sparc-sun-sunos4'
- host_cpu='@host_cpu@' # something like 'sparc'
- host_vendor='@host_vendor@' # something like 'sun'
-@@ -1118,6 +1118,9 @@
- esac
+--- ../configure.orig Tue May 8 16:09:59 2001
++++ ../configure
+@@ -512,13 +512,6 @@
+ makemake_args="$makemake_args --with-nogettext"
+ fi
fi
+-if test -d $ABS_DIRNAME/avcall -a -d $ABS_DIRNAME/callback; then
+- (cd $ABS_DIRNAME/avcall && make) &&
+- (cd $ABS_DIRNAME/callback && make) &&
+- (cd $ABS_DIRNAME/avcall && make check) &&
+- (cd $ABS_DIRNAME/callback && make check) &&
+- makemake_args="$makemake_args --with-dynamic-ffi"
+-fi
+
+ if test -z "$do_build"; then
-+if [ "$TSYSOS" = "netbsd" ] ; then # NetBSD
-+ XCFLAGS=$XCFLAGS' -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)
- if [ "$ARCH_K" = sun4 -o "$ARCH_K" = sun4c -o "$ARCH_K" = sun4e ] ; then
-@@ -1626,6 +1629,10 @@
- echol "docdir = \$(exec_prefix)${NEXT_}doc"
- echol "lispdocdir = \$(docdir)${NEXT_}clisp"
- ;;
-+ netbsd)
-+ echol "docdir = \$(exec_prefix)${NEXT_}share${NEXT_}doc"
-+ echol "lispdocdir = \$(docdir)${NEXT_}clisp"
-+ ;;
- suse)
- echol "docdir = \$(exec_prefix)${NEXT_}doc"
- echol "lispdocdir = \$(docdir)${NEXT_}packages${NEXT_}clisp"
-@@ -3133,10 +3140,17 @@
- echotab "if [ ! -d \$(install_root)\$(htmldir) ] ; then mkdir \$(install_root)\$(htmldir) ; fi"
- echotab "if [ ! -d \$(install_root)\$(dvidir) ] ; then mkdir \$(install_root)\$(dvidir) ; fi"
- ;;
-+ netbsd)
-+ echotab "if [ ! -d \$(install_root)\$(exec_prefix)/share ] ; then mkdir \$(install_root)\$(exec_prefix)/share ; fi"
-+ echotab "if [ ! -d \$(prefix)/share/doc/clisp ] ; then mkdir \$(prefix)/share/doc/clisp ; fi"
-+ ;;
- esac
- echotab "if [ ! -d \$(install_root)\$(docdir) ] ; then mkdir \$(install_root)\$(docdir) ; fi"
- echotab "if [ ! -d \$(install_root)\$(lispdocdir) ] ; then mkdir \$(install_root)\$(lispdocdir) ; fi"
-- echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi"
-+ if [ "$fsstnd" != netbsd ]
-+ then
-+ echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi"
-+ fi
- echol
- echol "install-bin : lisp${LEXE} lispinit.mem clisp.c force"
- echotab "if [ ! -d \$(install_root)\$(prefix) ] ; then mkdir \$(install_root)\$(prefix) ; fi"
-@@ -3191,6 +3205,14 @@
- echotab "\$(INSTALL_DATA) clreadline.dvi \$(install_root)\$(dvidir)/clreadline.dvi"
- fi
- ;;
-+ netbsd)
-+ echotab "if [ ! -d \$(install_root)\$(exec_prefix)/share ] ; then mkdir \$(install_root)\$(exec_prefix)/share ; fi"
-+ echotab "if [ ! -d \$(install_root)\$(prefix)/share/doc/clisp ] ; then mkdir \$(install_root)\$(prefix)/share/doc/clisp ; fi"
-+ echotab "\$(INSTALL_DATA) clisp.html \$(install_root)\$(prefix)/share/doc/clisp/clisp.html"
-+ if [ $TERMINAL = readline ] ; then
-+ echotab "\$(INSTALL_DATA) clreadline.html \$(install_root)\$(prefix)/share/doc/clisp/clreadline.html"
-+ fi
-+ ;;
- esac
- echol
- echol "install-doc : \$(READMES) \$(MANUALS)${manual_dvi} force"
-@@ -3198,9 +3220,14 @@
- echotab "if [ ! -d \$(install_root)\$(exec_prefix) ] ; then mkdir \$(install_root)\$(exec_prefix) ; fi"
- echotab "if [ ! -d \$(install_root)\$(docdir) ] ; then mkdir \$(install_root)\$(docdir) ; fi"
- echotab "if [ ! -d \$(install_root)\$(lispdocdir) ] ; then mkdir \$(install_root)\$(lispdocdir) ; fi"
-- echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi"
- echotab "\$(INSTALL_DATA) \$(READMES) \$(install_root)\$(lispdocdir)/"
-- echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/doc/"
-+ if [ "$fsstnd" = netbsd ]
-+ then
-+ echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/"
-+ else
-+ echotab "if [ ! -d \$(install_root)\$(lispdocdir)/doc ] ; then mkdir \$(install_root)\$(lispdocdir)/doc ; fi"
-+ echotab "\$(INSTALL_DATA) \$(MANUALS)${manual_dvi} \$(install_root)\$(lispdocdir)/doc/"
-+ fi
- echol
- echol
- echol "installcheck : ${TESTSDIR} force"
-@@ -3236,9 +3263,19 @@
- echotab "\$(RM) \$(install_root)\$(dvidir)/clreadline.dvi"
- fi
- ;;
-+ netbsd)
-+ if [ $TERMINAL = readline ] ; then
-+ echotab "\$(RM) \$(install_root)\$(prefix)/share/doc/clisp/clreadline.html"
-+ fi
-+ ;;
- esac
- echotab "for f in \$(READMES); do \$(RM) \$(install_root)\$(lispdocdir)/\$\$f; done"
-- echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/doc/\$\$f; done"
-+ if [ "$fsstnd" = netbsd ]
-+ then
-+ echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/\$\$f; done"
-+ else
-+ echotab "for f in \$(MANUALS)${manual_dvi}; do \$(RM) \$(install_root)\$(lispdocdir)/doc/\$\$f; done"
-+ fi
- echol
- echol
- fi
diff --git a/lang/clisp/patches/patch-ae b/lang/clisp/patches/patch-ae
deleted file mode 100644
index 618e58d2979..00000000000
--- a/lang/clisp/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.2 1999/12/18 04:53:18 mjl Exp $
-
---- 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
-
diff --git a/lang/clisp/patches/patch-af b/lang/clisp/patches/patch-af
deleted file mode 100644
index e85cf2110b1..00000000000
--- a/lang/clisp/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.1 2000/05/27 02:47:15 wiz Exp $
-
---- configure.orig Wed Jan 26 16:24:25 2000
-+++ configure Sat May 27 04:26:57 2000
-@@ -1130,7 +1130,7 @@
- # AIX installbsd doesn't work without option "-g".
- :
- else
-- ac_cv_path_install="$ac_dir/$ac_prog -c"
-+ cl_cv_path_install="$ac_dir/$ac_prog -c"
- break 2
- fi
- fi