aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libsdl/files/remove_path.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-04 18:55:17 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-12 13:03:58 +0100
commit0ab47f95c71670054ad586cfec0fcd429f1fe0db (patch)
tree714e3af01b3e0e13eca1f807e03e88115fa7f30b /recipes-graphics/libsdl/files/remove_path.patch
parent06a4a57be73d0457020e18f292d5ee21a56566fe (diff)
downloadmeta-opie-0ab47f95c71670054ad586cfec0fcd429f1fe0db.tar.gz
libsdl-qpe: add missing patches from OE-Classic
Fixes related warnings during parsing. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-graphics/libsdl/files/remove_path.patch')
-rw-r--r--recipes-graphics/libsdl/files/remove_path.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-graphics/libsdl/files/remove_path.patch b/recipes-graphics/libsdl/files/remove_path.patch
new file mode 100644
index 0000000..f5bee40
--- /dev/null
+++ b/recipes-graphics/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)