OSDN Git Service

import original 0.9.5 release
[handbrake-jp/handbrake-jp.git] / contrib / ffmpeg / P02-darwin-pic.patch
diff --git a/contrib/ffmpeg/P02-darwin-pic.patch b/contrib/ffmpeg/P02-darwin-pic.patch
new file mode 100644 (file)
index 0000000..c151b29
--- /dev/null
@@ -0,0 +1,21 @@
+Index: configure
+===================================================================
+--- ffmpeg.orig/configure      (revision 22823)
++++ ffmpeg/configure   (working copy)
+@@ -2191,6 +2191,7 @@
+         FFSERVERLDFLAGS=-Wl,-bind_at_load
+         objformat="macho"
+         enabled x86_64 && objformat="macho64"
++        enabled x86_64 && enable pic
+         enabled_any pic shared ||
+             { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
+         ;;
+@@ -2291,7 +2292,7 @@
+         ;;
+ esac
+-check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
++#check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
+ set_default $PATHS_LIST