summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-10-18 09:42:16 +0000
committerAlin Năstac <mrness@gentoo.org>2008-10-18 09:42:16 +0000
commit4aae3862960756ee55c4e5002371cd5877029c6a (patch)
tree9f502fc7bcd4c634695ab77584ad563fed8a2704 /net-dialup/mwavem/files
parentfix build with latest ffmpeg, bug #242068 (diff)
downloadhistorical-4aae3862960756ee55c4e5002371cd5877029c6a.tar.gz
historical-4aae3862960756ee55c4e5002371cd5877029c6a.tar.bz2
historical-4aae3862960756ee55c4e5002371cd5877029c6a.zip
Build with user specified CFLAGS (#240878).
Package-Manager: portage-2.1.4.4 RepoMan-Options: --force
Diffstat (limited to 'net-dialup/mwavem/files')
-rw-r--r--net-dialup/mwavem/files/mwavem-2.0-gentoo.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-dialup/mwavem/files/mwavem-2.0-gentoo.patch b/net-dialup/mwavem/files/mwavem-2.0-gentoo.patch
new file mode 100644
index 000000000000..ca86b5039444
--- /dev/null
+++ b/net-dialup/mwavem/files/mwavem-2.0-gentoo.patch
@@ -0,0 +1,24 @@
+diff -ur mwavem-2.0.orig/configure.in mwavem-2.0/configure.in
+--- mwavem-2.0.orig/configure.in 2004-04-06 23:50:57.000000000 +0000
++++ mwavem-2.0/configure.in 2008-10-18 09:31:29.000000000 +0000
+@@ -27,7 +27,7 @@
+ AC_DEFINE(MWWTDBG)
+
+ INCLUDES="-I\$(top_srcdir)/src/include"
+-CFLAGS="$INCLUDES -O2 -fno-strict-aliasing -fomit-frame-pointer -Wall"
++CFLAGS="${CFLAGS} $INCLUDES -fno-strict-aliasing -Wall"
+
+ dnl Set dsp_dir here and we substitute it in mwavem.conf from mwavem.conf.in
+ dsp_dir=` test "x$exec_prefix" = xNONE && exec_prefix=$ac_default_prefix
+diff -ur mwavem-2.0.orig/src/mwavem/Makefile.am mwavem-2.0/src/mwavem/Makefile.am
+--- mwavem-2.0.orig/src/mwavem/Makefile.am 2008-10-18 09:38:52.000000000 +0000
++++ mwavem-2.0/src/mwavem/Makefile.am 2008-10-18 09:38:00.000000000 +0000
+@@ -10,6 +10,8 @@
+ -rm $(distdir)/modem.c
+
+ install-exec-local:
++
++install-exec-local-invalid:
+ if [ ! -c "/dev/modems/mwave" ]; then \
+ mkdir -p /dev/modems; \
+ mknod --mode=660 /dev/modems/mwave c 10 219; \