summaryrefslogtreecommitdiff
path: root/media-sound/chordii/files/chordii-4.5.3-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/chordii/files/chordii-4.5.3-fno-common.patch
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'media-sound/chordii/files/chordii-4.5.3-fno-common.patch')
-rw-r--r--media-sound/chordii/files/chordii-4.5.3-fno-common.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/media-sound/chordii/files/chordii-4.5.3-fno-common.patch b/media-sound/chordii/files/chordii-4.5.3-fno-common.patch
new file mode 100644
index 000000000000..914a532252cd
--- /dev/null
+++ b/media-sound/chordii/files/chordii-4.5.3-fno-common.patch
@@ -0,0 +1,31 @@
+--- a/src/chordii.c
++++ b/src/chordii.c
+@@ -19,6 +19,8 @@
+
+ static FILE *source_fd;
+
++struct kcs dummy_kcs;
++
+ char
+ text_line[MAXLINE], /* Lyrics Buffer */
+ chord[MAXTOKEN], /* Buffer for the name of the chord */
+--- a/src/chordii.h
++++ b/src/chordii.h
+@@ -67,7 +67,7 @@
+ #define CHORD_EASY 0
+ #define CHORD_HARD 1
+
+-struct kcs {
++extern struct kcs {
+ struct kcs *next;
+ char chord_name[CHORD_NAME_SZ];
+ int displ;
+@@ -76,7 +76,7 @@
+ int difficult;
+ } dummy_kcs;
+
+-struct chord_struct {
++typedef struct chord_struct {
+ struct chord_struct *next;
+ struct kcs *chord;
+ } dummy_chord_struct;