diff options
author | Alexe-Cristia Moldovan <contact@crism.ro> | 2015-06-18 15:10:15 +0300 |
---|---|---|
committer | Alexe-Cristia Moldovan <contact@crism.ro> | 2015-06-18 15:10:15 +0300 |
commit | a8da050bbbbe6352753c07b7b1d4753dbcf8eb7a (patch) | |
tree | ac98ee727877dfadccb41a14676982b7fa206d97 /media-plugins/deadbeef-waveform-seekbar/files | |
parent | dc45a05bcf51a824e2837ae148f39283e81ff40f (diff) |
add deadbeef plugins
Diffstat (limited to 'media-plugins/deadbeef-waveform-seekbar/files')
-rw-r--r-- | media-plugins/deadbeef-waveform-seekbar/files/deadbeef-waveform-seekbar-cflags-lm.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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. |