[SCM] supercollider-sc3-plugins/master: Fix GCC6 compilation issue.
hanno-guest at users.alioth.debian.org
hanno-guest at users.alioth.debian.org
Fri Sep 2 08:17:35 UTC 2016
The following commit has been merged in the master branch:
commit 3f95794ff255d5c91868a1320ed8febe8224fef4
Author: Hanno Zulla <hanno.zulla at epublica.de>
Date: Fri Sep 2 09:57:30 2016 +0200
Fix GCC6 compilation issue.
diff --git a/debian/patches/03-gcc6.patch b/debian/patches/03-gcc6.patch
new file mode 100644
index 0000000..ac7a28c
--- /dev/null
+++ b/debian/patches/03-gcc6.patch
@@ -0,0 +1,21 @@
+Description: Fix GCC6 compilation issue
+ This fixes an issue when compiling the source with gcc6.
+ Patch taken from upstream at
+ <https://github.com/supercollider/sc3-plugins/pull/112>
+Forwarded: yes
+Author: Hanno Zulla <kontakt at hanno.de>
+Last-Update: 2016-09-02
+
+Index: supercollider-sc3-plugins/source/DWGUGens/dwglib/DWG.hpp
+===================================================================
+--- supercollider-sc3-plugins.orig/source/DWGUGens/dwglib/DWG.hpp
++++ supercollider-sc3-plugins/source/DWGUGens/dwglib/DWG.hpp
+@@ -1268,7 +1268,7 @@ class TUBE{
+ if(a1 < 1e-18)
+ loss = 0.0;
+ else
+- loss = 1.0 - std::min(lossF/sqrt(a1),1.0);
++ loss = 1.0 - std::min(lossF/sqrt(a1),1.0f);
+
+ }
+ void go(){
diff --git a/debian/patches/series b/debian/patches/series
index 8ba365a..dbf2214 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01-install-destination-ladspalist.patch
02-no-local.patch
+03-gcc6.patch
--
supercollider-sc3-plugins packaging
More information about the pkg-multimedia-commits
mailing list