physfs: update to 2.0.1.

--HG--
extra : convert_revision : 80adcf4d92de3bd8441d50c45c056eb7c40d62c9
This commit is contained in:
Juan RP 2010-03-26 12:46:20 +01:00
parent f45450e516
commit a005cdc402
3 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,11 @@
--- archivers/zip.c.orig 2010-03-26 12:41:29.789614960 +0100
+++ archivers/zip.c 2010-03-26 12:42:02.340615428 +0100
@@ -375,7 +375,7 @@ static int ZIP_fileClose(fvoid *opaque)
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;

View file

@ -5,6 +5,8 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
Add_dependency run glibc
Add_dependency run readline-devel
Add_dependency run zlib-devel Add_dependency run zlib-devel
Add_dependency run physfs Add_dependency run physfs

View file

@ -1,6 +1,6 @@
# Template file for 'physfs' # Template file for 'physfs'
pkgname=physfs pkgname=physfs
version=2.0.0 version=2.0.1
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.gz" distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.gz"
build_style=configure build_style=configure
CFLAGS="-fno-strict-aliasing" CFLAGS="-fno-strict-aliasing"
@ -8,7 +8,7 @@ configure_script="cmake"
configure_args=". -DCMAKE_INSTALL_PREFIX=/usr" configure_args=". -DCMAKE_INSTALL_PREFIX=/usr"
short_desc="Library to provide abstract access to various archives" short_desc="Library to provide abstract access to various archives"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=cbdfaf484d26c2c5d5673aabf8a3f1e0afdcbbd0a99865ba226e9368f3c5501c checksum=1ee9891d9d34db4bcf78ae31f321fdb948c12e233ca04c690cae032968dbf45d
long_desc=" long_desc="
It is intended for use in video games, and the design was somewhat inspired It is intended for use in video games, and the design was somewhat inspired
by Quake 3's file subsystem. The programmer defines a write directory on by Quake 3's file subsystem. The programmer defines a write directory on