[SCM] handbrake/master: Link with pthread on kfreebsd-*

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Sun Sep 28 17:01:26 UTC 2014


The following commit has been merged in the master branch:
commit f2b37223f88663a2d9880fe861579efbc4a6f646
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Sun Sep 28 18:33:30 2014 +0200

    Link with pthread on kfreebsd-*
    
    Closes: #730976
    Thanks: Petr Salinger <Petr.Salinger at seznam.cz>

diff --git a/debian/patches/004-link-pthread.patch b/debian/patches/004-link-pthread.patch
new file mode 100644
index 0000000..ff23b75
--- /dev/null
+++ b/debian/patches/004-link-pthread.patch
@@ -0,0 +1,16 @@
+Description: Link with pthread, dl and m on kfreebsd-*
+Author: Petr Salinger <Petr.Salinger at seznam.cz>
+Bug-Debian: https://bugs.debian.org/730976
+Last-Update: 2014-09-28
+
+--- handbrake.orig/test/module.defs
++++ handbrake/test/module.defs
+@@ -46,6 +46,8 @@ ifeq ($(BUILD.system),darwin)
+     TEST.GCC.l += iconv
+ else ifeq ($(BUILD.system),linux)
+     TEST.GCC.l += pthread dl m
++else ifeq ($(BUILD.system),kfreebsd)
++    TEST.GCC.l += pthread dl m
+ else ifeq ($(BUILD.system),solaris)
+     TEST.GCC.l += pthread nsl socket iconv
+     TEST.GCC.D += _POSIX_C_SOURCE=200112L __EXTENSIONS__
diff --git a/debian/patches/series b/debian/patches/series
index bf6386c..76436b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 001-Do-not-require-wget-or-curl.patch
 002-Remove-embedded-downloaded-copies-of-various-librari.patch
 003-remove-vpx.patch
+004-link-pthread.patch

-- 
handbrake packaging



More information about the pkg-multimedia-commits mailing list