Hello community,

here is the log from the commit of package sbcl for openSUSE:Factory checked in 
at 2012-11-21 17:22:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sbcl (Old)
 and      /work/SRC/openSUSE:Factory/.sbcl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sbcl", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/sbcl/sbcl.changes        2012-11-05 
06:33:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sbcl.new/sbcl.changes   2012-11-21 
17:22:30.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov 17 08:02:01 UTC 2012 - [email protected]
+
+- Fix build with glibc 2.17 (add patch sbcl-glibc217.patch)
+
+-------------------------------------------------------------------

New:
----
  sbcl-glibc217.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sbcl.spec ++++++
--- /var/tmp/diff_new_pack.XjGfJg/_old  2012-11-21 17:22:31.000000000 +0100
+++ /var/tmp/diff_new_pack.XjGfJg/_new  2012-11-21 17:22:31.000000000 +0100
@@ -42,6 +42,8 @@
 Patch0:         sbcl-1.0.54-optflags.patch
 # PATCH-FIX-OPENSUSE  dont-split-doc.patch from debian author unknown --don't 
split docs
 Patch1:         dont-split-doc.patch
+# PATCH-FIX-OPENSUSE Fix includes for compilation with glibc 2.17
+Patch2:         sbcl-glibc217.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -55,6 +57,8 @@
 %setup -q
 %patch0 -p1 -b optflags
 %patch1 -p1 -b docpatch
+%patch2 -p1 -b glibc217
+
 sed -i -e "s|\"%version\"|\"%version-%release-%_vendor\"|" version.lisp-expr
 
 %build

++++++ sbcl-glibc217.patch ++++++
Index: sbcl-1.1.1/src/runtime/x86-64-linux-os.c
===================================================================
--- sbcl-1.1.1.orig/src/runtime/x86-64-linux-os.c
+++ sbcl-1.1.1/src/runtime/x86-64-linux-os.c
@@ -14,6 +14,8 @@
  * files for more information.
  */
 
+#define _GNU_SOURCE 1
+
 #include <stdio.h>
 #include <stddef.h>
 #include <sys/param.h>
@@ -22,10 +24,7 @@
 #include <unistd.h>
 #include <errno.h>
 
-#define __USE_GNU
 #include <sys/ucontext.h>
-#undef __USE_GNU
-
 
 #include "./signal.h"
 #include "os.h"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to