summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-04-22 11:44:08 +0000
committerAlin Năstac <mrness@gentoo.org>2006-04-22 11:44:08 +0000
commit996f3a465563365023473a40ad65c81aa2bc8b58 (patch)
treeb6d8e603db6702e7bb52185974ca4b940e37fd76 /net-dialup/slmodem/files
parent#128897, second try... (diff)
downloadgentoo-2-996f3a465563365023473a40ad65c81aa2bc8b58.tar.gz
gentoo-2-996f3a465563365023473a40ad65c81aa2bc8b58.tar.bz2
gentoo-2-996f3a465563365023473a40ad65c81aa2bc8b58.zip
Fix broken compilation when LDFLAGS=-Wl,--as-needed (#130796). Quote $S, $D, $ROOT, $WORKDIR and $FILESDIR.
(Portage version: 2.0.54)
Diffstat (limited to 'net-dialup/slmodem/files')
-rw-r--r--net-dialup/slmodem/files/digest-slmodem-2.9.11_pre200511014
-rw-r--r--net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch29
2 files changed, 29 insertions, 4 deletions
diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101
index 047a97ea184a..04107a868eff 100644
--- a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101
+++ b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20051101
@@ -1,6 +1,2 @@
MD5 56bb1ddf621b2fe26caf746aed0ac26f slmodem-2.9.11-20051101.tar.gz 833644
-RMD160 044dd97f763c68ff5c5609cb925146c5302bfb61 slmodem-2.9.11-20051101.tar.gz 833644
-SHA256 d5c456b1bab05a1606f7deaf4d5f1b9151d23377e7eb421b81082f9285de5172 slmodem-2.9.11-20051101.tar.gz 833644
MD5 a23326976632fe7774e110cbc0636f70 ungrab-winmodem.tar.gz 1872
-RMD160 c7058f884ddf6345ddcd15c984364f4741464fbf ungrab-winmodem.tar.gz 1872
-SHA256 b9d966fa13b05876c2921f4bd030dfb151e6810958202010fab661d1689e4e11 ungrab-winmodem.tar.gz 1872
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch b/net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch
new file mode 100644
index 000000000000..9acbf2ce745e
--- /dev/null
+++ b/net-dialup/slmodem/files/slmodem-2.9.11-modem-makefile.patch
@@ -0,0 +1,29 @@
+diff -Nru modem.orig/Makefile modem/Makefile
+--- modem.orig/Makefile 2005-11-01 17:33:34.000000000 +0200
++++ modem/Makefile 2006-04-22 14:26:58.693947250 +0300
+@@ -16,7 +16,7 @@
+ CC:= gcc
+ RM:= rm -f
+
+-CFLAGS+= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM
++CFLAGS+= -Wall -g -I. -DCONFIG_DEBUG_MODEM
+
+
+ modem-objs:= \
+@@ -33,13 +33,13 @@
+
+ #SUPPORT_ALSA:=1
+ ifdef SUPPORT_ALSA
+-slmodemd: -lasound
++
+ CFLAGS+= -DSUPPORT_ALSA=1
+-LFLAGS+= -lasound
++LDLIBS+= -lasound
+ endif
+
+ slmodemd modem_test:
+- $(CC) $(LFLAGS) -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+ clean:
+ $(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs)