summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-gnome-mmkeys/files
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
committerStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
commit71c20430bd06d80b663fb54d1df67598d804c219 (patch)
tree8ed9e8852b128c270f9197edf597532ac3fd8e11 /media-plugins/deadbeef-gnome-mmkeys/files
parent35875647a1f4db65a3a7a559479ef8e311acbac2 (diff)
parent975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff)
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'media-plugins/deadbeef-gnome-mmkeys/files')
-rw-r--r--media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch b/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch
new file mode 100644
index 00000000..1f64cd47
--- /dev/null
+++ b/media-plugins/deadbeef-gnome-mmkeys/files/deadbeef-gnome-mmkeys.patch
@@ -0,0 +1,23 @@
+diff --git a/Makefile b/Makefile
+index 35b19ca..e4f147e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,6 @@
+-CC = gcc
+-INCLUDES = $(shell pkg-config --cflags gio-2.0 glib-2.0)
+-LIBS = $(shell pkg-config --libs gio-2.0 glib-2.0)
++CC ?= gcc
++INCLUDES ?= $(shell pkg-config --cflags gio-2.0 glib-2.0)
++LIBS ?= $(shell pkg-config --libs gio-2.0 glib-2.0)
+ OPTIONS = -fPIC -shared
+ NAME = ddb_gnome_mmkeys
+ ROOTDIR = /
+@@ -11,7 +11,7 @@ all: plugin
+ plugin: $(NAME).so
+
+ $(NAME).so: $(NAME).c
+- $(CC) $(INCLUDES) $(OPTIONS) -o $(NAME).so $(NAME).c $(LIBS)
++ $(CC) $(CFLAGS) $(INCLUDES) $(OPTIONS) -o $(NAME).so $(NAME).c $(LIBS) $(LDFLAGS)
+
+ install:
+ mkdir -p $(ROOTDIR)$(INSTALL_DIR)