From f53c6446866fe2aeedd2da8b8e07d7adf6b5d877 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 27 Feb 2008 11:04:17 +0000 Subject: libsdl: Remove PATH setting from sdl.m4, it breaks things --- packages/libsdl/files/remove_path.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/libsdl/files/remove_path.patch (limited to 'packages/libsdl/files/remove_path.patch') 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) -- cgit v1.2.3