summaryrefslogtreecommitdiff
path: root/libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-12 23:58:02 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-13 17:14:32 +0100
commit167054b05684dc6423bc025e4f8ef657956d56fa (patch)
tree79eac044d5bd40d98615f39be7381e0b870714f6 /libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch
parente77ff396b67564f497ee1868d5cddfc1eeeffd2e (diff)
downloadabslibre-167054b05684dc6423bc025e4f8ef657956d56fa.tar.gz
abslibre-167054b05684dc6423bc025e4f8ef657956d56fa.tar.bz2
abslibre-167054b05684dc6423bc025e4f8ef657956d56fa.zip
libre: handbrake: update to 1.3.0
The current handbrake 1.1.2 package stopped working: $ ghb ghb: error while loading shared libraries: libdvdread.so.4: cannot open shared object file: No such file or directory As handbrake 1.1.2 failed with compilation issue it could not be fixed by rebuilding it. Handbrake 1.2.2 and 1.3.0 also had build issues and it seemed easier to fix 1.3.0's issues. While the patches are not good enough quality to be upstreamed, it's still a good start as they could be cleaned up or rewriten and submited later. Ideally the patches should enable the autodetection of libbluray and libx264 like it is done for various libraries in libhb/module.defs: ifneq ($(HAS.iconv),1) LIBHB.dll.libs += $(CONTRIB.build/)lib/libiconv.a else LIBHB.GCC.l += iconv endif Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch')
-rw-r--r--libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch b/libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch
new file mode 100644
index 000000000..09333b96f
--- /dev/null
+++ b/libre/handbrake/0001-Fix-linking-issue-when-disabling-internal-libbluray.patch
@@ -0,0 +1,31 @@
+From 27812b1245d525604e9e3da09ae45134595146b9 Mon Sep 17 00:00:00 2001
+From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+Date: Wed, 13 Nov 2019 16:07:39 +0100
+Subject: [PATCH 1/2] Fix linking issue when disabling internal libbluray
+
+Without that fix we have:
+ /usr/bin/ld: /home/gnutoo/work/projects/parabola/handbrake/build//libhb/libhandbrake.a(ports.o):
+ undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
+ /usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from
+ command line
+
+Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+---
+ gtk/configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gtk/configure.ac b/gtk/configure.ac
+index 92aabcbe8..82e8d88ce 100644
+--- a/gtk/configure.ac
++++ b/gtk/configure.ac
+@@ -232,6 +232,7 @@ case $host in
+ HB_LIBS="$HB_LIBS -pthread"
+ ;;
+ *-*-linux*)
++ HB_LIBS="$HB_LIBS -ldl -lpthread"
+ if test "x$use_qsv" = "xyes" ; then
+ HB_LIBS="$HB_LIBS -lva -lva-drm"
+ fi
+--
+2.24.0
+