summaryrefslogtreecommitdiff
path: root/package/ffmpeg/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'package/ffmpeg/patches/patch-configure')
-rw-r--r--package/ffmpeg/patches/patch-configure54
1 files changed, 54 insertions, 0 deletions
diff --git a/package/ffmpeg/patches/patch-configure b/package/ffmpeg/patches/patch-configure
new file mode 100644
index 000000000..d23a61e52
--- /dev/null
+++ b/package/ffmpeg/patches/patch-configure
@@ -0,0 +1,54 @@
+--- ffmpeg-0.5.orig/configure 2009-03-01 18:57:14.000000000 +0100
++++ ffmpeg-0.5/configure 2009-06-12 23:27:05.000000000 +0200
+@@ -2486,51 +2486,6 @@ cmp -s $TMPH config.h &&
+
+ rm -f $TMPC $TMPE $TMPH $TMPO $TMPS $TMPSH
+
+-# build tree in object directory if source path is different from current one
+-if enabled source_path_used; then
+- DIRS="\
+- doc \
+- libavcodec \
+- libavcodec/alpha \
+- libavcodec/arm \
+- libavcodec/bfin \
+- libavcodec/mlib \
+- libavcodec/ppc \
+- libavcodec/sh4 \
+- libavcodec/sparc \
+- libavcodec/x86 \
+- libavdevice \
+- libavfilter \
+- libavformat \
+- libavutil \
+- libpostproc \
+- libswscale \
+- tests \
+- tools \
+- vhook \
+- "
+- FILES="\
+- Makefile \
+- common.mak \
+- subdir.mak \
+- doc/texi2pod.pl \
+- libavcodec/Makefile \
+- libavdevice/Makefile \
+- libavfilter/Makefile \
+- libavformat/Makefile \
+- libavutil/Makefile \
+- libpostproc/Makefile \
+- libswscale/Makefile \
+- "
+- for dir in $DIRS ; do
+- mkdir -p $dir
+- done
+- for f in $FILES ; do
+- $ln_s "$source_path/$f" $f
+- done
+-fi
+-
+-
+ # build pkg-config files
+
+ pkgconfig_generate(){