[SCM] traverso/master: Fix FTBFS with GCC 6
jcowgill at users.alioth.debian.org
jcowgill at users.alioth.debian.org
Fri Jul 22 19:31:57 UTC 2016
The following commit has been merged in the master branch:
commit af0f5c8d620153b1c32b71fd413aab9e10585a06
Author: James Cowgill <jcowgill at debian.org>
Date: Fri Jul 22 18:36:15 2016 +0100
Fix FTBFS with GCC 6
Closes: #812022
diff --git a/debian/patches/03-gcc6.patch b/debian/patches/03-gcc6.patch
new file mode 100644
index 0000000..7e3cf2c
--- /dev/null
+++ b/debian/patches/03-gcc6.patch
@@ -0,0 +1,26 @@
+Description: Fix FTBFS with GCC 6
+Author: James Cowgill <jcowgill at debian.org>
+Bug-Debian: https://bugs.debian.org/812022
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/common/Tsar.h
++++ b/src/common/Tsar.h
+@@ -63,7 +63,6 @@ struct TsarEvent {
+ QObject* caller;
+ void* argument;
+ int slotindex;
+- void* _a[];
+
+ // Used for the signal emiting stuff
+ int signalindex;
+--- a/src/plugins/LV2/LV2Plugin.cpp
++++ b/src/plugins/LV2/LV2Plugin.cpp
+@@ -314,7 +314,7 @@ LV2ControlPort* LV2Plugin::create_port(i
+ case CONTROL:
+ switch (direction) {
+ case INPUT:
+- defaultValue = isnan(defaultValue) ? 0.0 : defaultValue;
++ defaultValue = std::isnan(defaultValue) ? 0.0 : defaultValue;
+ ctrlport = new LV2ControlPort(this, portIndex, defaultValue);
+ break;
+ case OUTPUT:
diff --git a/debian/patches/series b/debian/patches/series
index c1247d8..cf0a294 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01-fix_build.patch
02-fix_spelling.patch
+03-gcc6.patch
--
traverso packaging
More information about the pkg-multimedia-commits
mailing list