[SCM] jack-delay/master: makefile.patch added.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Tue Aug 15 22:58:02 UTC 2017


The following commit has been merged in the master branch:
commit a74bc9dcc2610dae1ccd086a75879790e796956e
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Wed Aug 16 00:38:44 2017 +0200

    makefile.patch added.

diff --git a/debian/patches/01-makefile.patch b/debian/patches/01-makefile.patch
new file mode 100644
index 0000000..57d522f
--- /dev/null
+++ b/debian/patches/01-makefile.patch
@@ -0,0 +1,29 @@
+Description: Override PREFIX only if not set.
+ Debian-specific: remove suffix from libraries path, set $PREFIX to /usr.
+ Strip -march=native out of CPPFLAGS.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+---
+
+Index: jack-delay/Makefile
+===================================================================
+--- jack-delay.orig/Makefile
++++ jack-delay/Makefile
+@@ -19,14 +19,14 @@
+ # ----------------------------------------------------------------------------
+ 
+ 
+-PREFIX = /usr/local
+-SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
++PREFIX = /usr
++#SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
+ LIBDIR = lib$(SUFFIX)
+ DISTDIR = jack_delay-$(VERSION)
+ VERSION = 0.4.0
+ LDFLAGS += -L$(PREFIX)/$(LIBDIR)
+ CPPFLAGS += -O2 -Wall -MMD -MP -DVERSION=\"$(VERSION)\"
+-CPPFLAGS += -march=native
++#CPPFLAGS += -march=native
+ 
+ all:	jack_delay
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d3b72df
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-makefile.patch

-- 
jack-delay packaging



More information about the pkg-multimedia-commits mailing list