[SCM] supercollider/master: Add patch to fix build failure when gcc doesn't handle 128bit float types
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Wed Nov 16 23:33:13 UTC 2016
The following commit has been merged in the master branch:
commit f7b4780e42f1c35bd613f5a5c2429e0a6b1df0c6
Author: Felipe Sateler <fsateler at debian.org>
Date: Wed Nov 16 18:43:53 2016 -0300
Add patch to fix build failure when gcc doesn't handle 128bit float types
diff --git a/debian/patches/Disable-128bit-float-constants.patch b/debian/patches/Disable-128bit-float-constants.patch
new file mode 100644
index 0000000..11a85ab
--- /dev/null
+++ b/debian/patches/Disable-128bit-float-constants.patch
@@ -0,0 +1,22 @@
+From: Felipe Sateler <fsateler at debian.org>
+Date: Wed, 16 Nov 2016 18:42:00 -0300
+Subject: Disable 128bit float constants.
+
+They conflict with --std=c++11 (ie, additional flags are required),
+but are not used, so just skip that
+---
+ lang/LangPrimSource/PyrMathPrim.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lang/LangPrimSource/PyrMathPrim.cpp b/lang/LangPrimSource/PyrMathPrim.cpp
+index 16ca148..8a3b15a 100644
+--- a/lang/LangPrimSource/PyrMathPrim.cpp
++++ b/lang/LangPrimSource/PyrMathPrim.cpp
+@@ -34,6 +34,7 @@
+ #include "SC_Endian.h"
+ #include "SCBase.h"
+
++#define BOOST_MATH_DISABLE_FLOAT128 1
+ #include "boost/math/special_functions.hpp"
+
+ const int INT_MAX_BY_PyrSlot = INT_MAX / sizeof(PyrSlot);
diff --git a/debian/patches/series b/debian/patches/series
index 76d249f..981f5f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ gcc5-compile-fix.patch
cmake-fix-systemboost.patch
tlsf-fPIC-flag.patch
fix-oscpack-ftbfs.patch
+Disable-128bit-float-constants.patch
--
supercollider packaging
More information about the pkg-multimedia-commits
mailing list