rpms/sbcl/F-9 sbcl-1.0.16-GNU_SOURCE.patch, NONE, 1.1 sbcl-1.0.16-optflags.patch, NONE, 1.1 .cvsignore, 1.36, 1.37 sbcl.spec, 1.85, 1.86 sources, 1.37, 1.38 sbcl-1.0-optflags.patch, 1.1, NONE

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Fri Apr 25 15:29:11 UTC 2008


Author: rdieter

Update of /cvs/pkgs/rpms/sbcl/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11005

Modified Files:
	.cvsignore sbcl.spec sources 
Added Files:
	sbcl-1.0.16-GNU_SOURCE.patch sbcl-1.0.16-optflags.patch 
Removed Files:
	sbcl-1.0-optflags.patch 
Log Message:
* Sat Apr 25 2008 Rex Dieter <rdieter at fedoraproject.org> - 1.0.16-1
- sbcl-1.0.16


sbcl-1.0.16-GNU_SOURCE.patch:

--- NEW FILE sbcl-1.0.16-GNU_SOURCE.patch ---
diff -up sbcl-1.0.16/contrib/asdf-module.mk.GNU_SOURCE sbcl-1.0.16/contrib/asdf-module.mk
--- sbcl-1.0.16/contrib/asdf-module.mk.GNU_SOURCE	2008-04-25 09:30:41.000000000 -0500
+++ sbcl-1.0.16/contrib/asdf-module.mk	2008-04-25 09:30:34.000000000 -0500
@@ -9,6 +9,9 @@ CC=gcc
 
 UNAME:=$(shell uname -s)
 
+ifeq (Linux,$(UNAME))
+  EXTRA_CFLAGS+=-D_GNU_SOURCE
+endif
 ifeq (SunOS,$(UNAME))
   EXTRA_CFLAGS=-D_XOPEN_SOURCE=500 -D__EXTENSIONS__
 endif

sbcl-1.0.16-optflags.patch:

--- NEW FILE sbcl-1.0.16-optflags.patch ---
diff -up sbcl-1.0.16/contrib/asdf-module.mk.optflags sbcl-1.0.16/contrib/asdf-module.mk
--- sbcl-1.0.16/contrib/asdf-module.mk.optflags	2008-04-25 09:23:25.000000000 -0500
+++ sbcl-1.0.16/contrib/asdf-module.mk	2008-04-25 09:23:35.000000000 -0500
@@ -16,6 +16,8 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME
   EXTRA_CFLAGS=-mno-cygwin
 endif
 
+EXTRA_CFLAGS += $(RPM_OPT_FLAGS)
+
 export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS
 
 all: $(EXTRA_ALL_TARGETS)
diff -up sbcl-1.0.16/src/runtime/Config.ppc-linux.optflags sbcl-1.0.16/src/runtime/Config.ppc-linux
--- sbcl-1.0.16/src/runtime/Config.ppc-linux.optflags	2006-11-19 05:26:16.000000000 -0600
+++ sbcl-1.0.16/src/runtime/Config.ppc-linux	2008-04-25 09:02:38.000000000 -0500
@@ -9,7 +9,7 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-CFLAGS = -g
+CFLAGS += $(RPM_OPT_FLAGS)
 LINKFLAGS += -v -rdynamic
 NM = ./linux-nm
 
diff -up sbcl-1.0.16/src/runtime/Config.sparc-linux.optflags sbcl-1.0.16/src/runtime/Config.sparc-linux
--- sbcl-1.0.16/src/runtime/Config.sparc-linux.optflags	2005-09-16 08:26:39.000000000 -0500
+++ sbcl-1.0.16/src/runtime/Config.sparc-linux	2008-04-25 09:02:38.000000000 -0500
@@ -10,6 +10,7 @@
 # files for more information.
 
 ASFLAGS = -g -Wall
+CFLAGS += $(RPM_OPT_FLAGS)
 LINKFLAGS += -v -rdynamic
 NM = ./linux-nm
 
diff -up sbcl-1.0.16/src/runtime/Config.x86_64-linux.optflags sbcl-1.0.16/src/runtime/Config.x86_64-linux
--- sbcl-1.0.16/src/runtime/Config.x86_64-linux.optflags	2006-11-13 10:03:31.000000000 -0600
+++ sbcl-1.0.16/src/runtime/Config.x86_64-linux	2008-04-25 09:02:38.000000000 -0500
@@ -34,7 +34,7 @@ ifdef LISP_FEATURE_SB_THREAD
   OS_LIBS += -lpthread
 endif
 
-CFLAGS += -fno-omit-frame-pointer
+CFLAGS += -fno-omit-frame-pointer $(RPM_OPT_FLAGS)
 
 GC_SRC = gencgc.c
 
diff -up sbcl-1.0.16/src/runtime/Config.x86-linux.optflags sbcl-1.0.16/src/runtime/Config.x86-linux
--- sbcl-1.0.16/src/runtime/Config.x86-linux.optflags	2006-11-13 10:03:31.000000000 -0600
+++ sbcl-1.0.16/src/runtime/Config.x86-linux	2008-04-25 09:02:38.000000000 -0500
@@ -38,6 +38,8 @@ ifdef LISP_FEATURE_SB_THREAD
   OS_LIBS += -lpthread
 endif
 
+CFLAGS += $(RPM_OPT_FLAGS)
+
 GC_SRC = gencgc.c
 
 # Nothing to do for after-grovel-headers.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sbcl/F-9/.cvsignore,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- .cvsignore	6 Mar 2008 18:40:09 -0000	1.36
+++ .cvsignore	25 Apr 2008 15:28:35 -0000	1.37
@@ -1 +1 @@
-sbcl-1.0.15-source.tar.bz2
+sbcl-1.0.16-source.tar.bz2


Index: sbcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sbcl/F-9/sbcl.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- sbcl.spec	10 Apr 2008 17:54:19 -0000	1.85
+++ sbcl.spec	25 Apr 2008 15:28:35 -0000	1.86
@@ -4,7 +4,7 @@
 #define min_bootstrap 1
 
 # define to enable verbose build for debugging
-%define sbcl_verbose 1 
+#define sbcl_verbose 1 
 %define sbcl_shell /bin/bash
 
 # threading support
@@ -12,8 +12,8 @@
 
 Name: 	 sbcl
 Summary: Steel Bank Common Lisp
-Version: 1.0.15
-Release: 2%{?dist}
+Version: 1.0.16
+Release: 1%{?dist}
 
 License: BSD
 Group: 	 Development/Languages
@@ -27,7 +27,7 @@
 Source2: customize-target-features.lisp 
 
 ## x86 section
-#Source10: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-1.0.5-x86-linux-binary.tar.bz2
+#Source10: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.0.15-x86-linux-binary.tar.bz2
 %ifarch %{ix86}
 %define sbcl_arch x86
 BuildRequires: sbcl
@@ -36,7 +36,7 @@
 %endif
 
 ## x86_64 section
-#Source20: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-1.0.5-x86-64-linux-binary.tar.bz2
+#Source20: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.0.15-x86-64-linux-binary.tar.bz2
 %ifarch x86_64
 %define sbcl_arch x86-64
 BuildRequires: sbcl
@@ -56,7 +56,7 @@
 %endif
 
 ## sparc section
-#Source40: http://dl.sourceforge.net/sourceforge/sbcl/sbcl-0.9.17-sparc-linux-binary.tar.bz2
+#Source40: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-0.9.17-sparc-linux-binary.tar.bz2
 %ifarch sparc 
 %define sbcl_arch sparc 
 BuildRequires: sbcl
@@ -68,9 +68,9 @@
 
 Patch1: sbcl-0.8.18-default-sbcl-home.patch
 Patch2: sbcl-0.9.5-personality.patch
-Patch3: sbcl-1.0-optflags.patch
+Patch3: sbcl-1.0.16-optflags.patch
 Patch4: sbcl-0.9.17-LIB_DIR.patch
-
+Patch5: sbcl-1.0.16-GNU_SOURCE.patch
 Patch6: sbcl-0.9.5-verbose-build.patch
 # Allow override of contrib test failure(s)
 Patch7: sbcl-1.0.2-permissive.patch
@@ -103,11 +103,12 @@
 %patch2 -p1 -b .personality
 %patch3 -p1 -b .optflags
 %patch4 -p1 -b .LIB_DIR
+%patch5 -p1 -b .GNU_SOURCE
 %{?sbcl_verbose:%patch6 -p1 -b .verbose-build}
 %patch7 -p1 -b .permissive
 %patch8 -p1 -b .binutils
 
-%if "%{?_with_threads:1}" == "1"
+%if 0%{?_with_threads:1}
 ## Enable sb-thread
 %ifarch %{ix86} x86_64
 #sed -i -e "s|; :sb-thread|:sb-thread|" base-target-features.lisp-expr
@@ -130,8 +131,6 @@
 
 %build
 
-export CFLAGS="%{optflags}"
-
 # setup local bootstrap
 %if "%{?sbcl_bootstrap_src}" != "%{nil}"
 export SBCL_HOME=`pwd`/sbcl-bootstrap/lib/sbcl
@@ -144,13 +143,11 @@
 
 # WORKAROUND sb-posix STAT.2, STAT.4 test failures (fc3/fc4 only, fc5 passes?)
 # http://bugzilla.redhat.com/169506
-touch contrib/sb-posix/test-passed
+#touch contrib/sb-posix/test-passed
 # WORKAROUND sb-bsd-sockets test failures
 # http://bugzilla.redhat.com/214568
-touch contrib/sb-bsd-sockets/test-passed
+#touch contrib/sb-bsd-sockets/test-passed
 
-# trick contrib/ modules to use optflags too 
-export EXTRA_CFLAGS="$CFLAGS"
 export DEFAULT_SBCL_HOME=%{_libdir}/sbcl
 %{?sbcl_arch:export SBCL_ARCH=%{sbcl_arch}}
 %{?setarch} %{?my_setarch} %{?sbcl_shell} ./make.sh %{?bootstrap}
@@ -171,14 +168,11 @@
     ERROR=1 
   fi
 done
-# omit for now, sbcl-1.0.14+ hangs on room.test.sh
-%if 0
 pushd tests 
 # Only x86 builds are expected to pass all
 # Don't worry about thread.impure failure(s), threading is optional anyway.
 %{?setarch} %{?sbcl_shell} ./run-tests.sh ||:
 popd
-%endif
 exit $ERROR
 
 
@@ -239,6 +233,9 @@
 
 
 %changelog
+* Sat Apr 25 2008 Rex Dieter <rdieter at fedoraproject.org> - 1.0.16-1
+- sbcl-1.0.16
+
 * Thu Apr 10 2008 Rex Dieter <rdieter at fedoraproject.org> - 1.0.15-2
 - binutils patch
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sbcl/F-9/sources,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- sources	6 Mar 2008 18:40:09 -0000	1.37
+++ sources	25 Apr 2008 15:28:35 -0000	1.38
@@ -1 +1 @@
-d3d95ae10684a3cfc59e427ec533ee68  sbcl-1.0.15-source.tar.bz2
+7256bed59a34b0a3efef540711bd3786  sbcl-1.0.16-source.tar.bz2


--- sbcl-1.0-optflags.patch DELETED ---




More information about the fedora-extras-commits mailing list