summaryrefslogtreecommitdiff
path: root/packages/libsdl/files
diff options
context:
space:
mode:
authorwoglinde <heinold@inf.fu-berlin.de>2008-10-18 21:59:01 +0200
committerwoglinde <heinold@inf.fu-berlin.de>2008-10-18 22:32:24 +0200
commit8b5e3f5fce5605e2bd0fc8b36b85809c65764acd (patch)
treeedc2a36fe577fb7125c94313003694690053f567 /packages/libsdl/files
parent3a44c41ea3993ef7899f49228eab5874ae0bfb04 (diff)
libsdl-x11: fix sdl.m4 for sdl-config
* there is a stupid PATH setting which is using the host stuff, just removed it and our staging sdl-config is found * bump PR
Diffstat (limited to 'packages/libsdl/files')
-rw-r--r--packages/libsdl/files/fixmfour.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/libsdl/files/fixmfour.patch b/packages/libsdl/files/fixmfour.patch
new file mode 100644
index 0000000000..0d534bd9a1
--- /dev/null
+++ b/packages/libsdl/files/fixmfour.patch
@@ -0,0 +1,14 @@
+Index: SDL-1.2.11/sdl.m4
+===================================================================
+--- SDL-1.2.11.orig/sdl.m4 2008-10-18 21:20:13.482478928 +0200
++++ SDL-1.2.11/sdl.m4 2008-10-18 21:20:28.979441480 +0200
+@@ -32,9 +32,6 @@
+ fi
+ fi
+
+- if test "x$prefix" != xNONE; then
+- PATH="$prefix/bin:$prefix/usr/bin:$PATH"
+- fi
+ AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
+ min_sdl_version=ifelse([$1], ,0.11.0,$1)
+ AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)