summaryrefslogtreecommitdiff
path: root/audio/swh-plugins-lv2/libm.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-07-13 04:31:11 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:06 -0300
commite7f6177976ea47e2bc67df749273e8f3ffdeed28 (patch)
tree93d1c959e8d2fd9c62e298fe3cddf60ff63a6598 /audio/swh-plugins-lv2/libm.diff
parent3f27426cd257f598a36286abfae5e5d4fa10cfb9 (diff)
downloadslackbuilds-e7f6177976ea47e2bc67df749273e8f3ffdeed28.tar.gz
audio/swh-plugins-lv2: Added (GPL audio plugins for LV2)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/swh-plugins-lv2/libm.diff')
-rw-r--r--audio/swh-plugins-lv2/libm.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/swh-plugins-lv2/libm.diff b/audio/swh-plugins-lv2/libm.diff
new file mode 100644
index 0000000000..5b792d239a
--- /dev/null
+++ b/audio/swh-plugins-lv2/libm.diff
@@ -0,0 +1,12 @@
+diff -Naur swh-lv2-1.0.15/Makefile swh-lv2-1.0.15.patched/Makefile
+--- swh-lv2-1.0.15/Makefile 2008-01-09 16:02:08.000000000 -0500
++++ swh-lv2-1.0.15.patched/Makefile 2010-01-02 19:30:31.000000000 -0500
+@@ -72,7 +72,7 @@
+
+ %.so: NAME = $(shell echo -n $@ | sed 's/plugins\/\(.*\)-swh.*/\1/')
+ %.so: %.xml %.o %.ttl
+- $(CC) $*.o $(PLUGIN_LDFLAGS) $($(NAME)_LDFLAGS) -o $@
++ $(CC) $*.o $(PLUGIN_LDFLAGS) $($(NAME)_LDFLAGS) -o $@ -lm
+ cp $@ $*-$(OS).$(EXT)
+ sed 's/@OS@/$(OS)/g' < `dirname $@`/manifest.ttl.in > `dirname $@`/manifest.ttl
+