This commit is contained in:
parent
9e481d6f8d
commit
ee60381f6b
@ -20,17 +20,3 @@
|
|||||||
|
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------
|
/* -----------------------------------------------------------------------
|
||||||
@@ -4479,11 +4481,12 @@ static XCharStruct *font_char_info (XFon
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (fs->min_byte1 == 0 && fs->max_byte1 == 0) { /* Linear indexing ... */
|
|
||||||
- if (index >= fs->min_char_or_byte2 && index <= fs->max_char_or_byte2)
|
|
||||||
+ if (index >= fs->min_char_or_byte2 && index <= fs->max_char_or_byte2) {
|
|
||||||
if (fs->per_char)
|
|
||||||
return fs->per_char+(index-fs->min_char_or_byte2);
|
|
||||||
else
|
|
||||||
return &(fs->min_bounds);
|
|
||||||
+ }
|
|
||||||
} else { /* Nonlinear indexing .. */
|
|
||||||
unsigned char byte1 = (index >> 8) &0xFF; /* Is this right?! */
|
|
||||||
unsigned char byte2 = index & 0xFF;
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1e5f8d9b04024ae072536ae3271075c1a422c02d3997a729a6b00912ed2ae323
|
|
||||||
size 8319471
|
|
@ -1,45 +1,18 @@
|
|||||||
--- .pkgextract
|
--- .pkgextract
|
||||||
+++ .pkgextract 2006-05-22 18:06:36.000000000 +0200
|
+++ .pkgextract 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -0,0 +1,6 @@
|
@@ -0,0 +1,9 @@
|
||||||
+patch -p0 -s --suffix=.mappriv < ../clisp-2.31-map_private.patch
|
+patch -p0 -s --suffix=.mappriv < ../clisp-2.31-map_private.patch
|
||||||
+patch -p0 -s --suffix=.mapvar < ../clisp-2.31-map_variable.patch
|
+patch -p0 -s --suffix=.mapvar < ../clisp-2.31-map_variable.patch
|
||||||
+patch -p0 -s --suffix=.sel < ../clisp-2.31-personality.patch
|
+patch -p0 -s --suffix=.sel < ../clisp-2.31-personality.patch
|
||||||
+patch -p0 -s --suffix=.ia64 < ../clisp-2.33.2-ia64.dif
|
+patch -p0 -s --suffix=.ia64 < ../clisp-2.39-ia64.dif
|
||||||
+patch -p0 -s --suffix=.alloca < ../clisp-2.36-alloca.patch
|
+patch -p0 -s --suffix=.alloca < ../clisp-2.36-alloca.patch
|
||||||
+patch -p0 -s --suffix=.dump < ../clisp-2.39-dump.dif
|
+patch -p0 -s --suffix=.wooh < ../clisp-2.39-ia64-wooh.dif
|
||||||
--- configure
|
+patch -p0 -s --suffix=.clx < ../clisp-2.39-clx.dif
|
||||||
+++ configure 2006-05-22 18:06:36.000000000 +0200
|
+patch -p0 -s --suffix=.bdb < ../clisp-2.39-berkeley-db.dif
|
||||||
@@ -341,6 +341,17 @@
|
+patch -p1 -s --suffix=.ffcall < ../ffcall_1.10+2.41-3.diff
|
||||||
passnext=yes
|
|
||||||
passnextm=yes ;;
|
|
||||||
|
|
||||||
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|
||||||
+ subdir_configure_args="$subdir_configure_args $arg"
|
|
||||||
+ makemake_args="$makemake_args --libdir="`echo "$arg" | sed 's,^[-_a-zA-Z0-9]*=,,'` ;;
|
|
||||||
+
|
|
||||||
+ -libdir | --libdir | --libdi | --libd)
|
|
||||||
+ subdir_configure_args="$subdir_configure_args $arg"
|
|
||||||
+ makemake_args="$makemake_args --libdir="
|
|
||||||
+ prev=libdir
|
|
||||||
+ passnext=yes
|
|
||||||
+ passnextm=yes ;;
|
|
||||||
+
|
|
||||||
--hyperspec=* | --hyperspe=* | --hypersp=* | --hypers=* | --hs=* | --hy=*)
|
|
||||||
makemake_args="$makemake_args --hyperspec="`echo "$arg" | sed 's,^[-_a-zA-Z0-9]*=,,'` ;;
|
|
||||||
|
|
||||||
@@ -718,9 +729,6 @@
|
|
||||||
make config.lisp;
|
|
||||||
${EDITOR:-vi} config.lisp;
|
|
||||||
fi
|
|
||||||
- # ulimit: just to make sure, should not hurt
|
|
||||||
- # cygwin /bin/sh ulimit is broken
|
|
||||||
- set +e; ulimit -s 8192 2>/dev/null; set -e;
|
|
||||||
make
|
|
||||||
make check
|
|
||||||
cd ..
|
|
||||||
--- ffcall/build-aux/config.guess
|
--- ffcall/build-aux/config.guess
|
||||||
+++ ffcall/build-aux/config.guess 2006-05-22 18:06:36.000000000 +0200
|
+++ ffcall/build-aux/config.guess 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -983,6 +983,7 @@
|
@@ -985,6 +985,7 @@ EOF
|
||||||
exit ;;
|
exit ;;
|
||||||
esac
|
esac
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
@ -49,7 +22,7 @@
|
|||||||
#include <features.h>
|
#include <features.h>
|
||||||
--- ffcall/callback/trampoline_r/trampoline.c
|
--- ffcall/callback/trampoline_r/trampoline.c
|
||||||
+++ ffcall/callback/trampoline_r/trampoline.c 2006-05-22 18:06:36.000000000 +0200
|
+++ ffcall/callback/trampoline_r/trampoline.c 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -191,15 +191,11 @@
|
@@ -191,15 +191,11 @@ extern RETGETPAGESIZETYPE getpagesize (v
|
||||||
#ifdef ultrix
|
#ifdef ultrix
|
||||||
#include <mips/cachectl.h>
|
#include <mips/cachectl.h>
|
||||||
#else
|
#else
|
||||||
@ -65,31 +38,6 @@
|
|||||||
#ifdef __m88k__
|
#ifdef __m88k__
|
||||||
#include <sys/syslocal.h>
|
#include <sys/syslocal.h>
|
||||||
#endif
|
#endif
|
||||||
--- libcharset/build-aux/config.guess
|
|
||||||
+++ libcharset/build-aux/config.guess 2006-05-22 18:06:36.000000000 +0200
|
|
||||||
@@ -983,6 +983,7 @@
|
|
||||||
exit ;;
|
|
||||||
esac
|
|
||||||
# Determine whether the default compiler is a.out or elf
|
|
||||||
+ test -e /etc/SuSE-release && VENDOR=suse
|
|
||||||
eval $set_cc_for_build
|
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
|
||||||
#include <features.h>
|
|
||||||
--- libcharset/lib/Makefile.in
|
|
||||||
+++ libcharset/lib/Makefile.in 2006-05-22 18:06:36.000000000 +0200
|
|
||||||
@@ -57,10 +57,10 @@
|
|
||||||
$(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libcharset.la -rpath $(libdir) -version-info $(LIBCHARSET_VERSION_INFO) -no-undefined $(OBJECTS)
|
|
||||||
|
|
||||||
localcharset.lo : $(srcdir)/localcharset.c
|
|
||||||
- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $(srcdir)/localcharset.c
|
|
||||||
+ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -c $(srcdir)/localcharset.c
|
|
||||||
|
|
||||||
relocatable.lo : $(srcdir)/relocatable.c $(srcdir)/relocatable.h
|
|
||||||
- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $(srcdir)/relocatable.c
|
|
||||||
+ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -c $(srcdir)/relocatable.c
|
|
||||||
|
|
||||||
charset.alias: $(srcdir)/config.charset
|
|
||||||
$(SHELL) $(srcdir)/config.charset '@host@' > t-$@
|
|
||||||
--- modules/clx/new-clx/README.SuSE
|
--- modules/clx/new-clx/README.SuSE
|
||||||
+++ modules/clx/new-clx/README.SuSE 2006-05-22 18:06:36.000000000 +0200
|
+++ modules/clx/new-clx/README.SuSE 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -1,35 +1,34 @@
|
@@ -1,35 +1,34 @@
|
||||||
@ -149,10 +97,21 @@
|
|||||||
(export
|
(export
|
||||||
'(*version* access-control access-error access-hosts activate-screen-saver
|
'(*version* access-control access-error access-hosts activate-screen-saver
|
||||||
add-access-host add-resource add-to-save-set alist alloc-color
|
add-access-host add-resource add-to-save-set alist alloc-color
|
||||||
|
--- modules/clx/new-clx/demos/clx-demos.lisp
|
||||||
|
+++ modules/clx/new-clx/demos/clx-demos.lisp 2007-12-17 15:28:27.914179351 +0100
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
|
||||||
|
(defparameter *demos*
|
||||||
|
;; (demo-name [package requirements])
|
||||||
|
- '((koch) (qix) (sokoban #:xpm) (greynetic #:broken!) (petal) (hanoi)
|
||||||
|
+ '((greynetic #:broken!) (petal) (hanoi)
|
||||||
|
(recurrence) (plaid) (clclock) (bball #:broken!) (bwindow)))
|
||||||
|
|
||||||
|
(defmacro do-demos ((fun-var) &body body)
|
||||||
--- modules/clx/new-clx/demos/koch.lisp
|
--- modules/clx/new-clx/demos/koch.lisp
|
||||||
+++ modules/clx/new-clx/demos/koch.lisp 2006-05-22 18:06:36.000000000 +0200
|
+++ modules/clx/new-clx/demos/koch.lisp 2007-12-17 15:30:15.215811911 +0100
|
||||||
@@ -7,7 +7,30 @@
|
@@ -7,7 +7,30 @@
|
||||||
;;; $Id: koch.lisp,v 1.1 2005/09/28 22:23:24 sds Exp $
|
;;; $Id: koch.lisp,v 1.4 2007/10/08 00:43:32 sds Exp $
|
||||||
;;; $Source: /cvsroot/clisp/clisp/modules/clx/new-clx/demos/koch.lisp,v $
|
;;; $Source: /cvsroot/clisp/clisp/modules/clx/new-clx/demos/koch.lisp,v $
|
||||||
|
|
||||||
-(in-package :clx-demos)
|
-(in-package :clx-demos)
|
||||||
@ -183,18 +142,17 @@
|
|||||||
|
|
||||||
(defun koch-point (cx width/2 height/2 scale)
|
(defun koch-point (cx width/2 height/2 scale)
|
||||||
(list (round (+ width/2 (* scale width/2 (realpart cx))))
|
(list (round (+ width/2 (* scale width/2 (realpart cx))))
|
||||||
@@ -118,7 +141,7 @@
|
@@ -119,4 +142,8 @@ Returns the new list and an indicator of
|
||||||
|
(xlib:display-finish-output dpy)
|
||||||
(xlib:close-display dpy)))
|
(xlib:close-display dpy)))
|
||||||
|
|
||||||
(format t "~& Koch snoflake:~%
|
+(format t "~& Koch snoflake:~%
|
||||||
- (clx-demos:koch :width :height :delay :x :y :scale :font)
|
|
||||||
-~% Call (clx-demos:koch).~%")
|
|
||||||
+ (koch:koch :width :height :delay :x :y :scale :font)
|
+ (koch:koch :width :height :delay :x :y :scale :font)
|
||||||
+~% Call (koch:koch)~%~%")
|
+~% Call (koch:koch)~%~%")
|
||||||
|
+
|
||||||
(provide :koch)
|
(provide "koch")
|
||||||
--- modules/clx/new-clx/demos/qix.lisp
|
--- modules/clx/new-clx/demos/qix.lisp
|
||||||
+++ modules/clx/new-clx/demos/qix.lisp 2006-05-22 18:06:36.000000000 +0200
|
+++ modules/clx/new-clx/demos/qix.lisp 2007-12-17 15:29:47.712318245 +0100
|
||||||
@@ -14,7 +14,30 @@
|
@@ -14,7 +14,30 @@
|
||||||
;;;; o or a spline option?!
|
;;;; o or a spline option?!
|
||||||
;;;;
|
;;;;
|
||||||
@ -227,19 +185,19 @@
|
|||||||
|
|
||||||
(defvar *offset* 3)
|
(defvar *offset* 3)
|
||||||
(defvar *delta* 6)
|
(defvar *delta* 6)
|
||||||
@@ -92,7 +115,7 @@
|
@@ -88,4 +111,9 @@
|
||||||
|
(xlib:display-finish-output dpy)
|
||||||
|
(xlib:close-display dpy)))
|
||||||
|
|
||||||
;; since we have no herald, simply dump it:
|
+;; since we have no herald, simply dump it:
|
||||||
(format t "~& The famous swirling vectors.~%
|
+(format t "~& The famous swirling vectors.~%
|
||||||
- (clx-demos:qix :host :display :dpy :width :height :delay :nqixs :nlines)
|
+ (qix:qix :host :display :dpy :width :height :delay :nqixs :nlines)
|
||||||
-~% Call (clx-demos:qix) or (clx-demos:qix :delay 0).~%")
|
|
||||||
+ (qix:qix :host :display :dpy :width :height :delay :nqixs :nlines)
|
|
||||||
+~% Call (qix:qix) or (qix:qix :delay 0)~%~%")
|
+~% Call (qix:qix) or (qix:qix :delay 0)~%~%")
|
||||||
|
+
|
||||||
(provide "qix")
|
(provide "qix")
|
||||||
--- modules/clx/new-clx/demos/sokoban.lisp
|
--- modules/clx/new-clx/demos/sokoban.lisp
|
||||||
+++ modules/clx/new-clx/demos/sokoban.lisp 2006-05-22 18:06:36.000000000 +0200
|
+++ modules/clx/new-clx/demos/sokoban.lisp 2007-12-17 15:30:21.648628989 +0100
|
||||||
@@ -39,7 +39,30 @@
|
@@ -41,7 +41,30 @@
|
||||||
;;;; - maximum field size is hard wired to 20x20. (This is not in the LISP spirit!)
|
;;;; - maximum field size is hard wired to 20x20. (This is not in the LISP spirit!)
|
||||||
;;;; - sometimes the programm could not count correctly ...
|
;;;; - sometimes the programm could not count correctly ...
|
||||||
|
|
||||||
@ -271,7 +229,7 @@
|
|||||||
|
|
||||||
;;;; First a lot of global variables ...
|
;;;; First a lot of global variables ...
|
||||||
(defvar *pixmaps* nil) ;array of pixmaps according to below indices
|
(defvar *pixmaps* nil) ;array of pixmaps according to below indices
|
||||||
@@ -222,7 +245,12 @@
|
@@ -228,7 +251,12 @@
|
||||||
(nny (+ ny dy)))
|
(nny (+ ny dy)))
|
||||||
(when (>= (field nnx nny) %floor)
|
(when (>= (field nnx nny) %floor)
|
||||||
;;Ok its legal ...
|
;;Ok its legal ...
|
||||||
@ -285,118 +243,55 @@
|
|||||||
(= (field nnx nny) %goal))
|
(= (field nnx nny) %goal))
|
||||||
(decf *n-objects*))
|
(decf *n-objects*))
|
||||||
(incf (field nx ny) 4) ;remove object and add man
|
(incf (field nx ny) 4) ;remove object and add man
|
||||||
@@ -462,6 +490,6 @@
|
@@ -471,4 +499,6 @@ If you quit sokoban using 'q' the curren
|
||||||
;; These functions should realy been compiled:
|
(setq *level* 1)
|
||||||
;; '(mapcar #'compile '(init-field ready-p update find-outers field find-target walk-to))
|
(init-field))) )
|
||||||
|
|
||||||
-(format t "~& Call (clx-demos:sokoban).~%")
|
|
||||||
+(format t "~&~% Call (sokoban:sokoban)~%~%")
|
+(format t "~&~% Call (sokoban:sokoban)~%~%")
|
||||||
|
|
||||||
(provide "sokoban")
|
|
||||||
--- modules/postgresql/config.h.in
|
|
||||||
+++ modules/postgresql/config.h.in 2006-05-22 18:25:12.000000000 +0200
|
|
||||||
@@ -36,6 +36,9 @@
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
+/* Define to 1 if you have the <pgsql/postgres_ext.h> header file. */
|
|
||||||
+#undef HAVE_PGSQL_POSTGRES_EXT_H
|
|
||||||
+
|
+
|
||||||
/* Define to 1 if you have the <postgresql/postgres_ext.h> header file. */
|
(provide "sokoban")
|
||||||
#undef HAVE_POSTGRESQL_POSTGRES_EXT_H
|
|
||||||
|
|
||||||
--- modules/postgresql/configure
|
--- modules/postgresql/configure
|
||||||
+++ modules/postgresql/configure 2006-05-22 18:09:09.000000000 +0200
|
+++ modules/postgresql/configure 2007-12-14 17:11:57.972092000 +0100
|
||||||
@@ -3481,7 +3481,7 @@
|
@@ -4552,7 +4552,7 @@ done
|
||||||
|
|
||||||
|
if test "$ac_cv_header_postgres_ext_h" = "no" \
|
||||||
|
-a "$ac_cv_header_postgresql_postgres_ext_h" = "no" \
|
||||||
-for ac_header in postgres_ext.h postgresql/postgres_ext.h
|
- -a "$ac_cv_header_pgsql_postgres_ext_h"; then
|
||||||
+for ac_header in postgres_ext.h postgresql/postgres_ext.h pgsql/postgres_ext.h
|
+ -a "$ac_cv_header_pgsql_postgres_ext_h" = "no" ; then
|
||||||
do
|
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
||||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
||||||
@@ -3630,7 +3630,7 @@
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
-if test "$ac_cv_header_postgres_ext_h" = "no" -a "$ac_cv_header_postgresql_postgres_ext_h" = "no"; then
|
|
||||||
+if test "$ac_cv_header_postgres_ext_h" = "no" -a "$ac_cv_header_postgresql_postgres_ext_h" = "no" -a "$ac_cv_header_pgsql_postgres_ext_h" = "no"; then
|
|
||||||
{ { echo "$as_me:$LINENO: error: cannot find PostgreSQL headers" >&5
|
{ { echo "$as_me:$LINENO: error: cannot find PostgreSQL headers" >&5
|
||||||
echo "$as_me: error: cannot find PostgreSQL headers" >&2;}
|
echo "$as_me: error: cannot find PostgreSQL headers" >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
--- modules/postgresql/configure.in
|
--- modules/postgresql/configure.in
|
||||||
+++ modules/postgresql/configure.in 2006-05-22 18:09:54.000000000 +0200
|
+++ modules/postgresql/configure.in 2007-12-14 17:11:40.257845000 +0100
|
||||||
@@ -18,8 +18,8 @@
|
@@ -19,7 +19,7 @@ BOLD_MSG([PostgreSQL (Headers)])
|
||||||
AC_MSG_NOTICE([* PostgreSQL (Headers)])
|
AC_CHECK_HEADERS(postgres_ext.h postgresql/postgres_ext.h pgsql/postgres_ext.h)
|
||||||
AC_HEADER_STDC
|
if test "$ac_cv_header_postgres_ext_h" = "no" \
|
||||||
AC_HEADER_TIME
|
-a "$ac_cv_header_postgresql_postgres_ext_h" = "no" \
|
||||||
-AC_CHECK_HEADERS(postgres_ext.h postgresql/postgres_ext.h)
|
- -a "$ac_cv_header_pgsql_postgres_ext_h"; then
|
||||||
-if test "$ac_cv_header_postgres_ext_h" = "no" -a "$ac_cv_header_postgresql_postgres_ext_h" = "no"; then
|
+ -a "$ac_cv_header_pgsql_postgres_ext_h" = "no" ; then
|
||||||
+AC_CHECK_HEADERS(postgres_ext.h postgresql/postgres_ext.h pgsql/postgres_ext.h)
|
|
||||||
+if test "$ac_cv_header_postgres_ext_h" = "no" -a "$ac_cv_header_postgresql_postgres_ext_h" = "no" -a "$ac_cv_header_pgsql_postgres_ext_h" = "no"; then
|
|
||||||
AC_MSG_ERROR([cannot find PostgreSQL headers])
|
AC_MSG_ERROR([cannot find PostgreSQL headers])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
--- modules/postgresql/link.sh.in
|
--- modules/postgresql/link.sh.in
|
||||||
+++ modules/postgresql/link.sh.in 2006-05-22 18:06:36.000000000 +0200
|
+++ modules/postgresql/link.sh.in 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -4,5 +4,5 @@
|
@@ -4,5 +4,5 @@ make clisp-module \
|
||||||
INCLUDES="$absolute_linkkitdir"
|
INCLUDES="$absolute_linkkitdir"
|
||||||
NEW_FILES=''
|
NEW_FILES=''
|
||||||
for f in ${NEW_MODULES}; do NEW_FILES=${NEW_FILES}" ${f}.o"; done
|
for f in ${NEW_MODULES}; do NEW_FILES=${NEW_FILES}" ${f}.o"; done
|
||||||
-NEW_LIBS="${NEW_FILES} @LIBS@"
|
-NEW_LIBS="${NEW_FILES} @LIBS@"
|
||||||
+NEW_LIBS="${NEW_FILES} @LIBS@ -lcrypt -lssl"
|
+NEW_LIBS="${NEW_FILES} @LIBS@ -lcrypt -lssl"
|
||||||
TO_LOAD='postgresql sql'
|
TO_LOAD='postgresql sql'
|
||||||
--- modules/postgresql/postgresql.lisp
|
--- src/aclocal.m4
|
||||||
+++ modules/postgresql/postgresql.lisp 2006-05-22 18:12:41.000000000 +0200
|
+++ src/aclocal.m4 2007-12-14 16:58:01.413975000 +0100
|
||||||
@@ -25,6 +25,8 @@
|
@@ -9872,7 +9872,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
|
||||||
# include <postgres_ext.h>
|
dnl When using libtool, the option that works for both libraries and
|
||||||
#elif defined(HAVE_POSTGRESQL_POSTGRES_EXT_H)
|
dnl executables is -R. The -R options are cumulative.
|
||||||
# include <postgresql/postgres_ext.h>
|
for found_dir in $ltrpathdirs; do
|
||||||
+#elif defined(HAVE_PGSQL_POSTGRES_EXT_H)
|
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
|
||||||
+# include <pgsql/postgres_ext.h>
|
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-Wl,-rpath-link$found_dir"
|
||||||
#else
|
done
|
||||||
# error \"PostgreSQL is not found\"
|
fi
|
||||||
#endif~%")
|
])
|
||||||
@@ -40,6 +42,8 @@
|
|
||||||
# include <libpq-fe.h>
|
|
||||||
#elif defined(HAVE_POSTGRESQL_POSTGRES_EXT_H)
|
|
||||||
# include <postgresql/libpq-fe.h>
|
|
||||||
+#elif defined(HAVE_PGSQL_POSTGRES_EXT_H)
|
|
||||||
+# include <pgsql/libpq-fe.h>
|
|
||||||
#else
|
|
||||||
# error \"PostgreSQL is not found\"
|
|
||||||
#endif~%")
|
|
||||||
@@ -203,7 +207,8 @@
|
|
||||||
(def-call-out PQport (:return-type c-string) (:arguments (conn PGconn)))
|
|
||||||
(def-call-out PQtty (:return-type c-string) (:arguments (conn PGconn)))
|
|
||||||
(def-call-out PQoptions (:return-type c-string) (:arguments (conn PGconn)))
|
|
||||||
-(def-call-out PQstatus (:return-type ConnStatusType) (:arguments (conn PGconn)))
|
|
||||||
+;;(def-call-out PQstatus (:return-type ConnStatusType) (:arguments (conn PGconn)))
|
|
||||||
+(def-call-out PQstatus (:return-type int) (:arguments (conn PGconn)))
|
|
||||||
(def-call-out PQtransactionStatus (:return-type PGTransactionStatusType)
|
|
||||||
(:arguments (conn PGconn)))
|
|
||||||
(def-call-out PQparameterStatus (:return-type c-string)
|
|
||||||
@@ -334,7 +339,8 @@
|
|
||||||
(nargs int)))
|
|
||||||
|
|
||||||
;; Accessor functions for PGresult objects
|
|
||||||
-(def-call-out PQresultStatus (:return-type ExecStatusType)
|
|
||||||
+;;(def-call-out PQresultStatus (:return-type ExecStatusType)
|
|
||||||
+(def-call-out PQresultStatus (:return-type int)
|
|
||||||
(:arguments (res PGresult)))
|
|
||||||
(def-call-out PQresStatus (:return-type c-string)
|
|
||||||
(:arguments (status ExecStatusType)))
|
|
||||||
@@ -383,7 +389,8 @@
|
|
||||||
(def-call-out PQfreemem (:return-type nil) (:arguments (res c-pointer)))
|
|
||||||
|
|
||||||
(def-call-out PQmakeEmptyPGresult (:return-type PGresult)
|
|
||||||
- (:arguments (conn PGconn) (status ExecStatusType)))
|
|
||||||
+;; (:arguments (conn PGconn) (status ExecStatusType)))
|
|
||||||
+ (:arguments (conn PGconn) (status int)))
|
|
||||||
|
|
||||||
;; Quoting strings before inclusion in queries
|
|
||||||
(def-call-out PQescapeString (:return-type uint)
|
|
||||||
--- src/lispbibl.d
|
--- src/lispbibl.d
|
||||||
+++ src/lispbibl.d 2006-05-22 18:06:36.000000000 +0200
|
+++ src/lispbibl.d 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -223,7 +223,7 @@
|
@@ -223,7 +223,7 @@
|
||||||
@ -408,7 +303,7 @@
|
|||||||
#define UNIX_LINUX # Linux (Linus Torvalds Unix)
|
#define UNIX_LINUX # Linux (Linus Torvalds Unix)
|
||||||
#endif
|
#endif
|
||||||
#ifdef __GNU__
|
#ifdef __GNU__
|
||||||
@@ -1273,7 +1273,7 @@
|
@@ -1255,7 +1255,7 @@ typedef signed int signean;
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#else
|
#else
|
||||||
#undef offsetof
|
#undef offsetof
|
||||||
@ -417,7 +312,7 @@
|
|||||||
#endif
|
#endif
|
||||||
# Determine the offset of an array 'ident' in a struct of the type 'type':
|
# Determine the offset of an array 'ident' in a struct of the type 'type':
|
||||||
#if defined(__cplusplus) || defined(MICROSOFT)
|
#if defined(__cplusplus) || defined(MICROSOFT)
|
||||||
@@ -3333,9 +3333,9 @@
|
@@ -3318,9 +3318,9 @@ typedef signed_int_with_n_bits(intVsize)
|
||||||
# type_data_object(type,data)
|
# type_data_object(type,data)
|
||||||
#if defined(WIDE) && defined(WIDE_STRUCT)
|
#if defined(WIDE) && defined(WIDE_STRUCT)
|
||||||
#if BIG_ENDIAN_P==WIDE_ENDIANNESS
|
#if BIG_ENDIAN_P==WIDE_ENDIANNESS
|
||||||
@ -430,8 +325,8 @@
|
|||||||
#elif !(oint_addr_shift==0)
|
#elif !(oint_addr_shift==0)
|
||||||
#define type_data_object(type,data) \
|
#define type_data_object(type,data) \
|
||||||
--- src/makemake.in
|
--- src/makemake.in
|
||||||
+++ src/makemake.in 2006-05-22 18:06:36.000000000 +0200
|
+++ src/makemake.in 2007-12-17 13:52:35.689747081 +0100
|
||||||
@@ -218,6 +218,9 @@
|
@@ -226,6 +226,9 @@ verbose=${CLISP_MAKEMAKE_VERBOSE:-false}
|
||||||
# Handle --with-... arguments
|
# Handle --with-... arguments
|
||||||
while test -z "$endofargs"; do
|
while test -z "$endofargs"; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -441,31 +336,31 @@
|
|||||||
-verb* | --verb* )
|
-verb* | --verb* )
|
||||||
verbose=`echol "$1"|sed 's/-*v[^=]*=*//'`
|
verbose=`echol "$1"|sed 's/-*v[^=]*=*//'`
|
||||||
test -n "${verbose}" || verbose=true
|
test -n "${verbose}" || verbose=true
|
||||||
@@ -1618,6 +1621,10 @@
|
@@ -822,8 +825,8 @@ fi
|
||||||
EVERY_INCLUDES_H=$EVERY_INCLUDES_H' libcharset.h'
|
# and the implied value from fsstnd overrides the default.
|
||||||
fi
|
if [ -z "$docdir" ] ; then
|
||||||
|
if [ $HOS = unix ] ; then
|
||||||
+if [ -n "${MYCFLAGS}" ] ; then
|
- docdir='@docdir@' # usually '${datarootdir}/doc/${PACKAGE}'
|
||||||
+ XCFLAGS=$XCFLAGS' ${MYCFLAGS} '
|
- if [ "$docdir" = '${datarootdir}/doc/${PACKAGE}' ] ; then
|
||||||
+fi
|
+ docdir='@docdir@' # usually '${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||||||
+
|
+ if [ "$docdir" = '${datarootdir}/doc/${PACKAGE_TARNAME}' ] ; then
|
||||||
OTHER_INCLUDES=' constpack avl sort subrkw bytecode'
|
docdir=
|
||||||
|
else
|
||||||
SPVW_INCLUDES=' spvw_module spvw_debug spvw_alloca spvw_mmap spvw_multimap spvw_singlemap spvw_page spvw_heap spvw_global spvw_gcstat spvw_space spvw_mark spvw_objsize spvw_update spvw_fault spvw_sigsegv spvw_sigcld spvw_sigpipe spvw_sigint spvw_sigwinch spvw_sigterm spvw_garcol spvw_genera1 spvw_gcmark spvw_genera2 spvw_weak spvw_genera3 spvw_allocate spvw_typealloc spvw_circ spvw_walk spvw_ctype spvw_language spvw_memfile'
|
PACKAGE=clisp ; eval docdir=\"$docdir\"
|
||||||
--- src/autoconf/aclocal.m4
|
@@ -1210,6 +1213,10 @@ if [ $XCC_GCC = true ] ; then
|
||||||
+++ src/autoconf/aclocal.m4 2006-05-22 18:06:36.000000000 +0200
|
XCFLAGS=${XCFLAGS}" -pthread"
|
||||||
@@ -4028,7 +4028,7 @@
|
|
||||||
dnl When using libtool, the option that works for both libraries and
|
|
||||||
dnl executables is -R. The -R options are cumulative.
|
|
||||||
for found_dir in $ltrpathdirs; do
|
|
||||||
- LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
|
|
||||||
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-Wl,-rpath-link$found_dir"
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
])
|
|
||||||
|
+ if [ -n "${MYCFLAGS}" ] ; then
|
||||||
|
+ XCFLAGS=$XCFLAGS' ${MYCFLAGS} '
|
||||||
|
+ fi
|
||||||
|
+
|
||||||
|
else
|
||||||
|
|
||||||
|
if [ $TSYS = sun4 -a $CROSS = false ] ; then
|
||||||
--- src/build-aux/config.guess
|
--- src/build-aux/config.guess
|
||||||
+++ src/build-aux/config.guess 2006-05-22 18:06:36.000000000 +0200
|
+++ src/build-aux/config.guess 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -983,6 +983,7 @@
|
@@ -985,6 +985,7 @@ EOF
|
||||||
exit ;;
|
exit ;;
|
||||||
esac
|
esac
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
@ -475,7 +370,7 @@
|
|||||||
#include <features.h>
|
#include <features.h>
|
||||||
--- utils/gctrigger.d
|
--- utils/gctrigger.d
|
||||||
+++ utils/gctrigger.d 2006-05-22 18:06:36.000000000 +0200
|
+++ utils/gctrigger.d 2006-05-22 18:06:36.000000000 +0200
|
||||||
@@ -602,6 +602,7 @@
|
@@ -602,6 +602,7 @@ local inline void VectorToken_delete (Ve
|
||||||
local Token nexttoken (boolean within_prep_directive)
|
local Token nexttoken (boolean within_prep_directive)
|
||||||
{
|
{
|
||||||
Token token;
|
Token token;
|
||||||
@ -483,3 +378,14 @@
|
|||||||
restart:
|
restart:
|
||||||
{ var int c = next_char();
|
{ var int c = next_char();
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
--- utils/modprep.lisp
|
||||||
|
+++ utils/modprep.lisp 2007-12-14 17:18:49.740318000 +0100
|
||||||
|
@@ -313,7 +313,7 @@ FOO(bar,baz,zot) ==> FOO; (bar baz zot);
|
||||||
|
((or (char= cc #\_) (char= cc #\-)) (write-char #\_ out))
|
||||||
|
(t (format out "_~2,'0x" (char-code cc))))))
|
||||||
|
|
||||||
|
-(defvar *tag-length-limit* 2000
|
||||||
|
+(defvar *tag-length-limit* 4096
|
||||||
|
"The approximate maximum length of a C name.
|
||||||
|
This works around the failure on i18n on Alpha Linux:
|
||||||
|
/tmp/ccYZBYCX.s: Assembler messages:
|
3
clisp-2.43.tar.bz2
Normal file
3
clisp-2.43.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b5213ccc59d65c190f47c0e4f04d568a1a66bcb28ae5ed59705e59c6b8b11e83
|
||||||
|
size 8143871
|
101
clisp.changes
101
clisp.changes
@ -1,3 +1,104 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 17 15:09:09 CET 2007 - werner@suse.de
|
||||||
|
|
||||||
|
- Add workaround to gcc bug in -O2 on i386
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 14 17:02:38 CET 2007 - werner@suse.de
|
||||||
|
|
||||||
|
- Update to 2.43
|
||||||
|
|
||||||
|
* Infrastructure:
|
||||||
|
+ Top-level configure now accepts a new option --vimdir which specifies
|
||||||
|
the installation directory for the VIM files (lisp.vim).
|
||||||
|
The default value is ${datadir}/vim/vimfiles/after/syntax/.
|
||||||
|
Thus, lisp.vim is now installed by "make install", and should
|
||||||
|
be included in the 3rd party distributions.
|
||||||
|
+ Top-level configure now always runs makemake, and makemake no longer is
|
||||||
|
a "user-level" command; do not run it unless you know what you are doing.
|
||||||
|
This brings the CLISP build process in compliance with the GNU standards.
|
||||||
|
+ We now use gnulib-tool to sync with gnulib (not really user visible,
|
||||||
|
but a major infrastructure change).
|
||||||
|
|
||||||
|
* Portability:
|
||||||
|
+ Support for ancient systems with broken CPP have been dropped.
|
||||||
|
This includes AIX 4.2, Coherent386, Ultrix, MSVC4, MSVC5.
|
||||||
|
+ NeXT application (GUI) code has been removed. Plain TTY is still supported.
|
||||||
|
|
||||||
|
* Module berkeley-db now supports Berkeley DB 4.5 & 4.6.
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
+ FORCE-OUTPUT breakage on MacOS X when stdout is not a terminal. [ 1827572 ]
|
||||||
|
+ Fixed *PRINT-PPRINT-DISPATCH* binding in WITH-STANDARD-IO-SYNTAX.
|
||||||
|
[ 1831367 ]
|
||||||
|
|
||||||
|
- Update to 2.42
|
||||||
|
|
||||||
|
* New module gtk2 interfaces to GTK+ v2 and makes it possible to build
|
||||||
|
GUI with Glade.
|
||||||
|
Thanks to James Bailey <dgym.bailey@gmail.com> for the original code.
|
||||||
|
See <http://clisp.cons.org/impnotes/gtk.html> for details.
|
||||||
|
|
||||||
|
* New module gdbm interfaces to GNU DataBase Manager.
|
||||||
|
Thanks to Masayuki Onjo <masayuki.onjo@gmail.com>.
|
||||||
|
See <http://clisp.cons.org/impnotes/gdbm.html> for details.
|
||||||
|
|
||||||
|
* A kind of Meta-Object Protocol for structures is now available.
|
||||||
|
See <http://clisp.cons.org/impnotes/defstruct-mop.html> for details.
|
||||||
|
|
||||||
|
* Module libsvm has been upgraded to the upstream version 2.84.
|
||||||
|
See <http://clisp.cons.org/impnotes/libsvm.html> for details.
|
||||||
|
|
||||||
|
* NEW-CLX module now supports Stumpwm <http://www.nongnu.org/stumpwm/>.
|
||||||
|
Thanks to Shawn Betts <sabetts@vcn.bc.ca>.
|
||||||
|
New NEW-CLX demos: bball bwindow greynetic hanoi petal plaid recurrence from
|
||||||
|
<http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/gui/clx/clx_demo.cl>.
|
||||||
|
New NEW-CLX demo: clclock based on <http://common-lisp.net/~crhodes/clx>.
|
||||||
|
New function XLIB:OPEN-DEFAULT-DISPLAY from portable CLX.
|
||||||
|
|
||||||
|
* Function EXT:ARGLIST now works on macros too.
|
||||||
|
See <http://clisp.cons.org/impnotes/flow-dict.html#arglist> for details.
|
||||||
|
|
||||||
|
* Macro TRACE has a new option :BINDINGS, which is useful to share data
|
||||||
|
between PRE-* and POST-* forms.
|
||||||
|
See <http://clisp.cons.org/environment-dict.html#trace> for details.
|
||||||
|
|
||||||
|
* Macro FFI:DEF-C-TYPE can now be called with one argument to define an
|
||||||
|
integer type.
|
||||||
|
See <http://clisp.cons.org/impnotes/dffi.html#def-c-type> for details.
|
||||||
|
|
||||||
|
* New function EXT:RENAME-DIR can be used to rename directories.
|
||||||
|
See <http://clisp.cons.org/impnotes/file-dict.html#rename-dir> for details.
|
||||||
|
|
||||||
|
* Functions FILE-LENGTH and FILE-POSITION now work on unbuffered streams too.
|
||||||
|
See <http://clisp.cons.org/impnotes/stream-dict.html#file-pos> for details.
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
+ Fixed EXT:LETF to work with more than one place. [ 1731462 ]
|
||||||
|
+ Fixed rounding of long floats [even+1/2]. [ 1589311 ]
|
||||||
|
+ Fixed stdio when running without a TTY, e.g., under SSH. [ 1592343 ]
|
||||||
|
+ ANSI compliance: PPRINT dispatch is now respected for nested
|
||||||
|
objects, not just the top-level. [ 1483768, 1598053 ]
|
||||||
|
+ Fixed print-read-consistency of strings containing #\Return characters
|
||||||
|
(manifested by COMPILE-FILE). [ 1578179 ]
|
||||||
|
+ Fixed "clisp-link run". [ 1469663 ]
|
||||||
|
+ Fixed ATANH branch cut continuity. [ 1436987 ]
|
||||||
|
+ Reset the function lambda expression when loading a compiled file.
|
||||||
|
[ 1603260 ]
|
||||||
|
+ DOCUMENTATION set by SETF is now preserved by COMPILE. [ 1604579 ]
|
||||||
|
+ LISTEN now calls STREAM-LISTEN as per the Gray proposal. [ 1607666 ]
|
||||||
|
+ IMPORT into the KEYWORD package does not make a symbol a constant
|
||||||
|
variable. [ 1612859 ]
|
||||||
|
+ DEFPACKAGE code was executed during non top-level compilation. [ 1612313 ]
|
||||||
|
+ Fixed format error message formatting. [ 1482465 ]
|
||||||
|
+ Fixed *PPRINT-FIRST-NEWLINE* handling. [ 1412454 ]
|
||||||
|
+ Improved hash code generation for very large bignums and for long lists.
|
||||||
|
[ 948868, 1208124 ]
|
||||||
|
+ Some bugs related to UNICODE-16 & UNICODE-32. [ 1564818, 1631760, 1632718 ]
|
||||||
|
+ All exported defined symbols are now properly locked. [ 1713130 ]
|
||||||
|
+ Berkeley-DB module no longer fills up error log file. [ 1779416 ]
|
||||||
|
+ New-clx now supports 64-bit KeySym. [ 1797132 ]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 22 15:43:32 CEST 2007 - ro@suse.de
|
Tue May 22 15:43:32 CEST 2007 - ro@suse.de
|
||||||
|
|
||||||
|
222
clisp.spec
222
clisp.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package clisp (Version 2.41)
|
# spec file for package clisp (Version 2.43)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -20,13 +20,14 @@ ExcludeArch: ppc64 s390x armv4l
|
|||||||
# to BuildRequires
|
# to BuildRequires
|
||||||
#
|
#
|
||||||
%define debug no
|
%define debug no
|
||||||
License: GNU General Public License (GPL)
|
License: GPL v2 or later
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Autoreqprov: on
|
PreReq: vim
|
||||||
Version: 2.41
|
AutoReqProv: on
|
||||||
|
Version: 2.43
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A Common Lisp Interpreter
|
Summary: A Common Lisp Interpreter
|
||||||
URL: http://clisp.cons.org
|
Url: http://clisp.cons.org
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/clisp/latest/clisp-%{version}.tar.bz2
|
Source: ftp://ftp.gnu.org/pub/gnu/clisp/latest/clisp-%{version}.tar.bz2
|
||||||
Patch: clisp-%{version}.dif
|
Patch: clisp-%{version}.dif
|
||||||
Patch1: clisp-2.31-map_private.patch
|
Patch1: clisp-2.31-map_private.patch
|
||||||
@ -37,7 +38,9 @@ Patch5: clisp-2.36-alloca.patch
|
|||||||
Patch7: clisp-2.39-ia64-wooh.dif
|
Patch7: clisp-2.39-ia64-wooh.dif
|
||||||
Patch8: clisp-2.39-clx.dif
|
Patch8: clisp-2.39-clx.dif
|
||||||
Patch9: clisp-2.39-berkeley-db.dif
|
Patch9: clisp-2.39-berkeley-db.dif
|
||||||
|
Patch10: ffcall_1.10+2.41-3.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%global vimdir %{_datadir}/vim/current/vimfiles/after/syntax
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Common Lisp is a high-level, all-purpose programming language. CLISP is
|
Common Lisp is a high-level, all-purpose programming language. CLISP is
|
||||||
@ -76,14 +79,15 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -b .mappriv
|
%patch1 -p0 -b .mappriv
|
||||||
%patch -P 2 -b .mapvar
|
%patch2 -p0 -b .mapvar
|
||||||
%patch -P 3 -b .sel
|
%patch3 -p0 -b .sel
|
||||||
%patch -P 4 -b .ia64
|
%patch4 -p0 -b .ia64
|
||||||
%patch -P 5 -b .alloca
|
%patch5 -p0 -b .alloca
|
||||||
%patch -P 7 -b .wooh
|
%patch7 -p0 -b .wooh
|
||||||
%patch -P 8 -b .clx
|
%patch8 -p0 -b .clx
|
||||||
%patch -P 9 -b .bdb
|
%patch9 -p0 -b .bdb
|
||||||
|
%patch10 -p1 -b .ffcall
|
||||||
%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -110,30 +114,36 @@ export PATH="$PATH:."
|
|||||||
# Set gcc command line but do not use CFLAGS
|
# Set gcc command line but do not use CFLAGS
|
||||||
#
|
#
|
||||||
if test %debug = yes ; then
|
if test %debug = yes ; then
|
||||||
CC=g++
|
CC="g++ ${RPM_OPT_FLAGS}"
|
||||||
else
|
else
|
||||||
CC=gcc
|
CC="gcc ${RPM_OPT_FLAGS}"
|
||||||
fi
|
fi
|
||||||
CC="${CC} ${RPM_OPT_FLAGS} -g -fPIC -D_GNU_SOURCE"
|
%if %suse_version > 1030
|
||||||
CC="${CC} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
CC="${CC} -fno-inline-small-functions"
|
||||||
CC="${CC} -pipe -fno-strict-aliasing -Wno-unused -Wno-uninitialized"
|
%endif
|
||||||
noexec="-DLINUX_NOEXEC_HEAPCODES"
|
MYCFLAGS="${MYCFLAGS} -g -fPIC -D_GNU_SOURCE -pipe"
|
||||||
nommap="-DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP"
|
MYCFLAGS="${MYCFLAGS} -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
safety="-DSAFETY=3 -fno-gcse -O"
|
MYCFLAGS="${MYCFLAGS} -fno-strict-aliasing -Wno-unused -Wno-uninitialized"
|
||||||
|
cfi386='-falign-functions=4'
|
||||||
|
noexec='-DLINUX_NOEXEC_HEAPCODES'
|
||||||
|
nommap='-DNO_MULTIMAP_SHM -DNO_MULTIMAP_FILE -DNO_SINGLEMAP -DNO_TRIVIALMAP'
|
||||||
|
safety='-DSAFETY=3 -fno-gcse -O'
|
||||||
case "$RPM_ARCH" in
|
case "$RPM_ARCH" in
|
||||||
i[0-9]86) CC="${CC} -falign-functions=4 ${noexec}" ;;
|
i[0-9]86) MYCFLAGS="${MYCFLAGS} ${cfi386} ${noexec}" ;;
|
||||||
ppc) CC="${CC} ${noexec}" ;;
|
ppc) MYCFLAGS="${MYCFLAGS} ${noexec}" ;;
|
||||||
s390) CC="${CC} ${noexec}" ;;
|
s390) MYCFLAGS="${MYCFLAGS} ${noexec}" ;;
|
||||||
x86_64) CC="${CC} ${safety}" ;;
|
x86_64) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
|
||||||
sparc*) CC="${CC} ${safety}" ;;
|
sparc*) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
|
||||||
ppc64) CC="${CC} ${safety} -DWIDE_HARD" ;;
|
# ppc64) MYCFLAGS="${MYCFLAGS} ${safety} -DWIDE_HARD" ;;
|
||||||
s390x) CC="${CC} ${safety} -DWIDE_HARD" ;;
|
# s390x) MYCFLAGS="${MYCFLAGS} ${safety} -DWIDE_HARD" ;;
|
||||||
ia64) CC="${CC} ${safety}" ;;
|
ppc64) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
|
||||||
axp|alpha) CC="${CC} ${nommap}" ;;
|
s390x) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
|
||||||
|
ia64) MYCFLAGS="${MYCFLAGS} ${safety}" ;;
|
||||||
|
axp|alpha) MYCFLAGS="${MYCFLAGS} ${nommap}" ;;
|
||||||
esac
|
esac
|
||||||
export CC
|
export CC
|
||||||
export MYCFLAGS
|
export MYCFLAGS
|
||||||
unset noexec nommap safety
|
unset cfi386 noexec nommap safety
|
||||||
#
|
#
|
||||||
# Environment for the case of missing terminal
|
# Environment for the case of missing terminal
|
||||||
#
|
#
|
||||||
@ -147,26 +157,12 @@ exec 1> /tmp/clispIO 2>&1
|
|||||||
#
|
#
|
||||||
if test %debug = yes ; then
|
if test %debug = yes ; then
|
||||||
DEBUG=--with-debug
|
DEBUG=--with-debug
|
||||||
MYCFLAGS='-g3 -DDEBUG_GCSAFETY'
|
MYCFLAGS="${MYCFLAGS} -g3 -DDEBUG_GCSAFETY"
|
||||||
else
|
else
|
||||||
DEBUG=""
|
DEBUG=""
|
||||||
MYCFLAGS=""
|
MYCFLAGS="${MYCFLAGS}"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# Do not accept overwriting optimizing level
|
|
||||||
#
|
|
||||||
case "$RPM_ARCH" in
|
|
||||||
i[0-9]86) ;;
|
|
||||||
ppc) ;;
|
|
||||||
s390) ;;
|
|
||||||
x86_64) MYCFLAGS="${MYCFLAGS} -O" ;;
|
|
||||||
sparc*) MYCFLAGS="${MYCFLAGS} -O" ;;
|
|
||||||
ppc64) MYCFLAGS="${MYCFLAGS} -O" ;;
|
|
||||||
s390x) MYCFLAGS="${MYCFLAGS} -O" ;;
|
|
||||||
ia64) MYCFLAGS="${MYCFLAGS} -O" ;;
|
|
||||||
axp|alpha) ;;
|
|
||||||
esac
|
|
||||||
#
|
|
||||||
# May interfere with configure
|
# May interfere with configure
|
||||||
#
|
#
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
@ -178,6 +174,7 @@ unset CFLAGS
|
|||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--exec-prefix=%{_prefix} \
|
--exec-prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
|
--vimdir=%{vimdir} \
|
||||||
--fsstnd=suse \
|
--fsstnd=suse \
|
||||||
--ignore-absence-of-libsigsegv \
|
--ignore-absence-of-libsigsegv \
|
||||||
--with-readline \
|
--with-readline \
|
||||||
@ -210,7 +207,7 @@ SYSTEM=${RPM_ARCH}-suse-linux
|
|||||||
LSPDOC=%{_docdir}/clisp
|
LSPDOC=%{_docdir}/clisp
|
||||||
DOCDOC=${LSPDOC}/doc
|
DOCDOC=${LSPDOC}/doc
|
||||||
CLXDOC=${LSPDOC}/clx
|
CLXDOC=${LSPDOC}/clx
|
||||||
LSPLIB=%{_libdir}/clisp
|
LSPLIB=%{_libdir}/clisp-%{version}
|
||||||
CLXLIB=${LSPLIB}/full
|
CLXLIB=${LSPLIB}/full
|
||||||
#
|
#
|
||||||
# Install the current system
|
# Install the current system
|
||||||
@ -220,48 +217,127 @@ make install -C ${SYSTEM} \
|
|||||||
exec_prefix=%{_prefix} \
|
exec_prefix=%{_prefix} \
|
||||||
mandir=%{_mandir} \
|
mandir=%{_mandir} \
|
||||||
libdir=%{_libdir} \
|
libdir=%{_libdir} \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=%{buildroot} \
|
||||||
INSTALL_DATA='install -cm 0444'
|
INSTALL_DATA='install -cm 0444'
|
||||||
#
|
#
|
||||||
# The CLX interface
|
# The CLX interface
|
||||||
#
|
#
|
||||||
install -d $RPM_BUILD_ROOT${CLXDOC}
|
install -d %{buildroot}${CLXDOC}
|
||||||
install -d $RPM_BUILD_ROOT${CLXLIB}
|
install -d %{buildroot}${CLXLIB}
|
||||||
install -d $RPM_BUILD_ROOT${LSPLIB}/fullnox
|
install -d %{buildroot}${LSPLIB}/fullnox
|
||||||
pushd ${SYSTEM}/clx/new-clx/
|
pushd ${SYSTEM}/clx/new-clx/
|
||||||
install -c -m 0444 README $RPM_BUILD_ROOT${CLXDOC}/
|
install -c -m 0444 README %{buildroot}${CLXDOC}/
|
||||||
install -c -m 0444 README.SuSE $RPM_BUILD_ROOT${CLXDOC}/
|
install -c -m 0444 README.SuSE %{buildroot}${CLXDOC}/
|
||||||
tar cf - demos/ | (cd $RPM_BUILD_ROOT${CLXDOC}/ ; tar xf - )
|
tar cf - demos/ | (cd %{buildroot}${CLXDOC}/ ; tar xf - )
|
||||||
rm -f $RPM_BUILD_ROOT${CLXDOC}/demos/clx-demos.lisp
|
|
||||||
popd
|
popd
|
||||||
pushd ${SYSTEM}/clx/
|
pushd ${SYSTEM}/clx/
|
||||||
tar xfz clx-manual.tar.gz -C $RPM_BUILD_ROOT${CLXDOC}
|
tar xfz clx-manual.tar.gz -C %{buildroot}${CLXDOC}
|
||||||
popd
|
popd
|
||||||
chmod -R g+r,o+r $RPM_BUILD_ROOT${LSPDOC}/
|
chmod -R g+r,o+r %{buildroot}${LSPDOC}/
|
||||||
find $RPM_BUILD_ROOT${LSPDOC} -type d | xargs chmod 755
|
find %{buildroot}${LSPDOC} -type d | xargs chmod 755
|
||||||
rm -f $RPM_BUILD_ROOT${CLXDOC}/*,v
|
rm -f %{buildroot}${CLXDOC}/*,v
|
||||||
rm -f $RPM_BUILD_ROOT${CLXDOC}/.\#*
|
rm -f %{buildroot}${CLXDOC}/.\#*
|
||||||
rm -f $RPM_BUILD_ROOT${CLXDOC}/demos/*,v
|
rm -f %{buildroot}${CLXDOC}/demos/*,v
|
||||||
rm -f $RPM_BUILD_ROOT${CLXDOC}/demos/.\#*
|
rm -f %{buildroot}${CLXDOC}/demos/.\#*
|
||||||
rm -f $RPM_BUILD_ROOT${CLXDOC}/demos/*.orig
|
rm -f %{buildroot}${CLXDOC}/demos/*.orig
|
||||||
find $RPM_BUILD_ROOT${LSPLIB}/ -name '*.dvi' | xargs -r rm -f
|
find %{buildroot}${LSPLIB}/ -name '*.dvi' | xargs -r rm -f
|
||||||
find $RPM_BUILD_ROOT${LSPLIB}/ -name '*.run' | xargs -r chmod 0755
|
find %{buildroot}${LSPLIB}/ -name '*.run' | xargs -r chmod 0755
|
||||||
%find_lang clisp
|
%find_lang clisp
|
||||||
%find_lang clisplow clisp.lang
|
%find_lang clisplow clisp.lang
|
||||||
|
|
||||||
%files -f clisp.lang
|
%files -f clisp.lang
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc %{_docdir}/clisp/
|
%doc %{_docdir}/clisp/
|
||||||
/usr/bin/clisp
|
%{_bindir}/clisp
|
||||||
%{_libdir}/clisp/
|
%{_libdir}/clisp-%{version}/
|
||||||
/usr/share/emacs/site-lisp/clhs.el
|
%{_datadir}/emacs/site-lisp/clhs.el
|
||||||
/usr/share/emacs/site-lisp/clisp-coding.el
|
%{_datadir}/emacs/site-lisp/clisp-coding.el
|
||||||
/usr/share/emacs/site-lisp/clisp-ffi.el
|
%{_datadir}/emacs/site-lisp/clisp-ffi.el
|
||||||
/usr/share/emacs/site-lisp/clisp-indent.el
|
%{_datadir}/emacs/site-lisp/clisp-indent.el
|
||||||
/usr/share/emacs/site-lisp/clisp-indent.lisp
|
%{_datadir}/emacs/site-lisp/clisp-indent.lisp
|
||||||
|
%{vimdir}/lisp.vim
|
||||||
%doc %{_mandir}/man1/clisp.1.gz
|
%doc %{_mandir}/man1/clisp.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 17 2007 - werner@suse.de
|
||||||
|
- Add workaround to gcc bug in -O2 on i386
|
||||||
|
* Fri Dec 14 2007 - werner@suse.de
|
||||||
|
- Update to 2.43
|
||||||
|
* Infrastructure:
|
||||||
|
+ Top-level configure now accepts a new option --vimdir which specifies
|
||||||
|
the installation directory for the VIM files (lisp.vim).
|
||||||
|
The default value is ${datadir}/vim/vimfiles/after/syntax/.
|
||||||
|
Thus, lisp.vim is now installed by "make install", and should
|
||||||
|
be included in the 3rd party distributions.
|
||||||
|
+ Top-level configure now always runs makemake, and makemake no longer is
|
||||||
|
a "user-level" command; do not run it unless you know what you are doing.
|
||||||
|
This brings the CLISP build process in compliance with the GNU standards.
|
||||||
|
+ We now use gnulib-tool to sync with gnulib (not really user visible,
|
||||||
|
but a major infrastructure change).
|
||||||
|
* Portability:
|
||||||
|
+ Support for ancient systems with broken CPP have been dropped.
|
||||||
|
This includes AIX 4.2, Coherent386, Ultrix, MSVC4, MSVC5.
|
||||||
|
+ NeXT application (GUI) code has been removed. Plain TTY is still supported.
|
||||||
|
* Module berkeley-db now supports Berkeley DB 4.5 & 4.6.
|
||||||
|
* Bug fixes:
|
||||||
|
+ FORCE-OUTPUT breakage on MacOS X when stdout is not a terminal. [ 1827572 ]
|
||||||
|
+ Fixed *PRINT-PPRINT-DISPATCH* binding in WITH-STANDARD-IO-SYNTAX.
|
||||||
|
[ 1831367 ]
|
||||||
|
- Update to 2.42
|
||||||
|
* New module gtk2 interfaces to GTK+ v2 and makes it possible to build
|
||||||
|
GUI with Glade.
|
||||||
|
Thanks to James Bailey <dgym.bailey@gmail.com> for the original code.
|
||||||
|
See <http://clisp.cons.org/impnotes/gtk.html> for details.
|
||||||
|
* New module gdbm interfaces to GNU DataBase Manager.
|
||||||
|
Thanks to Masayuki Onjo <masayuki.onjo@gmail.com>.
|
||||||
|
See <http://clisp.cons.org/impnotes/gdbm.html> for details.
|
||||||
|
* A kind of Meta-Object Protocol for structures is now available.
|
||||||
|
See <http://clisp.cons.org/impnotes/defstruct-mop.html> for details.
|
||||||
|
* Module libsvm has been upgraded to the upstream version 2.84.
|
||||||
|
See <http://clisp.cons.org/impnotes/libsvm.html> for details.
|
||||||
|
* NEW-CLX module now supports Stumpwm <http://www.nongnu.org/stumpwm/>.
|
||||||
|
Thanks to Shawn Betts <sabetts@vcn.bc.ca>.
|
||||||
|
New NEW-CLX demos: bball bwindow greynetic hanoi petal plaid recurrence from
|
||||||
|
<http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/gui/clx/clx_demo.cl>.
|
||||||
|
New NEW-CLX demo: clclock based on <http://common-lisp.net/~crhodes/clx>.
|
||||||
|
New function XLIB:OPEN-DEFAULT-DISPLAY from portable CLX.
|
||||||
|
* Function EXT:ARGLIST now works on macros too.
|
||||||
|
See <http://clisp.cons.org/impnotes/flow-dict.html#arglist> for details.
|
||||||
|
* Macro TRACE has a new option :BINDINGS, which is useful to share data
|
||||||
|
between PRE-* and POST-* forms.
|
||||||
|
See <http://clisp.cons.org/environment-dict.html#trace> for details.
|
||||||
|
* Macro FFI:DEF-C-TYPE can now be called with one argument to define an
|
||||||
|
integer type.
|
||||||
|
See <http://clisp.cons.org/impnotes/dffi.html#def-c-type> for details.
|
||||||
|
* New function EXT:RENAME-DIR can be used to rename directories.
|
||||||
|
See <http://clisp.cons.org/impnotes/file-dict.html#rename-dir> for details.
|
||||||
|
* Functions FILE-LENGTH and FILE-POSITION now work on unbuffered streams too.
|
||||||
|
See <http://clisp.cons.org/impnotes/stream-dict.html#file-pos> for details.
|
||||||
|
* Bug fixes:
|
||||||
|
+ Fixed EXT:LETF to work with more than one place. [ 1731462 ]
|
||||||
|
+ Fixed rounding of long floats [even+1/2]. [ 1589311 ]
|
||||||
|
+ Fixed stdio when running without a TTY, e.g., under SSH. [ 1592343 ]
|
||||||
|
+ ANSI compliance: PPRINT dispatch is now respected for nested
|
||||||
|
objects, not just the top-level. [ 1483768, 1598053 ]
|
||||||
|
+ Fixed print-read-consistency of strings containing #\Return characters
|
||||||
|
(manifested by COMPILE-FILE). [ 1578179 ]
|
||||||
|
+ Fixed "clisp-link run". [ 1469663 ]
|
||||||
|
+ Fixed ATANH branch cut continuity. [ 1436987 ]
|
||||||
|
+ Reset the function lambda expression when loading a compiled file.
|
||||||
|
[ 1603260 ]
|
||||||
|
+ DOCUMENTATION set by SETF is now preserved by COMPILE. [ 1604579 ]
|
||||||
|
+ LISTEN now calls STREAM-LISTEN as per the Gray proposal. [ 1607666 ]
|
||||||
|
+ IMPORT into the KEYWORD package does not make a symbol a constant
|
||||||
|
variable. [ 1612859 ]
|
||||||
|
+ DEFPACKAGE code was executed during non top-level compilation. [ 1612313 ]
|
||||||
|
+ Fixed format error message formatting. [ 1482465 ]
|
||||||
|
+ Fixed *PPRINT-FIRST-NEWLINE* handling. [ 1412454 ]
|
||||||
|
+ Improved hash code generation for very large bignums and for long lists.
|
||||||
|
[ 948868, 1208124 ]
|
||||||
|
+ Some bugs related to UNICODE-16 & UNICODE-32. [ 1564818, 1631760, 1632718 ]
|
||||||
|
+ All exported defined symbols are now properly locked. [ 1713130 ]
|
||||||
|
+ Berkeley-DB module no longer fills up error log file. [ 1779416 ]
|
||||||
|
+ New-clx now supports 64-bit KeySym. [ 1797132 ]
|
||||||
* Tue May 22 2007 - ro@suse.de
|
* Tue May 22 2007 - ro@suse.de
|
||||||
- update to 2.41
|
- update to 2.41
|
||||||
* New module libsvm interfaces to <http://www.csie.ntu.edu.tw/~cjlin/libsvm>
|
* New module libsvm interfaces to <http://www.csie.ntu.edu.tw/~cjlin/libsvm>
|
||||||
|
1758
ffcall_1.10+2.41-3.diff
Normal file
1758
ffcall_1.10+2.41-3.diff
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user