From a8da050bbbbe6352753c07b7b1d4753dbcf8eb7a Mon Sep 17 00:00:00 2001 From: Alexe-Cristia Moldovan Date: Thu, 18 Jun 2015 15:10:15 +0300 Subject: add deadbeef plugins --- .../deadbeef-waveform-seekbar-cflags-lm.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch (limited to 'media-plugins/deadbeef-waveform-seekbar/files') diff --git a/media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch b/media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch new file mode 100644 index 00000000..7866cce1 --- /dev/null +++ b/media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile b/Makefile +index e06b20c..a0867f8 100644 +--- a/Makefile ++++ b/Makefile +@@ -36,8 +36,8 @@ GTK3_LIBS?=`pkg-config --libs gtk+-3.0` + SQLITE_LIBS?=-lsqlite3 + + CC?=gcc +-CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE +-LDFLAGS+=-shared ++CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE -lm ++LDFLAGS+=-shared -lm + + GTK2_DIR?=gtk2 + GTK3_DIR?=gtk3 +@@ -52,8 +52,8 @@ define compile + endef + + define link +- echo $(CC) $(LDFLAGS) $1 $2 $3 -o $@ +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $1 $2 $3 -o $@ + endef + + # Builds both GTK+2 and GTK+3 versions of the plugin. -- cgit v1.2.3