Andrei
-
2019-03-29
- status: open --> closed
The PhysicsFS library, version 2.0.3, fails to build for 64-bit Windows due to a coding mistake in the file lzma.c (hg.icculus.org), namely the use of unsigned long instead of uintptr_t for casting pointers at lines 133 and 148.
Attached below is the patch to fix this, and the following instructions:
$ ls
physfs-2.0.3 physfs-2.0.3-x86_64.patch
$ patch -p 0 -i physfs-2.0.3-x86_64.patch
patching file physfs-2.0.3/archivers/lzma.c