summaryrefslogtreecommitdiff
path: root/media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch')
-rw-r--r--media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch b/media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch
new file mode 100644
index 000000000000..e8ed8bec37ee
--- /dev/null
+++ b/media-sound/abcmidi/files/abcmidi-2016.05.05-fno-common.patch
@@ -0,0 +1,23 @@
+--- a/drawtune.c
++++ b/drawtune.c
+@@ -75,7 +75,8 @@
+ int rootstem;
+ int fontsize, fontnum;
+ int donemeter;
+-int ingrace, inchord;
++extern int ingrace;
++int inchord;
+ int chordcount;
+ struct feature* chordhead;
+
+--- a/toabc.c
++++ b/toabc.c
+@@ -85,7 +85,7 @@
+ int new_key_number; /* used for gchord transposition */
+ int oldtable[7], newtable[7]; /* for handling transposition */
+ int inchord; /* are we in a chord [ ] ? */
+-int ingrace; /* are we in a grace note set { } ? */
++extern int ingrace; /* are we in a grace note set { } ? */
+ int chordcount; /* number of notes or rests in current chord */
+ int inlinefield; /* boolean - are we in [<field>: ] ? */
+ int cleanup; /* boolean to indicate -u option (update notation) */