summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-jack/files/deadbeef-jack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/deadbeef-jack/files/deadbeef-jack.patch')
-rw-r--r--media-plugins/deadbeef-jack/files/deadbeef-jack.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-jack/files/deadbeef-jack.patch b/media-plugins/deadbeef-jack/files/deadbeef-jack.patch
new file mode 100644
index 00000000..52160f93
--- /dev/null
+++ b/media-plugins/deadbeef-jack/files/deadbeef-jack.patch
@@ -0,0 +1,10 @@
+diff --git a/Makefile b/Makefile
+index 792e33d..1d8a169 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,2 +1,4 @@
++CC?=gcc
++CFLAGS?=-I/usr/local/include
+ all:
+- gcc -I/usr/local/include -std=c99 -shared -O2 -o jack.so -ljack jack.c -fPIC -Wall -march=native
++ $(CC) $(CFLAGS) -std=c99 -shared -O2 -o jack.so -ljack jack.c -fPIC -Wall $(LDFLAGS)