r10244 - in packages/tags/libphysfs: . 2.0.0-4 2.0.0-4/debian 2.0.0-4/debian/patches
Gonéri Le Bouder
goneri at alioth.debian.org
Fri Aug 28 22:06:07 UTC 2009
Author: goneri
Date: 2009-08-28 22:06:06 +0000 (Fri, 28 Aug 2009)
New Revision: 10244
Added:
packages/tags/libphysfs/2.0.0-4/
packages/tags/libphysfs/2.0.0-4/README.source
packages/tags/libphysfs/2.0.0-4/debian/changelog
packages/tags/libphysfs/2.0.0-4/debian/control
packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff
Removed:
packages/tags/libphysfs/2.0.0-4/debian/changelog
packages/tags/libphysfs/2.0.0-4/debian/control
packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff
Log:
tag 2.0.0-4
Copied: packages/tags/libphysfs/2.0.0-4/README.source (from rev 10240, packages/trunk/libphysfs/README.source)
===================================================================
--- packages/tags/libphysfs/2.0.0-4/README.source (rev 0)
+++ packages/tags/libphysfs/2.0.0-4/README.source 2009-08-28 22:06:06 UTC (rev 10244)
@@ -0,0 +1,2 @@
+This package uses quilt for patch management, for more information see
+the file /usr/share/doc/quilt/README.source in the quilt package.
Deleted: packages/tags/libphysfs/2.0.0-4/debian/changelog
===================================================================
--- packages/trunk/libphysfs/debian/changelog 2009-08-27 17:28:59 UTC (rev 10225)
+++ packages/tags/libphysfs/2.0.0-4/debian/changelog 2009-08-28 22:06:06 UTC (rev 10244)
@@ -1,169 +0,0 @@
-libphysfs (2.0.0-3) unstable; urgency=low
-
- * Change my email address.
- * Add 03_gcc4.4-ftbfs.diff patch from upstream, which fixes a FTBFS with
- gcc 4.4.
- Closes: #525750
- * Add experimental 02_fix-hurd-ftbfs.diff patch, which should fix FTBFS
- on hurd.
- Closes: #493916
- * Move libphysfs1-dbg to section debug. This fixes a lintian warning.
- * Bump Standards-Version to 3.8.2 (no changes needed).
-
- -- Patrick Matthäi <pmatthaei at debian.org> Thu, 18 Jun 2009 08:18:33 +0200
-
-libphysfs (2.0.0-2) unstable; urgency=low
-
- [ Barry deFreese ]
- * Upload new upstream to unstable.
- + New binaries for testing physfs added to -dev package.
- * Add Provides, Conflicts, and Replaces for libphysfs-1.0-0.
- + ABI compatible with previous version so symlink libphysfs-1.0-0
- to the new library.
- * Drop 02_soname.patch, no longer needed.
-
- -- Barry deFreese <bdefreese at debian.org> Mon, 23 Mar 2009 11:52:31 -0400
-
-libphysfs (2.0.0-1) experimental; urgency=low
-
- [ Barry deFreese ]
- * New upstream release.
- * Bump Standards Version to 3.8.1. (No changes needed).
-
- -- Barry deFreese <bdefreese at debian.org> Mon, 23 Mar 2009 10:26:34 -0400
-
-libphysfs (1.1.1-1) experimental; urgency=low
-
- [ Patrick Matthäi ]
- * Add missing ${misc:Depends}. Thanks lintian.
-
- [ Barry deFreese ]
- * New upstream release.
- * Rename binary for SONAME bump.
- * Fix symbols file. (Thanks to Paul Wise).
- * Don't install bogus manpage links.
- * Remove duplicated sections from binary packages.
- * Add description to quilt patch.
-
- -- Barry deFreese <bdefreese at debian.org> Sun, 01 Mar 2009 18:05:01 -0500
-
-libphysfs (1.0.1-3) unstable; urgency=low
-
- [ Barry deFreese ]
- * 02_soname.diff - Fix *_AGE in configure and configure.in.
- * Rename binary package to 1.0-0 instead of 1.0-1.
- * Remove old unnecessary Conflicts and Replaces.
-
- -- Barry deFreese <bdefreese at debian.org> Sat, 07 Mar 2009 21:43:12 -0500
-
-libphysfs (1.0.1-2) unstable; urgency=low
-
- [ Patrick Matthäi ]
- * Add missing ${misc:Depends}. Thanks lintian.
-
- [ Barry deFreese ]
- * Don't install bogus manpage links.
- * Remove duplicated sections from binary packages.
- * Add description to quilt patch.
-
- -- Barry deFreese <bdefreese at debian.org> Sun, 01 Mar 2009 18:05:01 -0500
-
-libphysfs (1.0.1-1) experimental; urgency=low
-
- [ Barry deFreese ]
- * New maintainer.
- + Acknowledged by previous maintainer.
- + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
- + Add myself to uploaders.
- * New upstream release.
- + Bump package name to match new soname.
- * Fix description on -dev package. (Closes: #416614).
- * Move Homepage from package description to source header.
- * Make binNMU safe.
- * Make clean not ignore errors.
- * Remove un-needed dirs files.
- * Remove unnecessary build-dep on automake1.7.
- * Add quilt patching system.
- + 01_manpages.diff - Fix generated manpages.
- * Add sed script in rules to fix manpage whatis entry.
- * Add VCS tags.
- * Fix up watch file.
- * Re-enable readline support in rules.
- + Add build-dep on libreadline5-dev.
- * Bump debhelper build-dep and compat to 5.
- * Bump Standards Version to 3.7.3. (No changes needed).
-
- [ Patrick Matthäi ]
- * Provide debugging symbols in a separate package.
- Closes: #488468
- * Change short description to a simillar one as the libguichan binary package
- itself with a note, that it contains the development headers.
- Closes: #416614
- * Bump Standards-Version to 3.8.0 (no changes needed).
- * Add myself to uploaders.
- * Minor debian/rules cleanups.
- * Added .symbols file for the library.
- * Do not build by default with the verbose option to reduce the size of the
- build log.
-
- -- Barry deFreese <bdefreese at debian.org> Sat, 29 Nov 2008 10:45:08 -0500
-
-libphysfs (1.0.0-5) unstable; urgency=high
-
- * Urgency high due to security fix on most architectures (Closes: #318091)
- * Added explicit version of zlib1g-dev as a build dependecy.
- * Bumped Standards-Version to 3.6.2 (no changes needed)
-
- -- Bartosz Fenski <fenio at debian.org> Wed, 13 Jul 2005 15:53:33 +0200
-
-libphysfs (1.0.0-4) unstable; urgency=low
-
- * Fixed wrong build dependencies (Closes: #304438)
- Thanks to Andreas Jochens for spotting this.
-
- -- Bartosz Fenski <fenio at debian.org> Wed, 13 Apr 2005 09:45:33 +0200
-
-libphysfs (1.0.0-3) unstable; urgency=low
-
- * Updated libtool and autoconf stuff. (Closes: #304298)
- * s/fenio at o2.pl/fenio at debian.org/
- * Removed Scott James Remnant from Uploaders, many thanks for all uploads
- and useful hints.
-
- -- Bartosz Fenski <fenio at debian.org> Tue, 12 Apr 2005 10:11:32 +0200
-
-libphysfs (1.0.0-2) unstable; urgency=low
-
- * Setting proper conflicting values.
-
- -- Bartosz Fenski <fenio at o2.pl> Fri, 9 Jul 2004 22:25:15 +0200
-
-libphysfs (1.0.0-1) unstable; urgency=low
-
- * New package because of SONAME change (Closes: #253845)
-
- -- Bartosz Fenski <fenio at o2.pl> Sun, 13 Jun 2004 00:17:12 +0200
-
-libphysfs0 (1.0.0-1) unstable; urgency=low
-
- * New upstream release.
- * debian/control:
- - added Homepage to description.
- - added autotools-dev to Build-Depends:
- - added Section header for source
- - moved Section for -dev package to libdevel
- * debian/rules:
- - added --disable-readline to configure target. (Closes: #249195)
- This hopefully should fix FTBFS of libparagui on s390.
- - removed unused variables
- - many minor fixes
- * debian/shlibs.local has been removed
- * Added debian/watch file.
-
- -- Bartosz Fenski <fenio at o2.pl> Mon, 7 Jun 2004 20:59:12 +0200
-
-libphysfs0 (0.1.9-1) unstable; urgency=low
-
- * Initial Release. (Closes: #215778)
-
- -- Bartosz Fenski <fenio at o2.pl> Thu, 16 Oct 2003 21:28:21 +0200
Copied: packages/tags/libphysfs/2.0.0-4/debian/changelog (from rev 10242, packages/trunk/libphysfs/debian/changelog)
===================================================================
--- packages/tags/libphysfs/2.0.0-4/debian/changelog (rev 0)
+++ packages/tags/libphysfs/2.0.0-4/debian/changelog 2009-08-28 22:06:06 UTC (rev 10244)
@@ -0,0 +1,178 @@
+libphysfs (2.0.0-4) unstable; urgency=low
+
+ * Fix 03_gcc4.4-ftbfs.diff so it try to overwrite buffer with
+ uninitialised data Closes: #527208
+ * Standard Version 3.8.3
+ - add a README.source
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org> Fri, 28 Aug 2009 22:52:39 +0200
+
+libphysfs (2.0.0-3) unstable; urgency=low
+
+ * Change my email address.
+ * Add 03_gcc4.4-ftbfs.diff patch from upstream, which fixes a FTBFS with
+ gcc 4.4.
+ Closes: #525750
+ * Add experimental 02_fix-hurd-ftbfs.diff patch, which should fix FTBFS
+ on hurd.
+ Closes: #493916
+ * Move libphysfs1-dbg to section debug. This fixes a lintian warning.
+ * Bump Standards-Version to 3.8.2 (no changes needed).
+
+ -- Patrick Matthäi <pmatthaei at debian.org> Thu, 18 Jun 2009 08:18:33 +0200
+
+libphysfs (2.0.0-2) unstable; urgency=low
+
+ [ Barry deFreese ]
+ * Upload new upstream to unstable.
+ + New binaries for testing physfs added to -dev package.
+ * Add Provides, Conflicts, and Replaces for libphysfs-1.0-0.
+ + ABI compatible with previous version so symlink libphysfs-1.0-0
+ to the new library.
+ * Drop 02_soname.patch, no longer needed.
+
+ -- Barry deFreese <bdefreese at debian.org> Mon, 23 Mar 2009 11:52:31 -0400
+
+libphysfs (2.0.0-1) experimental; urgency=low
+
+ [ Barry deFreese ]
+ * New upstream release.
+ * Bump Standards Version to 3.8.1. (No changes needed).
+
+ -- Barry deFreese <bdefreese at debian.org> Mon, 23 Mar 2009 10:26:34 -0400
+
+libphysfs (1.1.1-1) experimental; urgency=low
+
+ [ Patrick Matthäi ]
+ * Add missing ${misc:Depends}. Thanks lintian.
+
+ [ Barry deFreese ]
+ * New upstream release.
+ * Rename binary for SONAME bump.
+ * Fix symbols file. (Thanks to Paul Wise).
+ * Don't install bogus manpage links.
+ * Remove duplicated sections from binary packages.
+ * Add description to quilt patch.
+
+ -- Barry deFreese <bdefreese at debian.org> Sun, 01 Mar 2009 18:05:01 -0500
+
+libphysfs (1.0.1-3) unstable; urgency=low
+
+ [ Barry deFreese ]
+ * 02_soname.diff - Fix *_AGE in configure and configure.in.
+ * Rename binary package to 1.0-0 instead of 1.0-1.
+ * Remove old unnecessary Conflicts and Replaces.
+
+ -- Barry deFreese <bdefreese at debian.org> Sat, 07 Mar 2009 21:43:12 -0500
+
+libphysfs (1.0.1-2) unstable; urgency=low
+
+ [ Patrick Matthäi ]
+ * Add missing ${misc:Depends}. Thanks lintian.
+
+ [ Barry deFreese ]
+ * Don't install bogus manpage links.
+ * Remove duplicated sections from binary packages.
+ * Add description to quilt patch.
+
+ -- Barry deFreese <bdefreese at debian.org> Sun, 01 Mar 2009 18:05:01 -0500
+
+libphysfs (1.0.1-1) experimental; urgency=low
+
+ [ Barry deFreese ]
+ * New maintainer.
+ + Acknowledged by previous maintainer.
+ + Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+ + Add myself to uploaders.
+ * New upstream release.
+ + Bump package name to match new soname.
+ * Fix description on -dev package. (Closes: #416614).
+ * Move Homepage from package description to source header.
+ * Make binNMU safe.
+ * Make clean not ignore errors.
+ * Remove un-needed dirs files.
+ * Remove unnecessary build-dep on automake1.7.
+ * Add quilt patching system.
+ + 01_manpages.diff - Fix generated manpages.
+ * Add sed script in rules to fix manpage whatis entry.
+ * Add VCS tags.
+ * Fix up watch file.
+ * Re-enable readline support in rules.
+ + Add build-dep on libreadline5-dev.
+ * Bump debhelper build-dep and compat to 5.
+ * Bump Standards Version to 3.7.3. (No changes needed).
+
+ [ Patrick Matthäi ]
+ * Provide debugging symbols in a separate package.
+ Closes: #488468
+ * Change short description to a simillar one as the libguichan binary package
+ itself with a note, that it contains the development headers.
+ Closes: #416614
+ * Bump Standards-Version to 3.8.0 (no changes needed).
+ * Add myself to uploaders.
+ * Minor debian/rules cleanups.
+ * Added .symbols file for the library.
+ * Do not build by default with the verbose option to reduce the size of the
+ build log.
+
+ -- Barry deFreese <bdefreese at debian.org> Sat, 29 Nov 2008 10:45:08 -0500
+
+libphysfs (1.0.0-5) unstable; urgency=high
+
+ * Urgency high due to security fix on most architectures (Closes: #318091)
+ * Added explicit version of zlib1g-dev as a build dependecy.
+ * Bumped Standards-Version to 3.6.2 (no changes needed)
+
+ -- Bartosz Fenski <fenio at debian.org> Wed, 13 Jul 2005 15:53:33 +0200
+
+libphysfs (1.0.0-4) unstable; urgency=low
+
+ * Fixed wrong build dependencies (Closes: #304438)
+ Thanks to Andreas Jochens for spotting this.
+
+ -- Bartosz Fenski <fenio at debian.org> Wed, 13 Apr 2005 09:45:33 +0200
+
+libphysfs (1.0.0-3) unstable; urgency=low
+
+ * Updated libtool and autoconf stuff. (Closes: #304298)
+ * s/fenio at o2.pl/fenio at debian.org/
+ * Removed Scott James Remnant from Uploaders, many thanks for all uploads
+ and useful hints.
+
+ -- Bartosz Fenski <fenio at debian.org> Tue, 12 Apr 2005 10:11:32 +0200
+
+libphysfs (1.0.0-2) unstable; urgency=low
+
+ * Setting proper conflicting values.
+
+ -- Bartosz Fenski <fenio at o2.pl> Fri, 9 Jul 2004 22:25:15 +0200
+
+libphysfs (1.0.0-1) unstable; urgency=low
+
+ * New package because of SONAME change (Closes: #253845)
+
+ -- Bartosz Fenski <fenio at o2.pl> Sun, 13 Jun 2004 00:17:12 +0200
+
+libphysfs0 (1.0.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ - added Homepage to description.
+ - added autotools-dev to Build-Depends:
+ - added Section header for source
+ - moved Section for -dev package to libdevel
+ * debian/rules:
+ - added --disable-readline to configure target. (Closes: #249195)
+ This hopefully should fix FTBFS of libparagui on s390.
+ - removed unused variables
+ - many minor fixes
+ * debian/shlibs.local has been removed
+ * Added debian/watch file.
+
+ -- Bartosz Fenski <fenio at o2.pl> Mon, 7 Jun 2004 20:59:12 +0200
+
+libphysfs0 (0.1.9-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #215778)
+
+ -- Bartosz Fenski <fenio at o2.pl> Thu, 16 Oct 2003 21:28:21 +0200
Deleted: packages/tags/libphysfs/2.0.0-4/debian/control
===================================================================
--- packages/trunk/libphysfs/debian/control 2009-08-27 17:28:59 UTC (rev 10225)
+++ packages/tags/libphysfs/2.0.0-4/debian/control 2009-08-28 22:06:06 UTC (rev 10244)
@@ -1,44 +0,0 @@
-Source: libphysfs
-Section: libs
-Priority: optional
-Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Barry deFreese <bdefreese at debian.org>, Patrick Matthäi <pmatthaei at debian.org>
-Build-Depends: debhelper (>= 5.0.0), quilt, cmake, doxygen, autotools-dev, zlib1g-dev, libreadline5-dev
-Standards-Version: 3.8.2
-Homepage: http://www.icculus.org/physfs/
-Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/libphysfs/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/libphysfs/?op=log
-
-Package: libphysfs-dev
-Section: libdevel
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libphysfs1 (= ${binary:Version})
-Description: filesystem abstraction library for game programmers (development headers)
- The PhysicsFS filesystem abstraction library provides a simple C
- interface to aid game programmers in utilizing game assets packaged in
- many different types of archive files.
- .
- This package contains the development libraries and headers.
-
-Package: libphysfs1
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: libphysfs-1.0-0
-Conflicts: libphysfs-1.0-0
-Replaces: libphysfs-1.0-0
-Description: filesystem abstraction library for game programmers
- The PhysicsFS filesystem abstraction library provides a simple C
- interface to aid game programmers in utilizing game assets packaged in
- many different types of archive files.
-
-Package: libphysfs1-dbg
-Architecture: any
-Depends: ${misc:Depends}, libphysfs1 (= ${binary:Version})
-Priority: extra
-Section: debug
-Description: filesystem abstraction library for game programmers (debug symbols)
- The PhysicsFS filesystem abstraction library provides a simple C
- interface to aid game programmers in utilizing game assets packaged in
- many different types of archive files.
- .
- This package contains the debugging symbols for the libphysfs package.
Copied: packages/tags/libphysfs/2.0.0-4/debian/control (from rev 10240, packages/trunk/libphysfs/debian/control)
===================================================================
--- packages/tags/libphysfs/2.0.0-4/debian/control (rev 0)
+++ packages/tags/libphysfs/2.0.0-4/debian/control 2009-08-28 22:06:06 UTC (rev 10244)
@@ -0,0 +1,46 @@
+Source: libphysfs
+Section: libs
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Uploaders: Barry deFreese <bdefreese at debian.org>,
+ Patrick Matthäi <pmatthaei at debian.org>,
+ Gonéri Le Bouder <goneri at rulezlan.org>
+Build-Depends: debhelper (>= 5.0.0), quilt, cmake, doxygen, autotools-dev, zlib1g-dev, libreadline5-dev
+Standards-Version: 3.8.3
+Homepage: http://www.icculus.org/physfs/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/libphysfs/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/libphysfs/?op=log
+
+Package: libphysfs-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libphysfs1 (= ${binary:Version})
+Description: filesystem abstraction library for game programmers (development headers)
+ The PhysicsFS filesystem abstraction library provides a simple C
+ interface to aid game programmers in utilizing game assets packaged in
+ many different types of archive files.
+ .
+ This package contains the development libraries and headers.
+
+Package: libphysfs1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Provides: libphysfs-1.0-0
+Conflicts: libphysfs-1.0-0
+Replaces: libphysfs-1.0-0
+Description: filesystem abstraction library for game programmers
+ The PhysicsFS filesystem abstraction library provides a simple C
+ interface to aid game programmers in utilizing game assets packaged in
+ many different types of archive files.
+
+Package: libphysfs1-dbg
+Architecture: any
+Depends: ${misc:Depends}, libphysfs1 (= ${binary:Version})
+Priority: extra
+Section: debug
+Description: filesystem abstraction library for game programmers (debug symbols)
+ The PhysicsFS filesystem abstraction library provides a simple C
+ interface to aid game programmers in utilizing game assets packaged in
+ many different types of archive files.
+ .
+ This package contains the debugging symbols for the libphysfs package.
Deleted: packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff
===================================================================
--- packages/trunk/libphysfs/debian/patches/03_gcc4.4-ftbfs.diff 2009-08-27 17:28:59 UTC (rev 10225)
+++ packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff 2009-08-28 22:06:06 UTC (rev 10244)
@@ -1,36 +0,0 @@
-#This patch fixes a compilation issue with gcc version 4.4.
---- a/archivers/zip.c Wed Feb 20 12:24:10 2008 +0000
-+++ b/archivers/zip.c Sun May 03 01:24:41 2009 -0700
-@@ -375,13 +375,13 @@
- static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len)
- {
- PHYSFS_uint8 buf[256];
-+ PHYSFS_uint8 extra[4];
- PHYSFS_sint32 i = 0;
- PHYSFS_sint64 filelen;
- PHYSFS_sint64 filepos;
- PHYSFS_sint32 maxread;
- PHYSFS_sint32 totalread = 0;
- int found = 0;
-- PHYSFS_uint32 extra = 0;
-
- filelen = __PHYSFS_platformFileLength(in);
- BAIL_IF_MACRO(filelen == -1, NULL, 0); /* !!! FIXME: unlocalized string */
-@@ -419,7 +419,7 @@
- {
- if (__PHYSFS_platformRead(in, buf, maxread - 4, 1) != 1)
- return(-1);
-- *((PHYSFS_uint32 *) (&buf[maxread - 4])) = extra;
-+ memcpy(&buf[maxread - 4], &extra, sizeof (extra));
- totalread += maxread - 4;
- } /* if */
- else
-@@ -429,7 +429,7 @@
- totalread += maxread;
- } /* else */
-
-- extra = *((PHYSFS_uint32 *) (&buf[0]));
-+ memcpy(&extra, buf, sizeof (extra));
-
- for (i = maxread - 4; i > 0; i--)
- {
Copied: packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff (from rev 10240, packages/trunk/libphysfs/debian/patches/03_gcc4.4-ftbfs.diff)
===================================================================
--- packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff (rev 0)
+++ packages/tags/libphysfs/2.0.0-4/debian/patches/03_gcc4.4-ftbfs.diff 2009-08-28 22:06:06 UTC (rev 10244)
@@ -0,0 +1,36 @@
+#This patch fixes a compilation issue with gcc version 4.4.
+--- a/archivers/zip.c Wed Feb 20 12:24:10 2008 +0000
++++ b/archivers/zip.c Sun May 03 01:24:41 2009 -0700
+@@ -375,13 +375,13 @@
+ static PHYSFS_sint64 zip_find_end_of_central_dir(void *in, PHYSFS_sint64 *len)
+ {
+ PHYSFS_uint8 buf[256];
++ PHYSFS_uint8 extra[4];
+ PHYSFS_sint32 i = 0;
+ PHYSFS_sint64 filelen;
+ PHYSFS_sint64 filepos;
+ PHYSFS_sint32 maxread;
+ PHYSFS_sint32 totalread = 0;
+ int found = 0;
+- PHYSFS_uint32 extra = 0;
+
+ filelen = __PHYSFS_platformFileLength(in);
+ BAIL_IF_MACRO(filelen == -1, NULL, 0); /* !!! FIXME: unlocalized string */
+@@ -419,7 +419,7 @@
+ {
+ if (__PHYSFS_platformRead(in, buf, maxread - 4, 1) != 1)
+ return(-1);
+- *((PHYSFS_uint32 *) (&buf[maxread - 4])) = extra;
++ memcpy(&extra, &buf[maxread - 4], sizeof (extra));
+ totalread += maxread - 4;
+ } /* if */
+ else
+@@ -429,7 +429,7 @@
+ totalread += maxread;
+ } /* else */
+
+- extra = *((PHYSFS_uint32 *) (&buf[0]));
++ memcpy(&extra, buf, sizeof (extra));
+
+ for (i = maxread - 4; i > 0; i--)
+ {
More information about the Pkg-games-commits
mailing list