# 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 <wolf31o2@gentoo.org>
+ +files/biounzip-1.1a-64bit.patch, biounzip-1.1a.ebuild:
+ Added a patch from Andrei Slavoiu <ansla80@yahoo.com> to fix biounzip on
+ 64-bit machines and closing bug #169867.
*biounzip-1.1a (09 Jan 2006)
+-----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
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-----
-# 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
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
--- /dev/null
+--- /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;