[SCM] giada/master: Added patch to fix compilation with g++-7

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon Oct 30 09:12:42 UTC 2017


The following commit has been merged in the master branch:
commit e9ecd16c568b5053e9ad75c7dda7c1ac25d1846b
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Mon Oct 30 09:49:22 2017 +0100

    Added patch to fix compilation with g++-7
    
    Closes: #853418

diff --git a/debian/patches/03-gcc7.patch b/debian/patches/03-gcc7.patch
new file mode 100644
index 0000000..dd073a8
--- /dev/null
+++ b/debian/patches/03-gcc7.patch
@@ -0,0 +1,17 @@
+Description: Fixed g++-7 build errors
+Author: IOhannes m zmölnig
+Forwarded: no
+Last-Update: 2017-10-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- giada.orig/src/gui/elems/mainWindow/mainTimer.cpp
++++ giada/src/gui/elems/mainWindow/mainTimer.cpp
+@@ -60,7 +60,7 @@
+ 
+ 	resizable(nullptr);   // don't resize any widget
+ 
+-	char buf[6]; snprintf(buf, 6, "%f", clock::getBpm());
++	char buf[320]; snprintf(buf, 320, "%f", clock::getBpm());
+ 	bpm->copy_label(buf);
+ 
+ 	bpm->callback(cb_bpm, (void*)this);
diff --git a/debian/patches/series b/debian/patches/series
index f1d1d9b..c8a9a4e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+01-rtaudio5.patch
 02-rtmidi-pkgconfig.patch
+03-gcc7.patch
 04-catch.patch
-01-rtaudio5.patch

-- 
giada packaging



More information about the pkg-multimedia-commits mailing list