From caf697f5f0afc0ffb50d402d18c115b4104247ed Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Mon, 12 Mar 2007 14:23:31 +0000 Subject: Added a patch from Andrei Slavoiu to fix biounzip on 64-bit machines and closing bug #169867. Package-Manager: portage-2.1.2.1 --- games-util/biounzip/ChangeLog | 9 +++++-- games-util/biounzip/Manifest | 30 ++++++++++++++++------ games-util/biounzip/biounzip-1.1a.ebuild | 10 ++++++-- .../biounzip/files/biounzip-1.1a-64bit.patch | 11 ++++++++ 4 files changed, 48 insertions(+), 12 deletions(-) create mode 100644 games-util/biounzip/files/biounzip-1.1a-64bit.patch (limited to 'games-util/biounzip') diff --git a/games-util/biounzip/ChangeLog b/games-util/biounzip/ChangeLog index 6125a71b1b4d..a533a629e6bf 100644 --- a/games-util/biounzip/ChangeLog +++ b/games-util/biounzip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-util/biounzip -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/biounzip/ChangeLog,v 1.1 2006/01/09 23:29:05 wolf31o2 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/biounzip/ChangeLog,v 1.2 2007/03/12 14:23:31 wolf31o2 Exp $ + + 12 Mar 2007; Chris Gianelloni + +files/biounzip-1.1a-64bit.patch, biounzip-1.1a.ebuild: + Added a patch from Andrei Slavoiu to fix biounzip on + 64-bit machines and closing bug #169867. *biounzip-1.1a (09 Jan 2006) diff --git a/games-util/biounzip/Manifest b/games-util/biounzip/Manifest index 2942fce1408f..ccd952cf1c14 100644 --- a/games-util/biounzip/Manifest +++ b/games-util/biounzip/Manifest @@ -1,12 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX biounzip-1.1a-64bit.patch 556 RMD160 ea07cbe9fc6fe2f0ec1699780efbbf522ac60aea SHA1 6127c33157702cca3d833cca3b0461680b84617f SHA256 fa8cf506cb6a95aa0d1ce148b19a709f256e031c20fd39f4c1810be5b548ef28 +MD5 11fd59108848f6fb2115904261780337 files/biounzip-1.1a-64bit.patch 556 +RMD160 ea07cbe9fc6fe2f0ec1699780efbbf522ac60aea files/biounzip-1.1a-64bit.patch 556 +SHA256 fa8cf506cb6a95aa0d1ce148b19a709f256e031c20fd39f4c1810be5b548ef28 files/biounzip-1.1a-64bit.patch 556 DIST biounzip-1.1a.tar.bz2 9894 RMD160 55c422a32930e61a453035caf57e06363af47c5f SHA1 20f33102e4bb503ca03e44b79990c1a8b5000131 SHA256 8f6960e4a281f6ce352e499d91de71ccd74536619000a4dfd37d2eb92c740273 -EBUILD biounzip-1.1a.ebuild 665 RMD160 052e575b31824bd428e77f03e0072b74ddb0cd89 SHA1 4ea8b599e6d7c1a06c9e6c7d209e45c0d69adef5 SHA256 25eb543192ef89fa5df6d7df42e80c44cde8c45d6f9e38fefe3c00ab82dfe95d -MD5 74f626f0f84738374e5d5d8f56659543 biounzip-1.1a.ebuild 665 -RMD160 052e575b31824bd428e77f03e0072b74ddb0cd89 biounzip-1.1a.ebuild 665 -SHA256 25eb543192ef89fa5df6d7df42e80c44cde8c45d6f9e38fefe3c00ab82dfe95d biounzip-1.1a.ebuild 665 -MISC ChangeLog 412 RMD160 0be861af10a750f6ebd3686f4dfe612f8581bfaf SHA1 b61e08c9aa16e0bed8e65d28f7d061735822423e SHA256 d27425cd9663de93988835bd156c6f6102d337dbad1c31c1a4edbaacbfd8852a -MD5 3e989657e40744715e7a728e8ee56f45 ChangeLog 412 -RMD160 0be861af10a750f6ebd3686f4dfe612f8581bfaf ChangeLog 412 -SHA256 d27425cd9663de93988835bd156c6f6102d337dbad1c31c1a4edbaacbfd8852a ChangeLog 412 +EBUILD biounzip-1.1a.ebuild 745 RMD160 5e499da6b37644344ef2695eada214e8927f8ed6 SHA1 df04ec469ab2c86508b35dbbd0d8ba2a31b98c33 SHA256 ebee0d55c17d28f879bb54eb9682becb521bed93323a0688a65c45eedb9a5e4b +MD5 b7e954044c1f99594ba814f5a68c9d13 biounzip-1.1a.ebuild 745 +RMD160 5e499da6b37644344ef2695eada214e8927f8ed6 biounzip-1.1a.ebuild 745 +SHA256 ebee0d55c17d28f879bb54eb9682becb521bed93323a0688a65c45eedb9a5e4b biounzip-1.1a.ebuild 745 +MISC ChangeLog 643 RMD160 270f4c329dec0d9b7ce1b185065017ad21af2618 SHA1 c99e2436dbb93d8496d6fb5cd1c4d5be28f8499a SHA256 0f3d77d73e5c962471360db4d42aeb35e482bf139896c6ce9a08957ddb144d79 +MD5 19b5570752e82683ad51320dfd12b9a3 ChangeLog 643 +RMD160 270f4c329dec0d9b7ce1b185065017ad21af2618 ChangeLog 643 +SHA256 0f3d77d73e5c962471360db4d42aeb35e482bf139896c6ce9a08957ddb144d79 ChangeLog 643 MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254 @@ -14,3 +21,10 @@ SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata MD5 7b8c3fb0af9a12929171683b346ec04e files/digest-biounzip-1.1a 238 RMD160 65eecb5d2158ccb70be1cda8620182f2c6faadd9 files/digest-biounzip-1.1a 238 SHA256 e776ed89938accacbb31fc45191013858efa068233d036c013c55b3655c4c0ba files/digest-biounzip-1.1a 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.2 (GNU/Linux) + +iD8DBQFF9WJpkT4lNIS36YERAjwVAJ483v+cG5slY+4ftbZ/4yoOkX4vfQCfay/r +PJWaMRgxJIgjk8HIBiM2Hjc= +=sWQM +-----END PGP SIGNATURE----- diff --git a/games-util/biounzip/biounzip-1.1a.ebuild b/games-util/biounzip/biounzip-1.1a.ebuild index 75da80343110..de85606264e0 100644 --- a/games-util/biounzip/biounzip-1.1a.ebuild +++ b/games-util/biounzip/biounzip-1.1a.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/biounzip/biounzip-1.1a.ebuild,v 1.2 2007/01/26 19:11:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/biounzip/biounzip-1.1a.ebuild,v 1.3 2007/03/12 14:23:31 wolf31o2 Exp $ inherit eutils @@ -17,6 +17,12 @@ IUSE="" RDEPEND="virtual/libc sys-libs/zlib" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-64bit.patch +} + src_compile() { sed -i -e "s#-march=athlon-xp#${CFLAGS}#" Makefile || die emake || die diff --git a/games-util/biounzip/files/biounzip-1.1a-64bit.patch b/games-util/biounzip/files/biounzip-1.1a-64bit.patch new file mode 100644 index 000000000000..8e106542d49a --- /dev/null +++ b/games-util/biounzip/files/biounzip-1.1a-64bit.patch @@ -0,0 +1,11 @@ +--- /var/tmp/portage/games-util/biounzip-1.1a/work/biounzip-1.1-old/biounzip.c 2007-03-08 02:06:16.000000000 +0200 ++++ /var/tmp/portage/games-util/biounzip-1.1a/work/biounzip-1.1/biounzip.c 2007-03-08 02:06:50.000000000 +0200 +@@ -127,7 +127,7 @@ + void writefile(bzfile *ptr, FILE *fp, char *destdir) + { + int startpos,returnval,n,debug=0; +- unsigned long size_uncompressed,size_compressed; ++ unsigned long size_uncompressed = 0, size_compressed = 0; + char *fname,*dirname,*fullname,*fullpath; + unsigned char *srcbuffer,*dstbuffer; + FILE *outfile; -- cgit v1.2.3-65-gdbad