summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-11-09 13:34:02 +0100
committerAlexis Ballier <aballier@gentoo.org>2015-11-09 13:34:02 +0100
commitae6fbbd24386e85c26fd66b3859ed58e8b623c2e (patch)
tree1f011b90c8c9d0edd15f64b219dcdc32462322c5 /media-libs/zita-convolver/files
parentmedia-plugins/g2reverb: initial import. split out of media-plugins/rev-plugins. (diff)
downloadgentoo-ae6fbbd24386e85c26fd66b3859ed58e8b623c2e.tar.gz
gentoo-ae6fbbd24386e85c26fd66b3859ed58e8b623c2e.tar.bz2
gentoo-ae6fbbd24386e85c26fd66b3859ed58e8b623c2e.zip
media-libs/zita-convolver: bump to 3.1.0
Package-Manager: portage-2.2.24 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-libs/zita-convolver/files')
-rw-r--r--media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch b/media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch
new file mode 100644
index 000000000000..d8f5af24fcdd
--- /dev/null
+++ b/media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch
@@ -0,0 +1,32 @@
+Index: zita-convolver-3.1.0/libs/Makefile
+===================================================================
+--- zita-convolver-3.1.0.orig/libs/Makefile
++++ zita-convolver-3.1.0/libs/Makefile
+@@ -32,8 +32,7 @@ VERSION = $(MAJVERS).$(MINVERS)
+
+ CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_VECTOR_MODE
+ CXXFLAGS += -fPIC -Wall
+-CXXFLAGS += -ffast-math -funroll-loops -O3
+-CXXFLAGS += -march=native
++CXXFLAGS += -ffast-math -funroll-loops
+ LDLFAGS +=
+ LDLIBS +=
+
+@@ -47,7 +46,7 @@ ZITA-CONVOLVER_H = zita-convolver.h
+
+
+ $(ZITA-CONVOLVER_MIN): $(ZITA-CONVOLVER_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP)
+
+
+ install: $(ZITA-CONVOLVER_MIN)
+@@ -56,7 +55,7 @@ install: $(ZITA-CONVOLVER_MIN)
+ install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(PREFIX)/include
+ install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
+ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_SO)
+- ldconfig
++ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_MAJ)
+
+ clean:
+ /bin/rm -f *~ *.o *.a *.d *.so.*