summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-10 01:41:25 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-10 01:41:25 +0100
commitc0dbac28ee90fa403509d2b2a29e4590b47fdcc4 (patch)
treeb4f4cf206be90f3a23972d08affb515e34d37b01 /media-sound/vsound/files
parentmedia-sound/wavegain: Port to EAPI 7 (diff)
downloadgentoo-c0dbac28ee90fa403509d2b2a29e4590b47fdcc4.tar.gz
gentoo-c0dbac28ee90fa403509d2b2a29e4590b47fdcc4.tar.bz2
gentoo-c0dbac28ee90fa403509d2b2a29e4590b47fdcc4.zip
media-sound/vsound: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/vsound/files')
-rw-r--r--media-sound/vsound/files/vsound-0.6-fix-build-system.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/media-sound/vsound/files/vsound-0.6-fix-build-system.patch b/media-sound/vsound/files/vsound-0.6-fix-build-system.patch
new file mode 100644
index 000000000000..7e653b6197ca
--- /dev/null
+++ b/media-sound/vsound/files/vsound-0.6-fix-build-system.patch
@@ -0,0 +1,28 @@
+--- a/configure.in
++++ b/configure.in
+@@ -3,7 +3,9 @@
+ AC_CANONICAL_SYSTEM
+
+ AM_INIT_AUTOMAKE(vsound, 0.5)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
++
++AC_CONFIG_MACRO_DIR([.])
+
+ AC_PROG_CC
+ AC_PROG_CPP
+@@ -45,12 +47,12 @@
+ fi
+
+ if test "$ac_cv_prog_gcc" = yes ; then
+- CFLAGS="-g -O2 -Wall -Wstrict-prototypes -pipe"
++ CFLAGS+=" -Wall -Wstrict-prototypes"
+ fi
+
+ if test "$ac_arg_debug" = yes; then
+ echo "enabling debug"
+- CFLAGS="$CFLAGS -DENABLE_DEBUG "
++ CPPFLAGS+=" -DENABLE_DEBUG"
+ fi
+
+ AC_OUTPUT(Makefile vsound)