summaryrefslogtreecommitdiff
path: root/package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2010-06-14 21:41:43 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-14 23:39:15 +0200
commit5253efadb0f5ba7e3bc3c339a1fa2a83df86ac7e (patch)
treef93d7c71df04ab836691a98247324b434835f7d2 /package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch
parent13293407c988c5c5fdcf0ffacf4e29f8462e2b64 (diff)
ffmpeg: add commandline programs
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch')
-rw-r--r--package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch b/package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch
new file mode 100644
index 000000000..58d08aa28
--- /dev/null
+++ b/package/multimedia/ffmpeg/ffmpeg-0.5.2-fix-sdl-config-search.patch
@@ -0,0 +1,17 @@
+Allow FFmpeg's ./configure script to use a custom sdl-config command.
+
+Inspired from:
+http://www.mail-archive.com/uclinux-dist-commits@blackfin.uclinux.org/msg01099.html
+
+diff -u ffmpeg-0.5.2-orig/configure ffmpeg-0.5.2/configure
+--- a/configure
++++ b/configure
+@@ -2066,7 +2066,7 @@
+
+ disable sdl_too_old
+ disable sdl
+-SDL_CONFIG="${cross_prefix}sdl-config"
++SDL_CONFIG="${SDL_CONFIG-${cross_prefix}sdl-config}"
+ if "${SDL_CONFIG}" --version > /dev/null 2>&1; then
+ sdl_cflags=`"${SDL_CONFIG}" --cflags`
+ temp_cflags $sdl_cflags