1 |
commit: 3ebaafa07c70197d1de7d8961c3af56bfa8ff590 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 27 10:02:50 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 27 10:02:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3ebaafa0 |
7 |
|
8 |
app-arch/bzip2: remove interrevision |
9 |
|
10 |
Package-Manager: Portage-2.3.13-prefix, Repoman-2.3.4 |
11 |
|
12 |
app-arch/bzip2/bzip2-1.0.6-r07.1.ebuild | 157 ------------------ |
13 |
app-arch/bzip2/files/bzip2-1.0.2-progress.patch | 175 --------------------- |
14 |
app-arch/bzip2/files/bzip2-1.0.4-prefix.patch | 57 ------- |
15 |
app-arch/bzip2/files/bzip2-1.0.4-saneso.patch | 13 -- |
16 |
.../bzip2/files/bzip2-1.0.5-Makefile-libbz2_dylib | 60 ------- |
17 |
app-arch/bzip2/files/bzip2-1.0.5-checkenv.patch | 21 --- |
18 |
app-arch/bzip2/files/bzip2-1.0.5-soldflags.patch | 31 ---- |
19 |
7 files changed, 514 deletions(-) |
20 |
|
21 |
diff --git a/app-arch/bzip2/bzip2-1.0.6-r07.1.ebuild b/app-arch/bzip2/bzip2-1.0.6-r07.1.ebuild |
22 |
deleted file mode 100644 |
23 |
index 4d5efcff0e..0000000000 |
24 |
--- a/app-arch/bzip2/bzip2-1.0.6-r07.1.ebuild |
25 |
+++ /dev/null |
26 |
@@ -1,157 +0,0 @@ |
27 |
-# Copyright 1999-2017 Gentoo Foundation |
28 |
-# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.6-r7.ebuild,v 1.2 2014/04/28 17:18:31 mgorny Exp $ |
30 |
- |
31 |
-# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly |
32 |
-# (since we're building shared libs) ... |
33 |
- |
34 |
-EAPI=4 |
35 |
- |
36 |
-inherit eutils toolchain-funcs multilib multilib-minimal prefix |
37 |
- |
38 |
-DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" |
39 |
-HOMEPAGE="http://www.bzip.org/" |
40 |
-SRC_URI="http://www.bzip.org/${PV}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="BZIP2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
45 |
-IUSE="static static-libs" |
46 |
- |
47 |
-RDEPEND="abi_x86_32? ( |
48 |
- !<=app-emulation/emul-linux-x86-baselibs-20130224 |
49 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
50 |
- )" |
51 |
- |
52 |
-src_prepare() { |
53 |
- epatch "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch |
54 |
- epatch "${FILESDIR}"/${PN}-1.0.6-saneso.patch |
55 |
- epatch "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 |
56 |
- epatch "${FILESDIR}"/${PN}-1.0.6-progress.patch |
57 |
- epatch "${FILESDIR}"/${PN}-1.0.3-no-test.patch |
58 |
- epatch "${FILESDIR}"/${PN}-1.0.4-POSIX-shell.patch #193365 |
59 |
- epatch "${FILESDIR}"/${PN}-1.0.6-mingw.patch #393573 |
60 |
- epatch "${FILESDIR}"/${PN}-1.0.6-out-of-tree-build.patch |
61 |
- |
62 |
- epatch "${FILESDIR}"/${PN}-1.0.6-r7-checkenv.patch # for AIX, Darwin? |
63 |
- epatch "${FILESDIR}"/${PN}-1.0.6-prefix.patch |
64 |
- eprefixify bz{diff,grep,more} |
65 |
- # this a makefile for Darwin, which already "includes" saneso |
66 |
- cp "${FILESDIR}"/${P}-Makefile-libbz2_dylib Makefile-libbz2_dylib || die |
67 |
- |
68 |
- # - Use right man path |
69 |
- # - Generate symlinks instead of hardlinks |
70 |
- # - pass custom variables to control libdir |
71 |
- sed -i \ |
72 |
- -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \ |
73 |
- -e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \ |
74 |
- -e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \ |
75 |
- Makefile || die |
76 |
- |
77 |
- if [[ ${CHOST} == *-hpux* ]] ; then |
78 |
- sed -i -e 's,-soname,+h,' Makefile-libbz2_so || die "cannot replace -soname with +h" |
79 |
- if [[ ${CHOST} == hppa*-hpux* && ${CHOST} != hppa64*-hpux* ]] ; then |
80 |
- sed -i -e '/^SOEXT/s,so,sl,' Makefile-libbz2_so || die "cannot replace so with sl" |
81 |
- sed -i -e '/^SONAME/s,=,=${EPREFIX}/lib/,' Makefile-libbz2_so || die "cannt set soname" |
82 |
- fi |
83 |
- fi |
84 |
- if [[ ${CHOST} == *-cygwin* ]] ; then |
85 |
- sed -i -e "s/-o libbz2\.so\.${PV}/-Wl,--out-implib=libbz2$(get_libname ${PV})/" \ |
86 |
- -e "s/-Wl,-soname -Wl,libbz2\.so\.1/-o cygbz2-${PV%%.*}.dll/" \ |
87 |
- -e "s/libbz2\.so/libbz2$(get_libname)/g" \ |
88 |
- Makefile-libbz2_so |
89 |
- fi |
90 |
-} |
91 |
- |
92 |
-bemake() { |
93 |
- emake \ |
94 |
- VPATH="${S}" \ |
95 |
- CC="$(tc-getCC)" \ |
96 |
- AR="$(tc-getAR)" \ |
97 |
- RANLIB="$(tc-getRANLIB)" \ |
98 |
- "$@" |
99 |
-} |
100 |
- |
101 |
-multilib_src_compile() { |
102 |
- local checkopts= |
103 |
- case "${CHOST}" in |
104 |
- *-darwin*) |
105 |
- bemake PREFIX="${EPREFIX}"/usr -f "${S}"/Makefile-libbz2_dylib all |
106 |
- # FWIW, #504648 like for .so below |
107 |
- ln -sf libbz2.${PV}.dylib libbz2.dylib |
108 |
- ;; |
109 |
- *-mint*) |
110 |
- # do nothing, no shared libraries |
111 |
- : |
112 |
- ;; |
113 |
- *) |
114 |
- bemake -f "${S}"/Makefile-libbz2_so all |
115 |
- # Make sure we link against the shared lib #504648 |
116 |
- [[ $(get_libname) != $(get_libname ${PV}) ]] && |
117 |
- ln -sf libbz2$(get_libname ${PV}) libbz2$(get_libname) |
118 |
- ;; |
119 |
- esac |
120 |
- bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')" |
121 |
-} |
122 |
- |
123 |
-multilib_src_install() { |
124 |
- into /usr |
125 |
- |
126 |
- if ! tc-is-static-only; then |
127 |
- |
128 |
- # Install the shared lib manually. We install: |
129 |
- # .x.x.x - standard shared lib behavior |
130 |
- # .x.x - SONAME some distros use #338321 |
131 |
- # .x - SONAME Gentoo uses |
132 |
- dolib.so libbz2$(get_libname ${PV}) |
133 |
- [[ ${CHOST} == *-cygwin* ]] && dobin cygbz2-${PV%%.*}.dll |
134 |
- local v |
135 |
- [[ $(get_libname) != $(get_libname ${PV}) ]] && |
136 |
- for v in libbz2$(get_libname) libbz2$(get_libname ${PV%%.*}) libbz2$(get_libname ${PV%.*}) ; do |
137 |
- dosym libbz2$(get_libname ${PV}) /usr/$(get_libdir)/${v} |
138 |
- done |
139 |
- |
140 |
- fi |
141 |
- |
142 |
- use static-libs && dolib.a libbz2.a |
143 |
- |
144 |
- if multilib_is_native_abi ; then |
145 |
- gen_usr_ldscript -a bz2 |
146 |
- |
147 |
- dobin bzip2recover |
148 |
- into / |
149 |
- dobin bzip2 |
150 |
- fi |
151 |
-} |
152 |
- |
153 |
-multilib_src_install_all() { |
154 |
- # `make install` doesn't cope with out-of-tree builds, nor with |
155 |
- # installing just non-binaries, so handle things ourselves. |
156 |
- insinto /usr/include |
157 |
- doins bzlib.h |
158 |
- into /usr |
159 |
- dobin bz{diff,grep,more} |
160 |
- doman *.1 |
161 |
- |
162 |
- dosym bzdiff /usr/bin/bzcmp |
163 |
- dosym bzdiff.1 /usr/share/man/man1/bzcmp.1 |
164 |
- |
165 |
- dosym bzmore /usr/bin/bzless |
166 |
- dosym bzmore.1 /usr/share/man/man1/bzless.1 |
167 |
- |
168 |
- local x |
169 |
- for x in bunzip2 bzcat bzip2recover ; do |
170 |
- dosym bzip2.1 /usr/share/man/man1/${x}.1 |
171 |
- done |
172 |
- for x in bz{e,f}grep ; do |
173 |
- dosym bzgrep /usr/bin/${x} |
174 |
- dosym bzgrep.1 /usr/share/man/man1/${x}.1 |
175 |
- done |
176 |
- |
177 |
- dodoc README* CHANGES manual.pdf |
178 |
- dohtml manual.html |
179 |
- |
180 |
- # move "important" bzip2 binaries to /bin and use the shared libbz2.so |
181 |
- dosym bzip2 /bin/bzcat |
182 |
- dosym bzip2 /bin/bunzip2 |
183 |
-} |
184 |
|
185 |
diff --git a/app-arch/bzip2/files/bzip2-1.0.2-progress.patch b/app-arch/bzip2/files/bzip2-1.0.2-progress.patch |
186 |
deleted file mode 100644 |
187 |
index 2f389cfac9..0000000000 |
188 |
--- a/app-arch/bzip2/files/bzip2-1.0.2-progress.patch |
189 |
+++ /dev/null |
190 |
@@ -1,175 +0,0 @@ |
191 |
-Ripped from Mandrake. |
192 |
- |
193 |
-http://bugs.gentoo.org/show_bug.cgi?id=82192 |
194 |
- |
195 |
---- bzip2-1.0.2.org/bzip2.1 |
196 |
-+++ bzip2-1.0.2/bzip2.1 |
197 |
-@@ -235,6 +235,10 @@ |
198 |
- Suppress non-essential warning messages. Messages pertaining to |
199 |
- I/O errors and other critical events will not be suppressed. |
200 |
- .TP |
201 |
-+.B \-p --show-progress |
202 |
-+Show percentage of input-file done and while compressing show the percentage |
203 |
-+of the original file the new file is. |
204 |
-+.TP |
205 |
- .B \-v --verbose |
206 |
- Verbose mode -- show the compression ratio for each file processed. |
207 |
- Further \-v's increase the verbosity level, spewing out lots of |
208 |
---- bzip2-1.0.2.org/bzip2.c |
209 |
-+++ bzip2-1.0.2/bzip2.c |
210 |
-@@ -145,6 +145,7 @@ |
211 |
- #include <signal.h> |
212 |
- #include <math.h> |
213 |
- #include <errno.h> |
214 |
-+#include <time.h> |
215 |
- #include <ctype.h> |
216 |
- #include "bzlib.h" |
217 |
- |
218 |
-@@ -301,6 +302,7 @@ |
219 |
- Char progNameReally[FILE_NAME_LEN]; |
220 |
- FILE *outputHandleJustInCase; |
221 |
- Int32 workFactor; |
222 |
-+Char showProgress; |
223 |
- |
224 |
- static void panic ( Char* ) NORETURN; |
225 |
- static void ioError ( void ) NORETURN; |
226 |
-@@ -425,6 +427,12 @@ |
227 |
- UInt32 nbytes_in_lo32, nbytes_in_hi32; |
228 |
- UInt32 nbytes_out_lo32, nbytes_out_hi32; |
229 |
- Int32 bzerr, bzerr_dummy, ret; |
230 |
-+ double fileSize = 0; /* initialized to make the compiler stop crying */ |
231 |
-+ /* double because big files might otherwhise give |
232 |
-+ * overflows. not long long since not all compilers |
233 |
-+ * support that one |
234 |
-+ */ |
235 |
-+ time_t startTime, currentTime; |
236 |
- |
237 |
- SET_BINARY_MODE(stream); |
238 |
- SET_BINARY_MODE(zStream); |
239 |
-@@ -432,12 +440,21 @@ |
240 |
- if (ferror(stream)) goto errhandler_io; |
241 |
- if (ferror(zStream)) goto errhandler_io; |
242 |
- |
243 |
-+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) { |
244 |
-+ (void)fseek(stream, 0, SEEK_END); |
245 |
-+ fileSize = (double)ftell(stream); |
246 |
-+ rewind(stream); |
247 |
-+ if (verbosity >= 1) |
248 |
-+ fprintf(stderr, "Input-file size: %ld\n", (long)fileSize); |
249 |
-+ } |
250 |
-+ |
251 |
- bzf = BZ2_bzWriteOpen ( &bzerr, zStream, |
252 |
- blockSize100k, verbosity, workFactor ); |
253 |
- if (bzerr != BZ_OK) goto errhandler; |
254 |
- |
255 |
- if (verbosity >= 2) fprintf ( stderr, "\n" ); |
256 |
- |
257 |
-+ time(&startTime); |
258 |
- while (True) { |
259 |
- |
260 |
- if (myfeof(stream)) break; |
261 |
-@@ -446,13 +463,32 @@ |
262 |
- if (nIbuf > 0) BZ2_bzWrite ( &bzerr, bzf, (void*)ibuf, nIbuf ); |
263 |
- if (bzerr != BZ_OK) goto errhandler; |
264 |
- |
265 |
-+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) |
266 |
-+ { |
267 |
-+ time(¤tTime); |
268 |
-+ |
269 |
-+ if ((currentTime - startTime) > 1) { /* show progress every 2 seconds */ |
270 |
-+ double curInPos = (double)ftell(stream); |
271 |
-+ double curOutPos = (double)ftell(zStream); |
272 |
-+ |
273 |
-+ startTime = currentTime; |
274 |
-+ |
275 |
-+ fprintf(stderr, "%.2f%% done", (curInPos * 100.0) / fileSize); |
276 |
-+ if (srcMode == SM_F2F) |
277 |
-+ { |
278 |
-+ fprintf(stderr, ", new size: %.2f%%", (curOutPos * 100.0) / curInPos); |
279 |
-+ } |
280 |
-+ |
281 |
-+ fprintf(stderr, " \r"); |
282 |
-+ } |
283 |
-+ } |
284 |
- } |
285 |
- |
286 |
- BZ2_bzWriteClose64 ( &bzerr, bzf, 0, |
287 |
- &nbytes_in_lo32, &nbytes_in_hi32, |
288 |
- &nbytes_out_lo32, &nbytes_out_hi32 ); |
289 |
- if (bzerr != BZ_OK) goto errhandler; |
290 |
-- |
291 |
-+ |
292 |
- if (ferror(zStream)) goto errhandler_io; |
293 |
- ret = fflush ( zStream ); |
294 |
- if (ret == EOF) goto errhandler_io; |
295 |
-@@ -526,6 +562,8 @@ |
296 |
- UChar unused[BZ_MAX_UNUSED]; |
297 |
- Int32 nUnused; |
298 |
- UChar* unusedTmp; |
299 |
-+ double fileSize = 0; /* initialized to make the compiler stop crying */ |
300 |
-+ time_t startTime, currentTime; |
301 |
- |
302 |
- nUnused = 0; |
303 |
- streamNo = 0; |
304 |
-@@ -533,9 +571,19 @@ |
305 |
- SET_BINARY_MODE(stream); |
306 |
- SET_BINARY_MODE(zStream); |
307 |
- |
308 |
-+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) { |
309 |
-+ long dummy = ftell(zStream); |
310 |
-+ (void)fseek(zStream, 0, SEEK_END); |
311 |
-+ fileSize = (double)ftell(zStream); |
312 |
-+ (void)fseek(zStream, dummy, SEEK_SET); |
313 |
-+ if (verbosity >= 1) |
314 |
-+ fprintf(stderr, "Input-file size: %ld\n", (long)fileSize); |
315 |
-+ } |
316 |
-+ |
317 |
- if (ferror(stream)) goto errhandler_io; |
318 |
- if (ferror(zStream)) goto errhandler_io; |
319 |
- |
320 |
-+ time(&startTime); |
321 |
- while (True) { |
322 |
- |
323 |
- bzf = BZ2_bzReadOpen ( |
324 |
-@@ -551,6 +599,17 @@ |
325 |
- if ((bzerr == BZ_OK || bzerr == BZ_STREAM_END) && nread > 0) |
326 |
- fwrite ( obuf, sizeof(UChar), nread, stream ); |
327 |
- if (ferror(stream)) goto errhandler_io; |
328 |
-+ |
329 |
-+ if ((srcMode == SM_F2F || srcMode == SM_F2O) && showProgress == True) { |
330 |
-+ time(¤tTime); |
331 |
-+ if ((currentTime - startTime) >= 2) |
332 |
-+ { |
333 |
-+ double curInPos = (double)ftell(zStream); |
334 |
-+ startTime = currentTime; |
335 |
-+ |
336 |
-+ fprintf(stderr, "%.2f%% done\r", (curInPos * 100.0) / fileSize); |
337 |
-+ } |
338 |
-+ } |
339 |
- } |
340 |
- if (bzerr != BZ_STREAM_END) goto errhandler; |
341 |
- |
342 |
-@@ -1872,6 +1931,7 @@ |
343 |
- deleteOutputOnInterrupt = False; |
344 |
- exitValue = 0; |
345 |
- i = j = 0; /* avoid bogus warning from egcs-1.1.X */ |
346 |
-+ showProgress = False; |
347 |
- |
348 |
- /*-- Set up signal handlers for mem access errors --*/ |
349 |
- signal (SIGSEGV, mySIGSEGVorSIGBUScatcher); |
350 |
-@@ -1949,6 +2009,7 @@ |
351 |
- case 'k': keepInputFiles = True; break; |
352 |
- case 's': smallMode = True; break; |
353 |
- case 'q': noisy = False; break; |
354 |
-+ case 'p': showProgress = True; break; |
355 |
- case '1': blockSize100k = 1; break; |
356 |
- case '2': blockSize100k = 2; break; |
357 |
- case '3': blockSize100k = 3; break; |
358 |
-@@ -1985,6 +2046,7 @@ |
359 |
- if (ISFLAG("--keep")) keepInputFiles = True; else |
360 |
- if (ISFLAG("--small")) smallMode = True; else |
361 |
- if (ISFLAG("--quiet")) noisy = False; else |
362 |
-+ if (ISFLAG("--show-progress")) showProgress = True; else |
363 |
- if (ISFLAG("--version")) license(); else |
364 |
- if (ISFLAG("--license")) license(); else |
365 |
- if (ISFLAG("--exponential")) workFactor = 1; else |
366 |
|
367 |
diff --git a/app-arch/bzip2/files/bzip2-1.0.4-prefix.patch b/app-arch/bzip2/files/bzip2-1.0.4-prefix.patch |
368 |
deleted file mode 100644 |
369 |
index 9215bcd702..0000000000 |
370 |
--- a/app-arch/bzip2/files/bzip2-1.0.4-prefix.patch |
371 |
+++ /dev/null |
372 |
@@ -1,57 +0,0 @@ |
373 |
---- bzdiff |
374 |
-+++ bzdiff |
375 |
-@@ -1,4 +1,4 @@ |
376 |
--#!/bin/sh |
377 |
-+#!@GENTOO_PORTAGE_EPREFIX@/bin/bash |
378 |
- # sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh |
379 |
- |
380 |
- # Bzcmp/diff wrapped for bzip2, |
381 |
-@@ -12,7 +12,7 @@ |
382 |
- # necessary) and fed to cmp or diff. The exit status from cmp |
383 |
- # or diff is preserved. |
384 |
- |
385 |
--PATH="/usr/bin:/bin:$PATH"; export PATH |
386 |
-+PATH="@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin:$PATH"; export PATH |
387 |
- prog=`echo $0 | sed 's|.*/||'` |
388 |
- case "$prog" in |
389 |
- *cmp) comp=${CMP-cmp} ;; |
390 |
-@@ -56,7 +56,7 @@ |
391 |
- bzip2 -cdfq "$2" > $tmp |
392 |
- bzip2 -cdfq "$1" | $comp $OPTIONS - $tmp |
393 |
- STAT="$?" |
394 |
-- /bin/rm -f $tmp;; |
395 |
-+ @GENTOO_PORTAGE_EPREFIX@/bin/rm -f $tmp;; |
396 |
- |
397 |
- *) bzip2 -cdfq "$1" | $comp $OPTIONS - "$2" |
398 |
- STAT="$?";; |
399 |
---- bzgrep |
400 |
-+++ bzgrep |
401 |
-@@ -1,4 +1,4 @@ |
402 |
--#!/bin/sh |
403 |
-+#!@GENTOO_PORTAGE_EPREFIX@/bin/sh |
404 |
- |
405 |
- # Bzgrep wrapped for bzip2, |
406 |
- # adapted from zgrep by Philippe Troin <phil@××××.org> for Debian GNU/Linux. |
407 |
-@@ -6,7 +6,7 @@ |
408 |
- ## zgrep -- a wrapper around a grep program that decompresses files as needed |
409 |
- ## Adapted from a version sent by Charles Levert <charles@××××××××××××.ca> |
410 |
- |
411 |
--PATH="/usr/bin:$PATH"; export PATH |
412 |
-+PATH="@GENTOO_PORTAGE_EPREFIX@/usr/bin:$PATH"; export PATH |
413 |
- |
414 |
- prog=`echo $0 | sed 's|.*/||'` |
415 |
- case "$prog" in |
416 |
---- bzmore |
417 |
-+++ bzmore |
418 |
-@@ -1,9 +1,9 @@ |
419 |
--#!/bin/sh |
420 |
-+#!@GENTOO_PORTAGE_EPREFIX@/bin/sh |
421 |
- |
422 |
- # Bzmore wrapped for bzip2, |
423 |
- # adapted from zmore by Philippe Troin <phil@××××.org> for Debian GNU/Linux. |
424 |
- |
425 |
--PATH="/usr/bin:$PATH"; export PATH |
426 |
-+PATH="@GENTOO_PORTAGE_EPREFIX@/usr/bin:$PATH"; export PATH |
427 |
- |
428 |
- prog=`echo $0 | sed 's|.*/||'` |
429 |
- case "$prog" in |
430 |
|
431 |
diff --git a/app-arch/bzip2/files/bzip2-1.0.4-saneso.patch b/app-arch/bzip2/files/bzip2-1.0.4-saneso.patch |
432 |
deleted file mode 100644 |
433 |
index 0469f46b8a..0000000000 |
434 |
--- a/app-arch/bzip2/files/bzip2-1.0.4-saneso.patch |
435 |
+++ /dev/null |
436 |
@@ -1,13 +0,0 @@ |
437 |
---- Makefile-libbz2_so |
438 |
-+++ Makefile-libbz2_so |
439 |
-@@ -35,8 +35,8 @@ |
440 |
- bzlib.o |
441 |
- |
442 |
- all: $(OBJS) |
443 |
-- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS) |
444 |
-- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4 |
445 |
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.4 $(OBJS) |
446 |
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4 |
447 |
- rm -f libbz2.so.1.0 |
448 |
- ln -s libbz2.so.1.0.4 libbz2.so.1.0 |
449 |
- |
450 |
|
451 |
diff --git a/app-arch/bzip2/files/bzip2-1.0.5-Makefile-libbz2_dylib b/app-arch/bzip2/files/bzip2-1.0.5-Makefile-libbz2_dylib |
452 |
deleted file mode 100644 |
453 |
index cd0ee20a5e..0000000000 |
454 |
--- a/app-arch/bzip2/files/bzip2-1.0.5-Makefile-libbz2_dylib |
455 |
+++ /dev/null |
456 |
@@ -1,60 +0,0 @@ |
457 |
- |
458 |
-# This Makefile builds a shared version of the library, |
459 |
-# libbz2.1.0.5.dylib, with install_name libbz2.1.dylib on Darwin |
460 |
-# |
461 |
-# Makefile created and used by Gentoo |
462 |
- |
463 |
-# ------------------------------------------------------------------ |
464 |
-# This file is part of bzip2/libbzip2, a program and library for |
465 |
-# lossless, block-sorting data compression. |
466 |
-# |
467 |
-# bzip2/libbzip2 version 1.0.5 of 10 December 2007 |
468 |
-# Copyright (C) 1996-2007 Julian Seward <jseward@××××.org> |
469 |
-# |
470 |
-# Please read the WARNING, DISCLAIMER and PATENTS sections in the |
471 |
-# README file. |
472 |
-# |
473 |
-# This program is released under the terms of the license contained |
474 |
-# in the file LICENSE. |
475 |
-# ------------------------------------------------------------------ |
476 |
- |
477 |
- |
478 |
-SHELL=/bin/sh |
479 |
-CC=gcc |
480 |
-BIGFILES=-D_FILE_OFFSET_BITS=64 |
481 |
-CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) |
482 |
-PREFIX=/usr |
483 |
-LIBDIR=lib |
484 |
-SOLDFLAGS=-dynamiclib -install_name $(PREFIX)/$(LIBDIR)/libbz2.1.dylib -compatibility_version 1.0.0 -current_version 1.0.5 |
485 |
- |
486 |
-OBJS= blocksort.o \ |
487 |
- huffman.o \ |
488 |
- crctable.o \ |
489 |
- randtable.o \ |
490 |
- compress.o \ |
491 |
- decompress.o \ |
492 |
- bzlib.o |
493 |
- |
494 |
-all: $(OBJS) |
495 |
- $(CC) $(LDFLAGS) $(SOLDFLAGS) -o libbz2.1.0.5.dylib $(OBJS) |
496 |
- $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.1.0.5.dylib |
497 |
- rm -f libbz2.1.0.dylib |
498 |
- ln -s libbz2.1.0.5.dylib libbz2.1.0.dylib |
499 |
- |
500 |
-clean: |
501 |
- rm -f $(OBJS) bzip2.o libbz2.1.0.5.dylib libbz2.1.0.dylib bzip2-shared |
502 |
- |
503 |
-blocksort.o: blocksort.c |
504 |
- $(CC) $(CFLAGS) -c blocksort.c |
505 |
-huffman.o: huffman.c |
506 |
- $(CC) $(CFLAGS) -c huffman.c |
507 |
-crctable.o: crctable.c |
508 |
- $(CC) $(CFLAGS) -c crctable.c |
509 |
-randtable.o: randtable.c |
510 |
- $(CC) $(CFLAGS) -c randtable.c |
511 |
-compress.o: compress.c |
512 |
- $(CC) $(CFLAGS) -c compress.c |
513 |
-decompress.o: decompress.c |
514 |
- $(CC) $(CFLAGS) -c decompress.c |
515 |
-bzlib.o: bzlib.c |
516 |
- $(CC) $(CFLAGS) -c bzlib.c |
517 |
|
518 |
diff --git a/app-arch/bzip2/files/bzip2-1.0.5-checkenv.patch b/app-arch/bzip2/files/bzip2-1.0.5-checkenv.patch |
519 |
deleted file mode 100644 |
520 |
index 3300a424a3..0000000000 |
521 |
--- a/app-arch/bzip2/files/bzip2-1.0.5-checkenv.patch |
522 |
+++ /dev/null |
523 |
@@ -1,21 +0,0 @@ |
524 |
---- Makefile 2005-02-17 05:28:24.000000000 -0600 |
525 |
-+++ Makefile-new 2005-10-12 20:26:29.000000000 -0500 |
526 |
-@@ -42,12 +42,12 @@ |
527 |
- check: test |
528 |
- test: bzip2 |
529 |
- @cat words1 |
530 |
-- ./bzip2 -1 < sample1.ref > sample1.rb2 |
531 |
-- ./bzip2 -2 < sample2.ref > sample2.rb2 |
532 |
-- ./bzip2 -3 < sample3.ref > sample3.rb2 |
533 |
-- ./bzip2 -d < sample1.bz2 > sample1.tst |
534 |
-- ./bzip2 -d < sample2.bz2 > sample2.tst |
535 |
-- ./bzip2 -ds < sample3.bz2 > sample3.tst |
536 |
-+ $(TESTENV) ./bzip2 -1 < sample1.ref > sample1.rb2 |
537 |
-+ $(TESTENV) ./bzip2 -2 < sample2.ref > sample2.rb2 |
538 |
-+ $(TESTENV) ./bzip2 -3 < sample3.ref > sample3.rb2 |
539 |
-+ $(TESTENV) ./bzip2 -d < sample1.bz2 > sample1.tst |
540 |
-+ $(TESTENV) ./bzip2 -d < sample2.bz2 > sample2.tst |
541 |
-+ $(TESTENV) ./bzip2 -ds < sample3.bz2 > sample3.tst |
542 |
- cmp sample1.bz2 sample1.rb2 |
543 |
- cmp sample2.bz2 sample2.rb2 |
544 |
- cmp sample3.bz2 sample3.rb2 |
545 |
|
546 |
diff --git a/app-arch/bzip2/files/bzip2-1.0.5-soldflags.patch b/app-arch/bzip2/files/bzip2-1.0.5-soldflags.patch |
547 |
deleted file mode 100644 |
548 |
index 1a06195dec..0000000000 |
549 |
--- a/app-arch/bzip2/files/bzip2-1.0.5-soldflags.patch |
550 |
+++ /dev/null |
551 |
@@ -1,31 +0,0 @@ |
552 |
---- Makefile-libbz2_so.orig 2009-06-23 12:30:55.000000000 +0200 |
553 |
-+++ Makefile-libbz2_so 2009-06-23 12:31:38.000000000 +0200 |
554 |
-@@ -25,6 +25,9 @@ |
555 |
- CC=gcc |
556 |
- BIGFILES=-D_FILE_OFFSET_BITS=64 |
557 |
- CFLAGS+=-fpic -fPIC -Wall -Winline $(BIGFILES) |
558 |
-+SOEXT=so |
559 |
-+SONAME=libbz2.${SOEXT}.1 |
560 |
-+SOLDFLAGS=-shared -Wl,-soname -Wl,$(SONAME) |
561 |
- |
562 |
- OBJS= blocksort.o \ |
563 |
- huffman.o \ |
564 |
-@@ -35,13 +38,13 @@ |
565 |
- bzlib.o |
566 |
- |
567 |
- all: $(OBJS) |
568 |
-- $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.4 $(OBJS) |
569 |
-- $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4 |
570 |
-- rm -f libbz2.so.1.0 |
571 |
-- ln -s libbz2.so.1.0.4 libbz2.so.1.0 |
572 |
-+ $(CC) $(LDFLAGS) $(SOLDFLAGS) -o libbz2.${SOEXT}.1.0.4 $(OBJS) |
573 |
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.${SOEXT}.1.0.4 |
574 |
-+ rm -f libbz2.${SOEXT}.1.0 |
575 |
-+ ln -s libbz2.${SOEXT}.1.0.4 libbz2.${SOEXT}.1.0 |
576 |
- |
577 |
- clean: |
578 |
-- rm -f $(OBJS) bzip2.o libbz2.so.1.0.4 libbz2.so.1.0 bzip2-shared |
579 |
-+ rm -f $(OBJS) bzip2.o libbz2.${SOEXT}.1.0.4 libbz2.${SOEXT}.1.0 bzip2-shared |
580 |
- |
581 |
- blocksort.o: blocksort.c |
582 |
- $(CC) $(CFLAGS) -c blocksort.c |