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 --- .../files/deadbeef-musical-spectrum-cflags.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch (limited to 'media-plugins/deadbeef-musical-spectrum/files') diff --git a/media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch b/media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch new file mode 100644 index 00000000..95b11fb4 --- /dev/null +++ b/media-plugins/deadbeef-musical-spectrum/files/deadbeef-musical-spectrum-cflags.patch @@ -0,0 +1,19 @@ +diff --git a/Makefile b/Makefile +index 9c894c7..86bb61b 100644 +--- a/Makefile ++++ b/Makefile +@@ -43,11 +43,13 @@ OBJ_GTK2?=$(patsubst %.c, $(GTK2_DIR)/%.o, $(SOURCES)) + OBJ_GTK3?=$(patsubst %.c, $(GTK3_DIR)/%.o, $(SOURCES)) + + define compile ++ echo $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + $(CC) $(CFLAGS) $1 $2 $< -c -o $@ + endef + + define link +- $(CC) $(LDFLAGS) $1 $2 $3 -o $@ ++ echo $(CC) $(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