1 |
neurogeek 12/04/07 10:58:44 |
2 |
|
3 |
Added: sbcl-1.0.55_no_doc_install.patch |
4 |
gentoo-fix_linux-os-c.patch |
5 |
gentoo-fix_nopie_for_hardened_toolchain.patch |
6 |
gentoo_fix_waitpid_c.patch |
7 |
gentoo-fix_install_man.patch |
8 |
Removed: sbcl-1.0.36-fix_linux-os-c.patch |
9 |
disable-tests-gentoo.patch |
10 |
vanilla-module-install-source-gentoo.patch |
11 |
Log: |
12 |
Removed older versions |
13 |
|
14 |
(Portage version: 2.2.0_alpha95/cvs/Linux i686) |
15 |
|
16 |
Revision Changes Path |
17 |
1.1 dev-lisp/sbcl/files/sbcl-1.0.55_no_doc_install.patch |
18 |
|
19 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/sbcl-1.0.55_no_doc_install.patch?rev=1.1&view=markup |
20 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/sbcl-1.0.55_no_doc_install.patch?rev=1.1&content-type=text/plain |
21 |
|
22 |
Index: sbcl-1.0.55_no_doc_install.patch |
23 |
=================================================================== |
24 |
#Patch by Jesus Rivero <neurogeek@g.o> |
25 |
#Added: Mar 26, 2012 |
26 |
#Gentoo Specific, not sent upstream |
27 |
|
28 |
diff -uNr a/install.sh b/install.sh |
29 |
--- a/install.sh 2012-03-26 07:17:28.000000000 -0400 |
30 |
+++ b/install.sh 2012-03-26 07:17:56.000000000 -0400 |
31 |
@@ -101,52 +101,3 @@ |
32 |
# share/man/ manpages, should be the same as man/ |
33 |
# share/info/ info files |
34 |
# share/doc/ misc documentation |
35 |
- |
36 |
-echo |
37 |
-echo "Documentation:" |
38 |
- |
39 |
-# man |
40 |
-cp doc/sbcl.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl.1" |
41 |
-cp doc/sbcl-asdf-install.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl-asdf-install.1" |
42 |
- |
43 |
-# info |
44 |
-for info in doc/manual/*.info |
45 |
-do |
46 |
- cp $info "$BUILD_ROOT$INFO_DIR"/ \ |
47 |
- && BN=`basename $info` \ |
48 |
- && DIRFAIL=`install-info --info-dir="$BUILD_ROOT$INFO_DIR" \ |
49 |
- "$BUILD_ROOT$INFO_DIR"/$BN > /dev/null 2>&1 \ |
50 |
- || echo "(could not add to system catalog)"` \ |
51 |
- && echo " info $BUILD_ROOT$INFO_DIR/`basename $info` [$BUILD_ROOT$INFO_DIR/dir] $DIRFAIL" |
52 |
-done |
53 |
- |
54 |
-for info in doc/manual/*.info-* |
55 |
-do |
56 |
- cp $info "$BUILD_ROOT$INFO_DIR"/ \ |
57 |
- && echo " info $BUILD_ROOT$INFO_DIR/`basename $info`" |
58 |
-done |
59 |
- |
60 |
-# pdf |
61 |
-for pdf in doc/manual/*.pdf |
62 |
-do |
63 |
- cp $pdf "$BUILD_ROOT$DOC_DIR"/ \ |
64 |
- && echo " pdf $BUILD_ROOT$DOC_DIR/`basename $pdf`" |
65 |
-done |
66 |
- |
67 |
-# html |
68 |
-for html in doc/manual/sbcl doc/manual/asdf |
69 |
-do |
70 |
- test -d $html && cp -R -L $html "$BUILD_ROOT$DOC_DIR"/html \ |
71 |
- && echo " html $BUILD_ROOT$DOC_DIR/html/`basename $html`/index.html" |
72 |
-done |
73 |
- |
74 |
-for html in doc/manual/sbcl.html doc/manual/asdf.html |
75 |
-do |
76 |
- cp $html "$BUILD_ROOT$DOC_DIR"/ \ |
77 |
- && echo " html $BUILD_ROOT$DOC_DIR/`basename $html`" |
78 |
-done |
79 |
- |
80 |
-for f in BUGS CREDITS COPYING NEWS |
81 |
-do |
82 |
- cp $f "$BUILD_ROOT$DOC_DIR"/ |
83 |
-done |
84 |
|
85 |
|
86 |
|
87 |
|
88 |
1.1 dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch |
89 |
|
90 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch?rev=1.1&view=markup |
91 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch?rev=1.1&content-type=text/plain |
92 |
|
93 |
Index: gentoo-fix_linux-os-c.patch |
94 |
=================================================================== |
95 |
--- a/src/runtime/linux-os.c 2009-05-01 13:30:51.000000000 +0300 |
96 |
+++ b/src/runtime/linux-os.c 2010-03-24 02:30:48.000000000 +0200 |
97 |
@@ -56,11 +56,7 @@ |
98 |
#include "cheneygc-internal.h" |
99 |
#endif |
100 |
|
101 |
-#ifdef LISP_FEATURE_X86 |
102 |
-/* Prototype for personality(2). Done inline here since the header file |
103 |
- * for this isn't available on old versions of glibc. */ |
104 |
int personality (unsigned long); |
105 |
-#endif |
106 |
|
107 |
size_t os_vm_page_size; |
108 |
|
109 |
|
110 |
|
111 |
1.1 dev-lisp/sbcl/files/gentoo-fix_nopie_for_hardened_toolchain.patch |
112 |
|
113 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo-fix_nopie_for_hardened_toolchain.patch?rev=1.1&view=markup |
114 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo-fix_nopie_for_hardened_toolchain.patch?rev=1.1&content-type=text/plain |
115 |
|
116 |
Index: gentoo-fix_nopie_for_hardened_toolchain.patch |
117 |
=================================================================== |
118 |
diff -ur b/src/runtime/Config.x86-linux a/src/runtime/Config.x86-linux |
119 |
--- b/src/runtime/Config.x86-linux 2012-01-09 02:08:10.000000000 +0000 |
120 |
+++ a/src/runtime/Config.x86-linux 2012-02-02 14:32:56.000000000 +0000 |
121 |
@@ -27,7 +27,7 @@ |
122 |
# (You *are* encouraged to design and implement a coherent stable |
123 |
# interface, though.:-| As far as I (WHN 2002-05-19) know, no one is |
124 |
# working on one and it would be a nice thing to have.) |
125 |
-LINKFLAGS += -Wl,--export-dynamic -m32 |
126 |
+LINKFLAGS += -Wl,--export-dynamic -m32 -nopie |
127 |
OS_LIBS = -ldl |
128 |
|
129 |
ifdef LISP_FEATURE_LARGEFILE |
130 |
diff -ur b/src/runtime/Config.x86_64-linux a/src/runtime/Config.x86_64-linux |
131 |
--- b/src/runtime/Config.x86_64-linux 2012-01-09 02:08:10.000000000 +0000 |
132 |
+++ a/src/runtime/Config.x86_64-linux 2012-02-02 14:32:44.000000000 +0000 |
133 |
@@ -27,7 +27,7 @@ |
134 |
# (You *are* encouraged to design and implement a coherent stable |
135 |
# interface, though.:-| As far as I (WHN 2002-05-19) know, no one is |
136 |
# working on one and it would be a nice thing to have.) |
137 |
-LINKFLAGS += -Wl,--export-dynamic |
138 |
+LINKFLAGS += -Wl,--export-dynamic -nopie |
139 |
OS_LIBS = -ldl |
140 |
|
141 |
ifdef LISP_FEATURE_LARGEFILE |
142 |
|
143 |
|
144 |
|
145 |
1.1 dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch |
146 |
|
147 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch?rev=1.1&view=markup |
148 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo_fix_waitpid_c.patch?rev=1.1&content-type=text/plain |
149 |
|
150 |
Index: gentoo_fix_waitpid_c.patch |
151 |
=================================================================== |
152 |
diff -uNr sbcl-1.0.55.orig/src/runtime/run-program.c sbcl-1.0.55/src/runtime/run-program.c |
153 |
--- a/src/runtime/run-program.c 2012-03-26 06:01:42.000000000 -0400 |
154 |
+++ b/src/runtime/run-program.c 2012-03-26 06:02:07.000000000 -0400 |
155 |
@@ -20,6 +20,7 @@ |
156 |
#include <stdlib.h> |
157 |
#include <sys/file.h> |
158 |
#include <sys/types.h> |
159 |
+#include <sys/wait.h> |
160 |
#include <signal.h> |
161 |
#include <sys/stat.h> |
162 |
#include <fcntl.h> |
163 |
|
164 |
|
165 |
|
166 |
1.1 dev-lisp/sbcl/files/gentoo-fix_install_man.patch |
167 |
|
168 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo-fix_install_man.patch?rev=1.1&view=markup |
169 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lisp/sbcl/files/gentoo-fix_install_man.patch?rev=1.1&content-type=text/plain |
170 |
|
171 |
Index: gentoo-fix_install_man.patch |
172 |
=================================================================== |
173 |
diff --git a/install.sh b/install.sh |
174 |
index 1400791..ac149c1 100644 |
175 |
--- a/install.sh |
176 |
+++ b/install.sh |
177 |
@@ -106,6 +106,7 @@ echo "Documentation:" |
178 |
|
179 |
# man |
180 |
cp doc/sbcl.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl.1" |
181 |
+cp doc/sbcl-asdf-install.1 "$BUILD_ROOT$MAN_DIR"/man1/ && echo " man $BUILD_ROOT$MAN_DIR/man1/sbcl-asdf-install.1" |
182 |
|
183 |
# info |
184 |
for info in doc/manual/*.info |