summaryrefslogtreecommitdiffstats
path: root/audio/rumor/gcc7.diff
diff options
context:
space:
mode:
author Matteo Bernardini2018-07-17 08:37:11 +0200
committer Matteo Bernardini2018-07-17 08:37:11 +0200
commitf084eb9a79bab4fad85f18a63f4916ea57590f88 (patch)
tree53e35e789472b7e10b91afccc5e4b585876811ad /audio/rumor/gcc7.diff
parent296ae062cf9db17716afa30ab06ad00f1d768fb9 (diff)
downloadslackbuilds-f084eb9a79bab4fad85f18a63f4916ea57590f88.tar.gz
20180717.1 global branch merge.current-20180717.1
Happy 25th anniversary, Slackware! Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/rumor/gcc7.diff')
-rw-r--r--audio/rumor/gcc7.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/rumor/gcc7.diff b/audio/rumor/gcc7.diff
new file mode 100644
index 0000000000..a8c54f20c0
--- /dev/null
+++ b/audio/rumor/gcc7.diff
@@ -0,0 +1,12 @@
+diff -Naur rumor-1.0.5.orig/src/notator.cc rumor-1.0.5.new/src/notator.cc
+--- rumor-1.0.5.orig/src/notator.cc 2010-11-15 18:40:22.000000000 +0100
++++ rumor-1.0.5.new/src/notator.cc 2017-05-31 15:51:42.014855383 +0200
+@@ -334,7 +334,7 @@
+ }
+ } else {
+ OctaveTic=(RefPitch_wt>AbsPitch_wt?',':'\'');
+- NumTics=(abs(RefPitch_wt-AbsPitch_wt)+3)/7;
++ NumTics=(RefPitch_wt-AbsPitch_wt+3)/7;
+ RefPitch_wt=AbsPitch_wt;
+ }
+ for (int i=0; i<NumTics; i++){