changeset 2833:5e20e0961816

update package physfs
author Mark Brand <mabrand@mabrand.nl>
date Tue, 30 Oct 2012 19:51:55 +0100
parents a3d573500901
children fe0a6e45513f
files index.html src/physfs-1-fix-gcc46-warnings.patch src/physfs.mk
diffstat 3 files changed, 3 insertions(+), 33 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Sat Oct 27 23:06:34 2012 +0200
+++ b/index.html	Tue Oct 30 19:51:55 2012 +0100
@@ -1720,7 +1720,7 @@
     </tr>
     <tr>
         <td id="physfs-package">physfs</td>
-        <td id="physfs-version">2.0.2</td>
+        <td id="physfs-version">2.0.3</td>
         <td id="physfs-website"><a href="http://icculus.org/physfs/">physfs</a></td>
     </tr>
     <tr>
--- a/src/physfs-1-fix-gcc46-warnings.patch	Sat Oct 27 23:06:34 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-This file is part of MXE.
-See index.html for further information.
-
-This patch has been taken from:
-http://icculus.org/pipermail/physfs/2011-March/000990.html
-
-diff -ru physfs-2.0.2.orig/archivers/wad.c physfs-2.0.2/archivers/wad.c
---- physfs-2.0.2.orig/archivers/wad.c	2011-02-18 22:17:31.000000000 +0100
-+++ physfs-2.0.2/archivers/wad.c	2011-03-27 14:55:10.000000000 +0200
-@@ -245,9 +245,6 @@
-     PHYSFS_uint32 fileCount;
-     PHYSFS_uint32 directoryOffset;
-     WADentry *entry;
--    char lastDirectory[9];
--
--    lastDirectory[8] = 0; /* Make sure lastDirectory stays null-terminated. */
- 
-     BAIL_IF_MACRO(!wad_open(name, forWriting, &fh, &fileCount,&directoryOffset), NULL, 0);
-     info->entryCount = fileCount;
-diff -ru physfs-2.0.2.orig/platform/windows.c physfs-2.0.2/platform/windows.c
---- physfs-2.0.2.orig/platform/windows.c	2011-02-18 22:17:31.000000000 +0100
-+++ physfs-2.0.2/platform/windows.c	2011-03-27 14:54:17.000000000 +0200
-@@ -462,6 +462,7 @@
-              */	
-     		rc = pGetUserProfileDirectoryW(accessToken, &dummy, &psize);
-             assert(!rc);  /* !!! FIXME: handle this gracefully. */
-+            (void)rc;
- 
-             /* Allocate memory for the profile directory */
-             wstr = (LPWSTR) __PHYSFS_smallAlloc(psize * sizeof (WCHAR));
--- a/src/physfs.mk	Sat Oct 27 23:06:34 2012 +0200
+++ b/src/physfs.mk	Tue Oct 30 19:51:55 2012 +0100
@@ -3,9 +3,9 @@
 
 PKG             := physfs
 $(PKG)_IGNORE   :=
-$(PKG)_CHECKSUM := 2d3d3cc819ad26542d34451f44050b85635344d0
+$(PKG)_CHECKSUM := 327308c777009a41bbabb9159b18c4c0ac069537
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
-$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.gz
+$(PKG)_FILE     := $($(PKG)_SUBDIR).tar.bz2
 $(PKG)_URL      := http://icculus.org/physfs/downloads/$($(PKG)_FILE)
 $(PKG)_DEPS     := gcc zlib