1 |
gienah 15/02/01 01:46:12 |
2 |
|
3 |
Added: sbcl-1.0.55-newglibc.patch |
4 |
Log: |
5 |
Fix Bug 463882 - dev-lisp/sbcl-1.0.55-r1 - x86-64-linux-os.c:93:1: error: REG_RAX undeclared (first use in this function). Thanks to Bernardo Costa for reporting, Coacher for supplying the pointer to the patch from upstream that is applied to fix the problem, Juergen Rose and Guenther Brunthaler for supplying build logs, Vasiliy, Nuno Silva, patrick, blueboar, jer, pchrist and tomwij for helping. Apply fix for Bug 526194 - dev-lisp/sbcl-1.2.4 does not respect CFLAGS and LDFLAGS to sbcl-1.0.55-r1 |
6 |
|
7 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 618E971F) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/sbcl-1.0.55-newglibc.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: sbcl-1.0.55-newglibc.patch |
16 |
=================================================================== |
17 |
Fixes for glibc 2.17. |
18 |
|
19 |
linux-os.c is just a missing header (for personality()). |
20 |
|
21 |
In x86-64-linux-os.c, __USE_GNU is a glibc-internal name that features.h |
22 |
defines; _GNU_SOURCE is what it should actually be using to get GNU extensions. |
23 |
|
24 |
diff -x config.log -x config.status -ru tmp/sbcl-1.1.2/src/runtime/linux-os.c work/sbcl-1.1.2/src/runtime/linux-os.c |
25 |
--- tmp/sbcl-1.1.2/src/runtime/linux-os.c 2012-12-01 11:32:38.000000000 +0000 |
26 |
+++ work/sbcl-1.1.2/src/runtime/linux-os.c 2012-12-31 01:20:37.619000000 +0000 |
27 |
@@ -46,6 +46,7 @@ |
28 |
#include <sys/stat.h> |
29 |
#include <unistd.h> |
30 |
#include <linux/version.h> |
31 |
+#include <sys/personality.h> |
32 |
|
33 |
#include "validate.h" |
34 |
#include "thread.h" |
35 |
diff -x config.log -x config.status -ru tmp/sbcl-1.1.2/src/runtime/x86-64-linux-os.c work/sbcl-1.1.2/src/runtime/x86-64-linux-os.c |
36 |
--- tmp/sbcl-1.1.2/src/runtime/x86-64-linux-os.c 2012-12-01 11:32:38.000000000 +0000 |
37 |
+++ work/sbcl-1.1.2/src/runtime/x86-64-linux-os.c 2012-12-31 01:20:25.450000000 +0000 |
38 |
@@ -14,6 +14,9 @@ |
39 |
* files for more information. |
40 |
*/ |
41 |
|
42 |
+/* This is to get REG_RAX etc. from sys/ucontext.h. */ |
43 |
+#define _GNU_SOURCE |
44 |
+ |
45 |
#include <stdio.h> |
46 |
#include <stddef.h> |
47 |
#include <sys/param.h> |
48 |
@@ -21,11 +24,7 @@ |
49 |
#include <sys/types.h> |
50 |
#include <unistd.h> |
51 |
#include <errno.h> |
52 |
- |
53 |
-#define __USE_GNU |
54 |
#include <sys/ucontext.h> |
55 |
-#undef __USE_GNU |
56 |
- |
57 |
|
58 |
#include "./signal.h" |
59 |
#include "os.h" |