Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=physfs201.git;a=commitdiff;h=17a4af23b7ed92a134059ea617805042f9fd5bc4
commit 17a4af23b7ed92a134059ea617805042f9fd5bc4 Author: gholafox <ghola...@free.fr> Date: Mon Apr 12 19:40:15 2010 +0200 physfs-2.0.1-1-i686 * Version bump * Add patch to avoid the compiler complain about a warning = an error diff --git a/source/lib-extra/physfs/FrugalBuild b/source/lib-extra/physfs/FrugalBuild index 95afcbe..489f0d8 100644 --- a/source/lib-extra/physfs/FrugalBuild +++ b/source/lib-extra/physfs/FrugalBuild @@ -1,9 +1,9 @@ -# Compiling Time: 0.01 SBU -# Maintainer: gholafox <j3d1...@free.fr> +# Compiling Time: 0.07 SBU +# Maintainer: gholafox <ghola...@free.fr> # Contributor: AlexExtreme <a...@alex-smith.me.uk> pkgname=physfs -pkgver=2.0.0 +pkgver=2.0.1 pkgrel=1 pkgdesc="PhysicsFS is a library to provide abstract access to various archive" url="http://icculus.org/$pkgname" @@ -13,7 +13,7 @@ depends=('zlib' 'readline') groups=('lib-extra') archs=('i686' 'x86_64') up2date="Flasttar $url/downloads" -source=($url/downloads/$pkgname-$pkgver.tar.gz) -sha1sums=('3cfa291a82f2b0cf15b205efcf8bf53c0b54c92c') - -# optimization OK +source=($url/downloads/$pkgname-$pkgver.tar.gz \ + compilerComplainFix.patch) +sha1sums=('1e291e8717ce3bb921b74416ec7cbcf212efcaa1' \ + 'b39440e2476af518668bd54a9a55646a59ee645a') diff --git a/source/lib-extra/physfs/compilerComplainFix.patch b/source/lib-extra/physfs/compilerComplainFix.patch new file mode 100644 index 0000000..34c9977 --- /dev/null +++ b/source/lib-extra/physfs/compilerComplainFix.patch @@ -0,0 +1,24 @@ + +# HG changeset patch +# User Ryan C. Gordon <iccu...@icculus.org> +# Date 1269547127 14400 +# Node ID ee3d2e6e1161799e9b6822eb7ec589a4dea9a352 +# Parent 01e7571471efc54c036a558360518c5088c87c11 +Initialize an array to quiet compiler complaining. + +Some versions of GCC think this can be used uninitialized. It doesn't appear + to be the case, but we initialize it to keep the compiler happy. It's probably + a good idea anyhow. + +--- a/archivers/zip.c Wed Mar 24 23:51:40 2010 -0400 ++++ b/archivers/zip.c Thu Mar 25 15:58:47 2010 -0400 +@@ -375,7 +375,7 @@ + static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len) + { + PHYSFS_uint8 buf[256]; +- PHYSFS_uint8 extra[4]; ++ PHYSFS_uint8 extra[4] = { 0, 0, 0, 0 }; + PHYSFS_sint32 i = 0; + PHYSFS_sint64 filelen; + PHYSFS_sint64 filepos; + _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git