diff options
author | haawda | 2017-05-31 15:55:26 +0200 |
---|---|---|
committer | haawda | 2017-05-31 15:55:26 +0200 |
commit | a3ffc3f8295a874acba611b43187c55912a25926 (patch) | |
tree | 20aabce22b2dc84fc099475a0f8d74cb4e6bd5fb /gcc7.diff | |
parent | 4b5ec4c66aa5985e74d33d88973d3943d72f347e (diff) | |
download | aur-rumor.tar.gz |
add patch for gcc7
Diffstat (limited to 'gcc7.diff')
-rw-r--r-- | gcc7.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc7.diff b/gcc7.diff new file mode 100644 index 000000000000..a8c54f20c014 --- /dev/null +++ b/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++){ |