summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/Jamfile2
-rw-r--r--contrib/patch-faad2-libtool22.patch13
2 files changed, 14 insertions, 1 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile
index 289d7c507..0b4b846e8 100644
--- a/contrib/Jamfile
+++ b/contrib/Jamfile
@@ -68,7 +68,7 @@ actions LibFaad2
{
cd `dirname $(>)` && CONTRIB=`pwd` &&
rm -rf faad2 && (gzip -dc faad2.tar.gz | tar xf -) &&
- cd faad2 &&
+ cd faad2 && $(PATCH) -p1 < ../patch-faad2-libtool22.patch &&
./bootstrap && ./configure --prefix=$CONTRIB --cache-file=$CONTRIB/config.cache --disable-shared && $(MAKE) && $(MAKE) install
}
Wget $(SUBDIR)/faad2.tar.gz : $(SUBDIR)/version_faad2.txt ;
diff --git a/contrib/patch-faad2-libtool22.patch b/contrib/patch-faad2-libtool22.patch
new file mode 100644
index 000000000..4eab08487
--- /dev/null
+++ b/contrib/patch-faad2-libtool22.patch
@@ -0,0 +1,13 @@
+Index: faad2/configure.in
+===================================================================
+--- faad2.orig/configure.in
++++ faad2/configure.in
+@@ -18,7 +18,7 @@ dnl Checks for programs.
+ AC_PROG_CC
+ AC_PROG_CPP
+ dnl disable for mpeg4ip plugin
+-dnl AC_PROG_CXX
++AC_PROG_CXX
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET