aboutsummaryrefslogtreecommitdiff
path: root/audio/tetraproc
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-11-13 16:10:48 +0000
committerMikael Urankar <mikael@FreeBSD.org>2021-11-13 16:15:15 +0000
commitbe4b7de79276dadf6b05960aacd2a790c0df88b1 (patch)
tree03248171cdf39473ac85a6c519d321c577945ff6 /audio/tetraproc
parent128e4bb46e8d4d66f3c48c22354e19de6b5947b6 (diff)
downloadports-be4b7de79276dadf6b05960aacd2a790c0df88b1.tar.gz
ports-be4b7de79276dadf6b05960aacd2a790c0df88b1.zip
audio/tetraproc: Remove march=native.
It breaks runtime on x86 arch and fails to build on non x86 arch. Approved by: portmgr (build fix blanket)
Diffstat (limited to 'audio/tetraproc')
-rw-r--r--audio/tetraproc/Makefile2
-rw-r--r--audio/tetraproc/files/patch-Makefile10
2 files changed, 11 insertions, 1 deletions
diff --git a/audio/tetraproc/Makefile b/audio/tetraproc/Makefile
index ef6633bfa281..df2428af6115 100644
--- a/audio/tetraproc/Makefile
+++ b/audio/tetraproc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tetraproc
DISTVERSION= 0.8.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/
diff --git a/audio/tetraproc/files/patch-Makefile b/audio/tetraproc/files/patch-Makefile
new file mode 100644
index 000000000000..a31757c808c7
--- /dev/null
+++ b/audio/tetraproc/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig 2021-11-13 16:08:17 UTC
++++ Makefile
+@@ -25,7 +25,6 @@ SHARED ?= $(PREFIX)/share/tetraproc
+ VERSION = 0.8.6
+ CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
+ CXXFLAGS += -O2 -Wall -ffast-math
+-CXXFLAGS += -march=native
+ LDFLAGS += -pthread
+
+