diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-10 12:33:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-10 12:38:10 +0000 |
commit | ecb9150a7ffce0a0658d2c7218c252df2d794ec4 (patch) | |
tree | 14d9f128f6ff9e68b442c6306f688676c4755072 /main/ffmpeg1/configure-dlvsym.patch | |
parent | 3c2b28a3f1ff8568d0bcd163f8d2c9c192e7c3cb (diff) | |
download | aports-ecb9150a7ffce0a0658d2c7218c252df2d794ec4.tar.bz2 aports-ecb9150a7ffce0a0658d2c7218c252df2d794ec4.tar.xz |
main/ffmpeg1: ffmpeg-1 for compat reasons
xbmc does not build against ffmpeg-2.0
Diffstat (limited to 'main/ffmpeg1/configure-dlvsym.patch')
-rw-r--r-- | main/ffmpeg1/configure-dlvsym.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/ffmpeg1/configure-dlvsym.patch b/main/ffmpeg1/configure-dlvsym.patch new file mode 100644 index 0000000000..b48a8e7883 --- /dev/null +++ b/main/ffmpeg1/configure-dlvsym.patch @@ -0,0 +1,30 @@ +diff --git a/configure b/configure +index c54706a..b5b3225 100755 +--- a/configure ++++ b/configure +@@ -1053,6 +1053,7 @@ HAVE_LIST=" + dev_video_bktr_ioctl_bt848_h + dlfcn_h + dlopen ++ dlvsym + dos_paths + ebp_available + ebx_available +@@ -3053,14 +3054,15 @@ check_ldflags -Wl,--warn-common + check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUILD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\$(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' + test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic + ++check_func dlvsym -lld + echo "X{};" > $TMPV + if test_ldflags -Wl,--version-script,$TMPV; then + append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver' +- check_cc <<EOF && enable symver_asm_label ++ enabled dlvsym && check_cc <<EOF && enable symver_asm_label + void ff_foo(void) __asm__ ("av_foo@VERSION"); + void ff_foo(void) { ${inline_asm+__asm__($quotes);} } + EOF +- check_cc <<EOF && enable symver_gnu_asm ++ enabled dlvsym && check_cc <<EOF && enable symver_gnu_asm + __asm__(".symver ff_foo,av_foo@VERSION"); + void ff_foo(void) {} + EOF |