[SCM] handbrake/master: fix linking by adding ldl to LDFLAGS
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sat Feb 15 15:18:07 UTC 2014
The following commit has been merged in the master branch:
commit 03995ad5862504f07095d067732bc48a3b0ae43e
Author: Reinhard Tartler <siretart at tauware.de>
Date: Sat Feb 15 14:11:26 2014 +0000
fix linking by adding ldl to LDFLAGS
diff --git a/debian/patches/0021-link-fix-add-ldl.patch b/debian/patches/0021-link-fix-add-ldl.patch
new file mode 100644
index 0000000..265b8c3
--- /dev/null
+++ b/debian/patches/0021-link-fix-add-ldl.patch
@@ -0,0 +1,16 @@
+From: Reinhard Tartler
+Subject: Fix FTBFS at link time due to missing -ldl
+
+diff --git a/gtk/configure.ac b/gtk/configure.ac
+index c4362c2..2ae001b 100644
+--- a/gtk/configure.ac
++++ b/gtk/configure.ac
+@@ -179,7 +179,7 @@ case $host in
+ ;;
+ esac
+
+-HB_LIBS="-lhandbrake -la52 -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2"
++HB_LIBS="-lhandbrake -la52 -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2 -ldl"
+
+ if test "x$use_fdk_aac" = "xyes" ; then
+ HB_LIBS+=" -lfdk-aac"
diff --git a/debian/patches/series b/debian/patches/series
index a71afd7..47dc974 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
0016-use-older-libmkv.patch
0017-fixup-libmkv.patch
0020-include-cpuid.patch
+0021-link-fix-add-ldl.patch
--
handbrake packaging
More information about the pkg-multimedia-commits
mailing list