rpms/sbcl/devel sbcl-0.9.13-PIC.patch,NONE,1.1 sbcl.spec,1.45,1.46

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Tue Jun 20 13:15:48 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/sbcl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18279

Modified Files:
	sbcl.spec 
Added Files:
	sbcl-0.9.13-PIC.patch 
Log Message:
* Tue Jun 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-3
- use -fPIC in threads.impure.lisp


sbcl-0.9.13-PIC.patch:

--- NEW FILE sbcl-0.9.13-PIC.patch ---
--- sbcl-0.9.13/tests/threads.impure.lisp.PIC	2006-01-05 14:00:40.000000000 -0600
+++ sbcl-0.9.13/tests/threads.impure.lisp	2006-06-20 08:09:40.000000000 -0500
@@ -82,7 +82,7 @@
   (format o "void loop_forever() { while(1) ; }~%"))
 (sb-ext:run-program
  "cc"
- (or #+linux '("-shared" "-o" "threads-foreign.so" "threads-foreign.c")
+ (or #+linux '("-fPIC" "-shared" "-o" "threads-foreign.so" "threads-foreign.c")
      (error "Missing shared library compilation options for this platform"))
  :search t)
 (sb-alien:load-shared-object "threads-foreign.so")


Index: sbcl.spec
===================================================================
RCS file: /cvs/extras/rpms/sbcl/devel/sbcl.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- sbcl.spec	30 May 2006 20:24:54 -0000	1.45
+++ sbcl.spec	20 Jun 2006 13:15:47 -0000	1.46
@@ -61,6 +61,8 @@
 Patch6: sbcl-0.9.5-verbose-build.patch
 # Allow override of contrib test failure(s)
 Patch7: sbcl-0.9.9-permissive.patch
+# use -fPIC in threads.impure.lisp
+Patch8: sbcl-0.9.13-PIC.patch
 
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -92,6 +94,7 @@
 #patch5 -p1 -b .make-config-ppc
 %{?sbcl_verbose:%patch6 -p1 -b .verbose-build}
 %patch7 -p1 -b .permissive
+%patch8 -p1 -b .PIC
 
 # Enable sb-thread
 %ifarch %{ix86} x86_64
@@ -216,6 +219,9 @@
 
 
 %changelog
+* Tue Jun 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-3
+- use -fPIC in threads.impure.lisp
+
 * Tue May 30 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2
 - 0.9.13
 




More information about the fedora-extras-commits mailing list