diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-11 23:04:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-11 23:04:37 +0000 |
commit | 4ef26d5a5705551890dec65cc234821c9cc1e363 (patch) | |
tree | d38ca6c4ddf341ed0925a94a6f628697fb1da5f1 | |
parent | Add fix for ia64/s390. (diff) | |
download | historical-4ef26d5a5705551890dec65cc234821c9cc1e363.tar.gz historical-4ef26d5a5705551890dec65cc234821c9cc1e363.tar.bz2 historical-4ef26d5a5705551890dec65cc234821c9cc1e363.zip |
Stabilize and add patch from Fedora.
Package-Manager: portage-2.0.51-r15
-rw-r--r-- | app-arch/bzip2/ChangeLog | 6 | ||||
-rw-r--r-- | app-arch/bzip2/Manifest | 9 | ||||
-rw-r--r-- | app-arch/bzip2/bzip2-1.0.2-r4.ebuild | 9 | ||||
-rw-r--r-- | app-arch/bzip2/files/bzip2-1.0.2-saneso.patch | 13 |
4 files changed, 28 insertions, 9 deletions
diff --git a/app-arch/bzip2/ChangeLog b/app-arch/bzip2/ChangeLog index 89978e45ec14..0e17d9466e08 100644 --- a/app-arch/bzip2/ChangeLog +++ b/app-arch/bzip2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/bzip2 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.18 2005/02/06 19:25:09 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/ChangeLog,v 1.19 2005/02/11 23:04:37 vapier Exp $ + + 11 Feb 2005; Mike Frysinger <vapier@gentoo.org> + +files/bzip2-1.0.2-saneso.patch, bzip2-1.0.2-r4.ebuild: + Stabilize and add patch from Fedora. 06 Feb 2005; Joshua Kinard <kumba@gentoo.org> bzip2-1.0.2-r4.ebuild: Marked stable on mips. diff --git a/app-arch/bzip2/Manifest b/app-arch/bzip2/Manifest index da46c5c482eb..d9b8c73d055b 100644 --- a/app-arch/bzip2/Manifest +++ b/app-arch/bzip2/Manifest @@ -1,8 +1,9 @@ -MD5 9e8b84a743481b1d877f3574c5890956 ChangeLog 5062 -MD5 88eb397d1eb3af19fe800d1cee2be3df bzip2-1.0.2-r3.ebuild 2390 -MD5 666d8a6332293d16bf839664eb780706 bzip2-1.0.2-r4.ebuild 2088 +MD5 1f069e97b1c228bc6b83314f2f3dd3a7 ChangeLog 5211 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 6c80b50a0492cbcca5720055f80b5e7c bzip2-1.0.2-r4.ebuild 2119 +MD5 88eb397d1eb3af19fe800d1cee2be3df bzip2-1.0.2-r3.ebuild 2390 +MD5 9c63b399f71b03f2a58b061c1e038d0c files/bzip2-1.0.2-saneso.patch 457 +MD5 382f154f0ba01de10aff6207652d6799 files/digest-bzip2-1.0.2-r4 63 MD5 cc73bebefba3a38c58fc49b49d7d25a7 files/1.0.2-NULL-ptr-check.patch 838 MD5 378e8d34dd95cc65b7f65565df5d85f7 files/1.0.2-makefile-CFLAGS.patch 841 MD5 382f154f0ba01de10aff6207652d6799 files/digest-bzip2-1.0.2-r3 63 -MD5 382f154f0ba01de10aff6207652d6799 files/digest-bzip2-1.0.2-r4 63 diff --git a/app-arch/bzip2/bzip2-1.0.2-r4.ebuild b/app-arch/bzip2/bzip2-1.0.2-r4.ebuild index 3a4cb2091010..356696248d27 100644 --- a/app-arch/bzip2/bzip2-1.0.2-r4.ebuild +++ b/app-arch/bzip2/bzip2-1.0.2-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.2-r4.ebuild,v 1.7 2005/02/06 19:25:09 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/bzip2/bzip2-1.0.2-r4.ebuild,v 1.8 2005/02/11 23:04:37 vapier Exp $ inherit toolchain-funcs flag-o-matic @@ -10,7 +10,7 @@ SRC_URI="ftp://sources.redhat.com/pub/bzip2/v102/${P}.tar.gz" LICENSE="BZIP2" SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ia64 mips ppc ~ppc64 s390 sh sparc x86" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" IUSE="build static" DEPEND="virtual/libc" @@ -20,13 +20,14 @@ src_unpack() { cd ${S} epatch ${FILESDIR}/${PV}-NULL-ptr-check.patch epatch ${FILESDIR}/${PV}-makefile-CFLAGS.patch + epatch ${FILESDIR}/${P}-saneso.patch sed -i -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' Makefile || die use static && append-flags -static # bzip2 will to run itself after it has built itself which we # can't do if we are cross compiling. -solar - if [[ -x /bin/bzip2 ]] && [[ ${CTARGET} != ${CHOST} ]] ; then + if [[ -x /bin/bzip2 ]] && tc-is-cross-compiler ; then sed -i -e 's:./bzip2 -:bzip2 -:g' Makefile || die fi } @@ -58,7 +59,7 @@ src_install() { [[ -z ${CONF_LIBDIR} ]] && CONF_LIBDIR="lib" [[ ${CONF_LIBDIR} != "lib" ]] && mv ${D}/usr/lib ${D}/usr/${CONF_LIBDIR} - dolib.so ${S}/libbz2.so.${PV} + dolib.so "${S}"/libbz2.so.${PV} dosym libbz2.so.${PV} /usr/${CONF_LIBDIR}/libbz2.so.1.0 dosym libbz2.so.${PV} /usr/${CONF_LIBDIR}/libbz2.so dosym libbz2.so.${PV} /usr/${CONF_LIBDIR}/libbz2.so.1 diff --git a/app-arch/bzip2/files/bzip2-1.0.2-saneso.patch b/app-arch/bzip2/files/bzip2-1.0.2-saneso.patch new file mode 100644 index 000000000000..0231a3cf93de --- /dev/null +++ b/app-arch/bzip2/files/bzip2-1.0.2-saneso.patch @@ -0,0 +1,13 @@ +taken from fedora + +--- bzip2-1.0.2/Makefile-libbz2_so.saneso Wed Jan 30 15:44:10 2002 ++++ bzip2-1.0.2/Makefile-libbz2_so Wed Jan 30 15:44:26 2002 +@@ -20,7 +20,7 @@ + bzlib.o + + all: $(OBJS) +- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS) ++ $(CC) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.2 $(OBJS) + $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.2 + rm -f libbz2.so.1.0 + ln -s libbz2.so.1.0.2 libbz2.so.1.0 |