physfs: update to 2.0.3.

This commit is contained in:
Juan RP 2012-10-26 06:25:43 +02:00
parent cfe9abbfbe
commit 118b4b03ec
4 changed files with 13 additions and 28 deletions

View file

@ -1,12 +0,0 @@
--- archivers/wad.c.orig 2011-07-20 11:19:01.409198964 +0200
+++ archivers/wad.c 2011-07-20 11:19:31.465196724 +0200
@@ -245,9 +245,6 @@ static int wad_load_entries(const char *
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;

View file

@ -1,3 +0,0 @@
libphysfs.so.1
libreadline.so.6
libc.so.6

View file

@ -1,16 +1,13 @@
# Template file for 'physfs-devel'.
#
depends="readline-devel zlib-devel"
depends="readline-devel zlib-devel physfs-${version}_${revision}"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
do_install() {
vmove usr/include usr
}

View file

@ -1,17 +1,20 @@
# Template file for 'physfs'
pkgname=physfs
version=2.0.2
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.gz"
version=2.0.3
revision=1
subpackages="$pkgname-devel"
build_style=cmake
revision=2
configure_args="-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
-DPHYSFS_BUILD_STATIC=OFF"
makedepends="cmake zlib-devel readline-devel"
short_desc="Library to provide abstract access to various archives"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=ae296d3148228e03fd56cc9ea58af02f87dcbb1fadef125c18b709ab37f0bc09
homepage="http://icculus.org/physfs/"
license="zlib"
distfiles="http://icculus.org/physfs/downloads/physfs-$version.tar.bz2"
checksum=ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69
long_desc="
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
the physical filesystem. No file writing done through the PhysicsFS API can
leave that write directory, for security."
subpackages="$pkgname-devel"