diff options
Diffstat (limited to 'games-strategy/netpanzer/files')
-rw-r--r-- | games-strategy/netpanzer/files/physfs.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games-strategy/netpanzer/files/physfs.patch b/games-strategy/netpanzer/files/physfs.patch new file mode 100644 index 000000000000..c77151bec6ba --- /dev/null +++ b/games-strategy/netpanzer/files/physfs.patch @@ -0,0 +1,21 @@ +--- configure.ac.orig 2004-05-05 15:44:04.000000000 -0700 ++++ configure.ac 2004-05-05 15:45:37.000000000 -0700 +@@ -118,8 +118,9 @@ + [AC_MSG_ERROR([Please install SDLImage >= 1.2.1])], + [$SDL_CFLAGS], [$SDL_LIBS]) + +-NP_FINDLIB([PHYSFS], [physfs], [physfs >= 1.9], ++NP_FINDLIB([PHYSFS], [physfs], [physfs >= 0.1.9], + NP_LANG_PROGRAM([#include <physfs.h> ++#if PHYSFS_VER_MAJOR < 1 + #if PHYSFS_VER_MINOR < 1 + # error PHYSFS is too old + #else +@@ -128,6 +129,7 @@ + # error PHYSFS is too old + # endif + # endif ++#endif + #endif]), + [], [-lphysfs], + [], |