13
dependencies/physfs/physfs-2.0.2/compile_fixes.patch
vendored
Normal file
13
dependencies/physfs/physfs-2.0.2/compile_fixes.patch
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -Nurd physfs-2.0.2/archivers/wad.c physfs-2.0.2-/archivers/wad.c
|
||||
--- physfs-2.0.2/archivers/wad.c 2011-02-18 23:17:31.000000000 +0200
|
||||
+++ physfs-2.0.2-/archivers/wad.c 2012-10-05 16:47:03.105547992 +0300
|
||||
@@ -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;
|
||||
19
dependencies/physfs/physfs_2.0.2.bb
vendored
Normal file
19
dependencies/physfs/physfs_2.0.2.bb
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "PhysicsFS is a library to provide abstract access to various archives."
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "zlib"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8ad5dfd37e76cb8e82b47c55a99097d5"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS = "readline"
|
||||
|
||||
SRC_URI = "http://icculus.org/physfs/downloads/physfs-${PV}.tar.gz \
|
||||
file://compile_fixes.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "4e8927c3d30279b03e2592106eb9184a"
|
||||
SRC_URI[sha256sum] = "ae296d3148228e03fd56cc9ea58af02f87dcbb1fadef125c18b709ab37f0bc09"
|
||||
|
||||
S = "${WORKDIR}/physfs-${PV}"
|
||||
|
||||
inherit cmake
|
||||
Reference in New Issue
Block a user