diff options
author | David Seifert <soap@gentoo.org> | 2022-07-29 23:38:14 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-29 23:38:14 +0200 |
commit | 088ae1176787ef3d2c6bcd6f314b59b8766a7149 (patch) | |
tree | 908986441ec320337582a69d908ce1341b8642d3 /media-sound/combine_wave/files | |
parent | media-sound/baudline: update EAPI 6 -> 8 (diff) | |
download | gentoo-088ae1176787ef3d2c6bcd6f314b59b8766a7149.tar.gz gentoo-088ae1176787ef3d2c6bcd6f314b59b8766a7149.tar.bz2 gentoo-088ae1176787ef3d2c6bcd6f314b59b8766a7149.zip |
media-sound/combine_wave: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/714654
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/combine_wave/files')
-rw-r--r-- | media-sound/combine_wave/files/combine_wave-0.3.1-makefile.patch | 22 | ||||
-rw-r--r-- | media-sound/combine_wave/files/combine_wave-0.3.1-missing-includes.patch | 14 |
2 files changed, 36 insertions, 0 deletions
diff --git a/media-sound/combine_wave/files/combine_wave-0.3.1-makefile.patch b/media-sound/combine_wave/files/combine_wave-0.3.1-makefile.patch new file mode 100644 index 000000000000..591d56ad1867 --- /dev/null +++ b/media-sound/combine_wave/files/combine_wave-0.3.1-makefile.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -3,16 +3,13 @@ + #CC = /usr/local/bin/g++ + #CC = /usr/bin/g++ + +-CFLAGS = -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +- +-.c.o: +- gcc $(CFLAGS) -c $< ++CFLAGS += -Wall ++CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + + OBJECT =\ + combine_wave.o + +-a.out : $(OBJECT) +- gcc -o combine_wave $(OBJECT) ++all: combine_wave + + # DEPENDENCIES + combine_wave.o : combine_wave.c combine_wave.h wave_header.h diff --git a/media-sound/combine_wave/files/combine_wave-0.3.1-missing-includes.patch b/media-sound/combine_wave/files/combine_wave-0.3.1-missing-includes.patch new file mode 100644 index 000000000000..3d6a3c938ba1 --- /dev/null +++ b/media-sound/combine_wave/files/combine_wave-0.3.1-missing-includes.patch @@ -0,0 +1,14 @@ +--- a/combine_wave.h ++++ b/combine_wave.h +@@ -12,9 +12,10 @@ + #include <float.h> + #include <math.h> + #include <linux/soundcard.h> +-#include <sys/poll.h> ++#include <poll.h> + #include "stdint.h" + #include <sys/ioctl.h> ++#include <sys/select.h> + #include <string.h> + + |