summaryrefslogtreecommitdiff
path: root/packages/libsdl/files/remove_path.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-27 13:41:43 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-27 13:41:43 +0000
commitc298612723f39dbf17b55ad0deca6baacc81fc3d (patch)
tree6533799fe24751b18294df3afa4917d7c59c6665 /packages/libsdl/files/remove_path.patch
parentb8db1572bff072ccf1af4b484ca4c0919fbbed79 (diff)
parentaedf0d2b8898cc024e9c210580f5d0627a05329b (diff)
merge of 'e2f4456d565b95939ea1c515808e7c16c52b591a'
and 'eefe1e616b9d0ad9b002797464d94b99b92213fb'
Diffstat (limited to 'packages/libsdl/files/remove_path.patch')
-rw-r--r--packages/libsdl/files/remove_path.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/libsdl/files/remove_path.patch b/packages/libsdl/files/remove_path.patch
new file mode 100644
index 0000000000..f5bee40bbd
--- /dev/null
+++ b/packages/libsdl/files/remove_path.patch
@@ -0,0 +1,18 @@
+OE goes to great lengths to set PATH correctly and this just breaks
+things since local sdl-config binaries will suddenly be preferred
+rather than those in staging.
+
+RP - 27/02/2008
+
+Index: SDL-1.2.9/sdl.m4
+===================================================================
+--- SDL-1.2.9.orig/sdl.m4 2008-02-27 10:08:38.000000000 +0000
++++ SDL-1.2.9/sdl.m4 2008-02-27 10:08:51.000000000 +0000
+@@ -33,7 +33,6 @@
+ fi
+
+ AC_REQUIRE([AC_CANONICAL_TARGET])
+- PATH="$prefix/bin:$prefix/usr/bin:$PATH"
+ 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)