summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-02-06 20:52:08 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-02-06 20:52:08 +0000
commitd8dc9703ed7d3e8f21297f0bbd11d6effa05d7a2 (patch)
tree60d021befae90486b7535fd70a906361b9dcd7e5 /media-libs/libmodplug/files
parentMark 2.4.2.1 stable on alpha (diff)
downloadhistorical-d8dc9703ed7d3e8f21297f0bbd11d6effa05d7a2.tar.gz
historical-d8dc9703ed7d3e8f21297f0bbd11d6effa05d7a2.tar.bz2
historical-d8dc9703ed7d3e8f21297f0bbd11d6effa05d7a2.zip
Add patch to allow building with --as-needed in LDFLAGS (missing libm linking).
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'media-libs/libmodplug/files')
-rw-r--r--media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch b/media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch
new file mode 100644
index 000000000000..26fc001f3d37
--- /dev/null
+++ b/media-libs/libmodplug/files/libmodplug-0.7-asneeded.patch
@@ -0,0 +1,11 @@
+Index: libmodplug-0.7/src/Makefile.am
+===================================================================
+--- libmodplug-0.7.orig/src/Makefile.am
++++ libmodplug-0.7/src/Makefile.am
+@@ -1,5 +1,6 @@
+ INCLUDES = -Ilibmodplug
+ lib_LTLIBRARIES = libmodplug.la
++libmodplug_la_LIBADD = -lm
+ libmodplug_la_SOURCES = tables.cpp \
+ sndmix.cpp \
+ sndfile.cpp \