summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch')
-rw-r--r--media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch b/media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch
new file mode 100644
index 000000000000..437faa9a6adf
--- /dev/null
+++ b/media-libs/libjackasyn/files/libjackasyn-0.13-qa.patch
@@ -0,0 +1,48 @@
+diff -u -r libjackasyn-0.13.old/Makefile.in libjackasyn-0.13/Makefile.in
+--- libjackasyn-0.13.old/Makefile.in 2007-02-04 13:26:52.000000000 +0100
++++ libjackasyn-0.13/Makefile.in 2007-02-04 13:27:14.000000000 +0100
+@@ -14,6 +14,7 @@
+
+ prefix = @prefix@
+
++libdir = @libdir@
+
+ all: static shared
+
+@@ -22,22 +23,21 @@
+ ar cr libjackasyn.a *.o
+
+ shared:
+- gcc -shared -Wl,-soname=libjackasyn.so.0 -o libjackasyn.so.$(VERSION) *.o $(LIBS)
++ $(CC) -shared -Wl,-soname=libjackasyn.so.0 $(LDFLAGS) -o libjackasyn.so.$(VERSION) *.o $(LIBS)
+
+ install:
+- -rm $(DESTDIR)/$(prefix)/lib/libjackasyn.so*
+- -install -d $(DESTDIR)/$(prefix)/lib
++ -install -d $(DESTDIR)/$(libdir)
+ -install -d $(DESTDIR)/$(prefix)/include
+- install -m 644 libjackasyn.a $(DESTDIR)/$(prefix)/lib
+- install -m 644 libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib
++ install -m 644 libjackasyn.a $(DESTDIR)/$(libdir)
++ install -m 644 libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)
+ install -m 644 libjackoss.h $(DESTDIR)/$(prefix)/include
+- ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib/libjackasyn.so.0
+- ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(prefix)/lib/libjackasyn.so
++ ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)/libjackasyn.so.0
++ ln -s libjackasyn.so.$(VERSION) $(DESTDIR)/$(libdir)/libjackasyn.so
+ -install -d $(DESTDIR)/$(prefix)/bin
+ install -m 755 jacklaunch $(DESTDIR)/$(prefix)/bin
+
+ test:
+- gcc -o test test.c libjackasyn.a -ljack -ldl -lm
++ $(CC) -o test test.c libjackasyn.a -ljack -ldl -lm
+
+ clean:
+ -rm *~ $(OBJ_FILES)
+@@ -58,4 +58,4 @@
+ $(OBJ_FILES) : $(HEADERS)
+
+ libjackoss_pl.o: libjackoss.c
+- gcc -c $(CFLAGS) -DLD_PRELOAD -o $@ $<
++ $(CC) -c $(CFLAGS) -DLD_PRELOAD -o $@ $<
+Only in libjackasyn-0.13.old: Makefile.in.orig