[SCM] libebur128/master: add patch to fix missing math library

andrewrk-guest at users.alioth.debian.org andrewrk-guest at users.alioth.debian.org
Mon Feb 17 23:03:01 UTC 2014


The following commit has been merged in the master branch:
commit 941b484af25276c261b996fce8b558c56082d73d
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Mon Feb 17 23:01:25 2014 +0000

    add patch to fix missing math library

diff --git a/debian/patches/fix-missing-math-lib.patch b/debian/patches/fix-missing-math-lib.patch
new file mode 100644
index 0000000..73238d4
--- /dev/null
+++ b/debian/patches/fix-missing-math-lib.patch
@@ -0,0 +1,16 @@
+From: Andrew Kelley <superjoe30 at gmail.com>
+Subject: add -lm on UNIX systems
+ Previously libebur128 was not being linked with -lm. Now it is.
+Origin: upstream, https://github.com/jiixyj/libebur128/commit/f68096cdebd
+--- a/ebur128/CMakeLists.txt
++++ b/ebur128/CMakeLists.txt
+@@ -47,6 +47,9 @@
+     SOVERSION ${EBUR128_VERSION_MAJOR}
+     VERSION ${EBUR128_VERSION})
+ 
++if(UNIX)
++  target_link_libraries(ebur128 -lm)
++endif(UNIX)
+ 
+ if(SPEEXDSP_FOUND AND NOT DISABLE_SPEEXDSP)
+     set_property(TARGET ebur128_static APPEND_STRING PROPERTY
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cde37b8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-missing-math-lib.patch

-- 
libebur128 packaging



More information about the pkg-multimedia-commits mailing list