commit 6153e82a9492f1911b25c767ffb3a0c8b0e76143
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Jul 19 22:52:15 2016 +0100
patch for gcc-6
gcc6-buildfix-01.patch | 34 ++++++++++++++++++++++++++++++++++
traverso.spec | 7 ++++++-
2 files changed, 40 insertions(+), 1 deletion(-)
---
diff --git a/gcc6-buildfix-01.patch b/gcc6-buildfix-01.patch
new file mode 100644
index 0000000..7a392b3
--- /dev/null
+++ b/gcc6-buildfix-01.patch
@@ -0,0 +1,34 @@
+--- a/src/common/Tsar.h
++++ b/src/common/Tsar.h
+@@ -62,8 +62,7 @@
+ // used for slot invokation stuff
+ QObject* caller;
+ void* argument;
+- int slotindex;
+- void* _a[];
++ int slotindex;
+
+ // Used for the signal emiting stuff
+ int signalindex;
+
+
+--- a/src/plugins/LV2/LV2Plugin.cpp
++++ b/src/plugins/LV2/LV2Plugin.cpp
+@@ -26,6 +26,7 @@
+ #include <AudioBus.h>
+ #include <AudioDevice.h>
+ #include <Utils.h>
++#include <cmath>
+
+ #if defined Q_WS_MAC
+ #include <cmath>
+@@ -314,7 +315,7 @@
+ 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/traverso.spec b/traverso.spec
index 94392ca..9f4b706 100644
--- a/traverso.spec
+++ b/traverso.spec
@@ -15,7 +15,7 @@
Name: traverso
Version: 0.49.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Multitrack Audio Recording and Editing Suite
Group: Applications/Multimedia
License: GPLv2+
@@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.gz
Patch0: %{name}-priority.patch
# Fix DSO linking
Patch1: traverso-gcc49.patch
+Patch2: gcc6-buildfix-01.patch
BuildRequires: alsa-lib-devel
BuildRequires: cmake
BuildRequires: desktop-file-utils
@@ -72,6 +73,7 @@ playback are all perfectly safe, giving you instant feedback on your
work!
%setup -q
%patch0 -p1 -b .priority
%patch1 -p1 -b .gcc49
+%patch2 -p1 -b .gcc6
# Fix permission issues
@@ -155,6 +157,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||
:
%{_datadir}/mime/packages/*.xml
%changelog
+* Tue Jul 19 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 0.49.3-2
+- patch for gcc-6
+
* Fri Nov 28 2014 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> -
0.49.3-1
- Update to 0.49.3
Show replies by date