r10865 - in packages/trunk/libphysfs/debian: . patches
Patrick Matthäi
pmatthaei at alioth.debian.org
Thu Mar 25 20:30:53 UTC 2010
Author: pmatthaei
Date: 2010-03-25 20:30:52 +0000 (Thu, 25 Mar 2010)
New Revision: 10865
Added:
packages/trunk/libphysfs/debian/patches/
packages/trunk/libphysfs/debian/patches/01-fix-gcc4.4-building.diff
packages/trunk/libphysfs/debian/patches/series
Modified:
packages/trunk/libphysfs/debian/changelog
Log:
* Add 01-fix-gcc4.4-building.diff from upstream, so that physfs can be build
with gcc 4.4, thanks.
Modified: packages/trunk/libphysfs/debian/changelog
===================================================================
--- packages/trunk/libphysfs/debian/changelog 2010-03-25 17:52:36 UTC (rev 10864)
+++ packages/trunk/libphysfs/debian/changelog 2010-03-25 20:30:52 UTC (rev 10865)
@@ -6,8 +6,10 @@
Closes: #553174
- Properly initialize on kfreebsd-*.
Closes: #544356
+ * Add 01-fix-gcc4.4-building.diff from upstream, so that physfs can be build
+ with gcc 4.4, thanks.
- -- Patrick Matthäi <pmatthaei at debian.org> Thu, 25 Mar 2010 18:49:48 +0100
+ -- Patrick Matthäi <pmatthaei at debian.org> Thu, 25 Mar 2010 21:30:08 +0100
libphysfs (2.0.0-5) unstable; urgency=high
Added: packages/trunk/libphysfs/debian/patches/01-fix-gcc4.4-building.diff
===================================================================
--- packages/trunk/libphysfs/debian/patches/01-fix-gcc4.4-building.diff (rev 0)
+++ packages/trunk/libphysfs/debian/patches/01-fix-gcc4.4-building.diff 2010-03-25 20:30:52 UTC (rev 10865)
@@ -0,0 +1,14 @@
+# Fix gcc warning, which was threaten as an error.
+
+diff -Naur physfs-2.0.1.orig//archivers/zip.c physfs-2.0.1/archivers/zip.c
+--- physfs-2.0.1.orig//archivers/zip.c 2010-03-25 04:51:40.000000000 +0100
++++ physfs-2.0.1/archivers/zip.c 2010-03-25 21:28:55.000000000 +0100
+@@ -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;
Added: packages/trunk/libphysfs/debian/patches/series
===================================================================
--- packages/trunk/libphysfs/debian/patches/series (rev 0)
+++ packages/trunk/libphysfs/debian/patches/series 2010-03-25 20:30:52 UTC (rev 10865)
@@ -0,0 +1 @@
+01-fix-gcc4.4-building.diff
More information about the Pkg-games-commits
mailing list