[SCM] supercollider/master: fix FTBFS, add -fPIC flag to tlsf build

danstowell-guest at users.alioth.debian.org danstowell-guest at users.alioth.debian.org
Fri May 6 16:31:42 UTC 2016


The following commit has been merged in the master branch:
commit 9a0a6acb09306b084ee91d144d88cbcea8e71782
Author: Dan Stowell <danstowell at users.sourceforge.net>
Date:   Fri May 6 11:28:24 2016 +0100

    fix FTBFS, add -fPIC flag to tlsf build
    
    Thanks Felipe Sateler

diff --git a/debian/patches/series b/debian/patches/series
index 0a323dd..81c430f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ perf-counter-include.patch
 supernova-i686-march-flag.patch
 gcc5-compile-fix.patch
 cmake-fix-systemboost.patch
+tlsf-fPIC-flag.patch
diff --git a/debian/patches/tlsf-fPIC-flag.patch b/debian/patches/tlsf-fPIC-flag.patch
new file mode 100644
index 0000000..6687876
--- /dev/null
+++ b/debian/patches/tlsf-fPIC-flag.patch
@@ -0,0 +1,10 @@
+--- a/external_libraries/CMakeLists.txt
++++ b/external_libraries/CMakeLists.txt
+@@ -69,6 +69,7 @@
+ add_library(tlsf STATIC "TLSF-2.4.6/src/tlsf.c")
+ target_compile_definitions( tlsf PRIVATE TLSF_STATISTIC=1 )
+ target_include_directories( tlsf INTERFACE TLSF-2.4.6/src )
++target_compile_options(tlsf PRIVATE -fPIC)
+ 
+ if(LTO)
+ 	set_property(TARGET oscpack tlsf

-- 
supercollider packaging



More information about the pkg-multimedia-commits mailing list