1 |
commit: 3e2c9538f3452f7d8fdea1de3bf92cc24c0bf750 |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 07:58:14 2018 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 07:58:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=3e2c9538 |
7 |
|
8 |
dev-lisp/cmucl: Drop old version |
9 |
|
10 |
dev-lisp/cmucl/cmucl-21a.ebuild | 92 ---------------- |
11 |
dev-lisp/cmucl/files/21a-build.patch | 22 ---- |
12 |
...21a-customize-lisp-implementation-version.patch | 16 --- |
13 |
dev-lisp/cmucl/files/21a-execstack-fixes.patch | 118 --------------------- |
14 |
4 files changed, 248 deletions(-) |
15 |
|
16 |
diff --git a/dev-lisp/cmucl/cmucl-21a.ebuild b/dev-lisp/cmucl/cmucl-21a.ebuild |
17 |
deleted file mode 100644 |
18 |
index f3f9b830..00000000 |
19 |
--- a/dev-lisp/cmucl/cmucl-21a.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,92 +0,0 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
-inherit eutils toolchain-funcs multilib |
27 |
- |
28 |
-MY_PV=${PV:0:3} |
29 |
- |
30 |
-DESCRIPTION="CMU Common Lisp is an implementation of ANSI Common Lisp" |
31 |
-HOMEPAGE="http://www.cons.org/cmucl/" |
32 |
-SRC_URI="http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-src-${MY_PV}.tar.bz2 |
33 |
- http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-${MY_PV}-x86-linux.tar.bz2" |
34 |
- |
35 |
-LICENSE="public-domain" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~x86" |
38 |
-IUSE="X source" |
39 |
- |
40 |
-CDEPEND=">=dev-lisp/asdf-2.33-r3:= |
41 |
- x11-libs/motif:0" |
42 |
-DEPEND="${CDEPEND} |
43 |
- sys-devel/bc" |
44 |
-RDEPEND="${CDEPEND}" |
45 |
- |
46 |
-S="${WORKDIR}" |
47 |
- |
48 |
-TARGET=linux-4 |
49 |
- |
50 |
-src_prepare() { |
51 |
- epatch "${FILESDIR}"/${MY_PV}-execstack-fixes.patch |
52 |
- epatch "${FILESDIR}"/${MY_PV}-customize-lisp-implementation-version.patch |
53 |
- epatch "${FILESDIR}"/${MY_PV}-build.patch |
54 |
- |
55 |
- cp /usr/share/common-lisp/source/asdf/build/asdf.lisp src/contrib/asdf/ || die |
56 |
-} |
57 |
- |
58 |
-src_compile() { |
59 |
- local cmuopts buildimage |
60 |
- |
61 |
- if use X; then |
62 |
- cmuopts="" |
63 |
- else |
64 |
- cmuopts="-u" |
65 |
- fi |
66 |
- |
67 |
- buildimage="bin/lisp -batch" |
68 |
- |
69 |
- env CC="$(tc-getCC)" bin/build.sh -v "-gentoo-${PR}" -C "" -o "${buildimage}" ${cmuopts} || die "Cannot build the compiler" |
70 |
- |
71 |
- # Compile up the asdf and defsystem modules |
72 |
- ${TARGET}/lisp/lisp -noinit -nositeinit -batch << EOF || die |
73 |
-(in-package :cl-user) |
74 |
-(setf (ext:search-list "target:") |
75 |
- '("$TARGET/" "src/")) |
76 |
-(setf (ext:search-list "modules:") |
77 |
- '("target:contrib/")) |
78 |
- |
79 |
-(compile-file "modules:asdf/asdf") |
80 |
-(compile-file "modules:defsystem/defsystem") |
81 |
-EOF |
82 |
-} |
83 |
- |
84 |
-src_install() { |
85 |
- env MANDIR=share/man/man1 DOCDIR=share/doc/${PF} \ |
86 |
- bin/make-dist.sh -S -g -G root -O root ${TARGET} ${MY_PV} x86 linux \ |
87 |
- || die "Cannot build installation archive" |
88 |
- # Necessary otherwise tar will fail |
89 |
- dodir /usr |
90 |
- pushd "${D}"/usr > /dev/null |
91 |
- tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.tar.gz \ |
92 |
- || die "Cannot install main system" |
93 |
- if use X ; then |
94 |
- tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.extra.tar.gz \ |
95 |
- || die "Cannot install extra files" |
96 |
- fi |
97 |
- if use source; then |
98 |
- # Necessary otherwise tar will fail |
99 |
- dodir /usr/share/common-lisp/source/${PN} |
100 |
- cd "${D}"/usr/share/common-lisp/source/${PN} |
101 |
- tar --strip-components 1 -xzpf "${WORKDIR}"/cmucl-src-${MY_PV}.tar.gz \ |
102 |
- || die "Cannot install sources" |
103 |
- fi |
104 |
- popd > /dev/null |
105 |
- |
106 |
- # Install site config file |
107 |
- sed "s,@PF@,${PF},g ; s,@VERSION@,$(date +%F),g" \ |
108 |
- < "${FILESDIR}"/site-init.lisp.in \ |
109 |
- > "${D}"/usr/$(get_libdir)/cmucl/site-init.lisp \ |
110 |
- || die "Cannot fix site-init.lisp" |
111 |
- insinto /etc/common-lisp |
112 |
- doins "${FILESDIR}"/cmuclrc || die "Failed to install cmuclrc" |
113 |
-} |
114 |
|
115 |
diff --git a/dev-lisp/cmucl/files/21a-build.patch b/dev-lisp/cmucl/files/21a-build.patch |
116 |
deleted file mode 100644 |
117 |
index 46423410..00000000 |
118 |
--- a/dev-lisp/cmucl/files/21a-build.patch |
119 |
+++ /dev/null |
120 |
@@ -1,22 +0,0 @@ |
121 |
-diff -r -U2 21a.orig/bin/build.sh 21a/bin/build.sh |
122 |
---- 21a.orig/bin/build.sh 2015-05-19 07:42:40.000000000 +0600 |
123 |
-+++ 21a/bin/build.sh 2016-04-03 20:54:08.597016537 +0600 |
124 |
-@@ -40,5 +40,5 @@ |
125 |
- ENABLE4="yes" |
126 |
- |
127 |
--version=20f |
128 |
-+version=21a |
129 |
- SRCDIR=src |
130 |
- BINDIR=bin |
131 |
-@@ -145,10 +145,9 @@ |
132 |
- $TOOLDIR/load-world.sh $TARGET "$VERSION" || { echo "Failed: $TOOLDIR/load-world.sh"; exit 1; } |
133 |
- |
134 |
-- $TARGET/lisp/lisp -batch -noinit -nositeinit $FPU_MODE < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit $FPU_MODE"; exit 1; } |
135 |
-+ $TARGET/lisp/lisp -batch -noinit -nositeinit < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit"; exit 1; } |
136 |
- return 0; |
137 |
- fi |
138 |
- } |
139 |
- |
140 |
--FPU_MODE= |
141 |
- BUILDWORLD="$TOOLDIR/build-world.sh" |
142 |
- BUILD_POT="yes" |
143 |
|
144 |
diff --git a/dev-lisp/cmucl/files/21a-customize-lisp-implementation-version.patch b/dev-lisp/cmucl/files/21a-customize-lisp-implementation-version.patch |
145 |
deleted file mode 100644 |
146 |
index 8fc9278a..00000000 |
147 |
--- a/dev-lisp/cmucl/files/21a-customize-lisp-implementation-version.patch |
148 |
+++ /dev/null |
149 |
@@ -1,16 +0,0 @@ |
150 |
-diff -ur cmucl.orig/src/code/misc.lisp cmucl/src/code/misc.lisp |
151 |
---- cmucl.orig/src/code/misc.lisp 2011-10-25 05:31:39.000000000 +0200 |
152 |
-+++ cmucl/src/code/misc.lisp 2012-01-31 21:46:49.441273068 +0100 |
153 |
-@@ -187,8 +187,10 @@ |
154 |
- |
155 |
- (defun lisp-implementation-version () |
156 |
- "Returns a string describing the implementation version." |
157 |
-- (format nil "~A (~X~A)" *lisp-implementation-version* c:byte-fasl-file-version |
158 |
-- #+unicode _" Unicode" #-unicode "")) |
159 |
-+ (format nil "~X~A~A" |
160 |
-+ c:byte-fasl-file-version |
161 |
-+ #+unicode "-unicode" #-unicode "" |
162 |
-+ *lisp-implementation-version*)) |
163 |
- |
164 |
- (defun machine-instance () |
165 |
- "Returns a string giving the name of the local machine." |
166 |
|
167 |
diff --git a/dev-lisp/cmucl/files/21a-execstack-fixes.patch b/dev-lisp/cmucl/files/21a-execstack-fixes.patch |
168 |
deleted file mode 100644 |
169 |
index 034848d6..00000000 |
170 |
--- a/dev-lisp/cmucl/files/21a-execstack-fixes.patch |
171 |
+++ /dev/null |
172 |
@@ -1,118 +0,0 @@ |
173 |
-diff -Naur work.old/src/lisp/alpha-assem.S work/src/lisp/alpha-assem.S |
174 |
---- work.old/src/lisp/alpha-assem.S 2003-03-06 11:13:09.000000000 -0300 |
175 |
-+++ work/src/lisp/alpha-assem.S 2010-05-10 00:06:34.000000000 -0300 |
176 |
-@@ -297,3 +297,7 @@ |
177 |
- function_end_breakpoint_end: |
178 |
- |
179 |
- |
180 |
-+ |
181 |
-+#if defined(__linux__) && defined(__ELF__) |
182 |
-+.section .note.GNU-stack,"",%progbits |
183 |
-+#endif |
184 |
-diff -Naur work.old/src/lisp/amd64-assem.S work/src/lisp/amd64-assem.S |
185 |
---- work.old/src/lisp/amd64-assem.S 2004-07-27 19:03:53.000000000 -0300 |
186 |
-+++ work/src/lisp/amd64-assem.S 2010-05-10 00:06:34.000000000 -0300 |
187 |
-@@ -1051,3 +1051,7 @@ |
188 |
- .end |
189 |
- |
190 |
- #endif /* LINKAGE_TABLE */ |
191 |
-+ |
192 |
-+#if defined(__linux__) && defined(__ELF__) |
193 |
-+.section .note.GNU-stack,"",%progbits |
194 |
-+#endif |
195 |
-diff -Naur work.old/src/lisp/backtrace.c work/src/lisp/backtrace.c |
196 |
---- work.old/src/lisp/backtrace.c 2009-06-11 13:04:01.000000000 -0300 |
197 |
-+++ work/src/lisp/backtrace.c 2010-05-10 00:06:22.000000000 -0300 |
198 |
-@@ -3,6 +3,8 @@ |
199 |
- * Simple backtrace facility. More or less from Rob's lisp version. |
200 |
- */ |
201 |
- |
202 |
-+#include "os-common.h" |
203 |
-+ |
204 |
- #include <stdio.h> |
205 |
- #include <signal.h> |
206 |
- #include "lisp.h" |
207 |
-diff -Naur work.old/src/lisp/hppa-assem.S work/src/lisp/hppa-assem.S |
208 |
---- work.old/src/lisp/hppa-assem.S 2002-08-23 14:05:35.000000000 -0300 |
209 |
-+++ work/src/lisp/hppa-assem.S 2010-05-10 00:06:34.000000000 -0300 |
210 |
-@@ -460,3 +460,7 @@ |
211 |
- |
212 |
- .export function_end_breakpoint_end |
213 |
- function_end_breakpoint_end |
214 |
-+ |
215 |
-+#if defined(__linux__) && defined(__ELF__) |
216 |
-+.section .note.GNU-stack,"",%progbits |
217 |
-+#endif |
218 |
-diff -Naur work.old/src/lisp/linux-stubs.S work/src/lisp/linux-stubs.S |
219 |
---- work.old/src/lisp/linux-stubs.S 2005-08-17 00:40:16.000000000 -0300 |
220 |
-+++ work/src/lisp/linux-stubs.S 2010-05-10 00:06:34.000000000 -0300 |
221 |
-@@ -995,3 +995,7 @@ |
222 |
- /* doe(yperr_string) */ |
223 |
- /* doe(ypprot_err) */ |
224 |
- #endif /* defined(LINKAGE_TABLE) && !defined(__FreeBSD__) */ |
225 |
-+ |
226 |
-+#if defined(__linux__) && defined(__ELF__) |
227 |
-+.section .note.GNU-stack,"",%progbits |
228 |
-+#endif |
229 |
-diff -Naur work.old/src/lisp/lisp.c work/src/lisp/lisp.c |
230 |
---- work.old/src/lisp/lisp.c 2009-07-13 16:41:54.000000000 -0300 |
231 |
-+++ work/src/lisp/lisp.c 2010-05-10 00:05:55.000000000 -0300 |
232 |
-@@ -5,6 +5,9 @@ |
233 |
- * |
234 |
- */ |
235 |
- |
236 |
-+#include "os-common.h" |
237 |
-+#include <time.h> |
238 |
-+ |
239 |
- #include <stdio.h> |
240 |
- #include <stdlib.h> |
241 |
- #include <limits.h> |
242 |
-diff -Naur work.old/src/lisp/mips-assem.S work/src/lisp/mips-assem.S |
243 |
---- work.old/src/lisp/mips-assem.S 2002-08-23 14:01:02.000000000 -0300 |
244 |
-+++ work/src/lisp/mips-assem.S 2010-05-10 00:06:34.000000000 -0300 |
245 |
-@@ -402,3 +402,7 @@ |
246 |
- move v0, a1 |
247 |
- j _restore_state |
248 |
- .end save_state |
249 |
-+ |
250 |
-+#if defined(__linux__) && defined(__ELF__) |
251 |
-+.section .note.GNU-stack,"",%progbits |
252 |
-+#endif |
253 |
-diff -Naur work.old/src/lisp/os-common.h work/src/lisp/os-common.h |
254 |
---- work.old/src/lisp/os-common.h 1969-12-31 21:00:00.000000000 -0300 |
255 |
-+++ work/src/lisp/os-common.h 2010-05-10 00:06:22.000000000 -0300 |
256 |
-@@ -0,0 +1 @@ |
257 |
-+char* convert_lisp_string(char *c_string, void *lisp_string, int len); |
258 |
-diff -Naur work.old/src/lisp/ppc-assem.S work/src/lisp/ppc-assem.S |
259 |
---- work.old/src/lisp/ppc-assem.S 2006-02-25 01:35:58.000000000 -0300 |
260 |
-+++ work/src/lisp/ppc-assem.S 2010-05-10 00:06:34.000000000 -0300 |
261 |
-@@ -721,3 +721,7 @@ |
262 |
- SET_SIZE(fpu_restore) |
263 |
- |
264 |
- #endif |
265 |
-+ |
266 |
-+#if defined(__linux__) && defined(__ELF__) |
267 |
-+.section .note.GNU-stack,"",%progbits |
268 |
-+#endif |
269 |
-diff -Naur work.old/src/lisp/sparc-assem.S work/src/lisp/sparc-assem.S |
270 |
---- work.old/src/lisp/sparc-assem.S 2003-10-23 23:57:00.000000000 -0300 |
271 |
-+++ work/src/lisp/sparc-assem.S 2010-05-10 00:06:34.000000000 -0300 |
272 |
-@@ -837,3 +837,7 @@ |
273 |
- * End: |
274 |
- */ |
275 |
- |
276 |
-+ |
277 |
-+#if defined(__linux__) && defined(__ELF__) |
278 |
-+.section .note.GNU-stack,"",%progbits |
279 |
-+#endif |
280 |
-diff -Naur work.old/src/lisp/x86-assem.S work/src/lisp/x86-assem.S |
281 |
---- work.old/src/lisp/x86-assem.S 2008-12-24 02:36:40.000000000 -0200 |
282 |
-+++ work/src/lisp/x86-assem.S 2010-05-10 00:06:34.000000000 -0300 |
283 |
-@@ -798,3 +798,7 @@ |
284 |
- ENDFUNC(undefined_foreign_symbol_trap) |
285 |
- |
286 |
- #endif /* LINKAGE_TABLE */ |
287 |
-+ |
288 |
-+#if defined(__linux__) && defined(__ELF__) |
289 |
-+.section .note.GNU-stack,"",%progbits |
290 |
-+#endif |