diff options
author | David Seifert <soap@gentoo.org> | 2020-08-08 18:53:24 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-08-08 18:53:24 +0200 |
commit | 9ad99e9ec198ceac774013a65828ed92e81fdfee (patch) | |
tree | 7d043c3994b2ebf904cbf73387ef77c3fd4ff725 /media-sound/wavegain/files | |
parent | media-sound/chordii: Fix building under -fno-common (diff) | |
download | gentoo-9ad99e9ec198ceac774013a65828ed92e81fdfee.tar.gz gentoo-9ad99e9ec198ceac774013a65828ed92e81fdfee.tar.bz2 gentoo-9ad99e9ec198ceac774013a65828ed92e81fdfee.zip |
media-sound/wavegain: Fix building under -fno-common
Closes: https://bugs.gentoo.org/706692
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/wavegain/files')
-rw-r--r-- | media-sound/wavegain/files/wavegain-1.3.1-fno-common.patch | 11 | ||||
-rw-r--r-- | media-sound/wavegain/files/wavegain-1.3.1-makefile.patch | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/media-sound/wavegain/files/wavegain-1.3.1-fno-common.patch b/media-sound/wavegain/files/wavegain-1.3.1-fno-common.patch new file mode 100644 index 000000000000..ff282740f8ff --- /dev/null +++ b/media-sound/wavegain/files/wavegain-1.3.1-fno-common.patch @@ -0,0 +1,11 @@ +--- a/audio.h ++++ b/audio.h +@@ -136,7 +136,7 @@ + long wav_read(void *, double **buffer, int samples, int fast, int chunk);
+ long wav_ieee_read(void *, double **buffer, int samples, int fast, int chunk);
+
+-enum {
++typedef enum {
+ WAV_NO_FMT = 0,
+ WAV_FMT_8BIT,
+ WAV_FMT_16BIT,
diff --git a/media-sound/wavegain/files/wavegain-1.3.1-makefile.patch b/media-sound/wavegain/files/wavegain-1.3.1-makefile.patch new file mode 100644 index 000000000000..a5364f561b59 --- /dev/null +++ b/media-sound/wavegain/files/wavegain-1.3.1-makefile.patch @@ -0,0 +1,7 @@ +--- a/Makefile ++++ b/Makefile +@@ -0,0 +1,4 @@ ++LDLIBS = -lm ++CPPFLAGS += -DHAVE_CONFIG_H ++ ++wavegain: audio.o dither.o gain_analysis.o getopt1.o getopt.o main.o misc.o recurse.o |