summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch')
-rw-r--r--media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch b/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch
new file mode 100644
index 00000000..9680e6d7
--- /dev/null
+++ b/media-plugins/deadbeef-replaygain-control/files/deadbeef-replaygain-control-cflags.patch
@@ -0,0 +1,15 @@
+diff --git a/Makefile b/Makefile
+index 1d05e5f..f7228da 100644
+--- a/Makefile
++++ b/Makefile
+@@ -42,8 +42,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.