# HG changeset patch # User Mark Brand # Date 1351623115 -3600 # Node ID 5e20e09618166c9b08270bf299baf1b6b09593fb # Parent a3d5735009015d030056b2a3f65f5b50b89a22ed update package physfs diff -r a3d573500901 -r 5e20e0961816 index.html --- 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 @@ physfs - 2.0.2 + 2.0.3 physfs diff -r a3d573500901 -r 5e20e0961816 src/physfs-1-fix-gcc46-warnings.patch --- 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)); diff -r a3d573500901 -r 5e20e0961816 src/physfs.mk --- 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