summaryrefslogtreecommitdiff
path: root/media-plugins/deadbeef-stereo-widener/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-stereo-widener/files
parent35875647a1f4db65a3a7a559479ef8e311acbac2 (diff)
parent975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff)
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'media-plugins/deadbeef-stereo-widener/files')
-rw-r--r--media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch b/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch
new file mode 100644
index 00000000..6cf316ad
--- /dev/null
+++ b/media-plugins/deadbeef-stereo-widener/files/deadbeef-stereo-widener.patch
@@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index 0fb6aaa..7ca9545 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,2 +1,20 @@
+-all:
+- gcc -I/usr/local/include -std=c99 -shared -O2 -o stereo_widener.so stereo_widener.c -fPIC -Wall -march=native
++CC?=gcc
++OUT=stereo_widener.so
++
++CFLAGS+=-std=c99 -fPIC -Wall
++LDFLAGS+=-shared
++
++SOURCES=stereo_widener.c
++
++OBJECTS=$(SOURCES:.c=.o)
++
++all: $(SOURCES) $(OUT)
++
++$(OUT): $(OBJECTS)
++ $(CC) $(CFLAGS) $(OBJECTS) $(LDFLAGS) -o $@
++
++.c.o:
++ $(CC) $(CFLAGS) $< -c -o $@
++
++clean:
++ rm $(OBJECTS) $(OUT)