git: be4b7de79276 - main - audio/tetraproc: Remove march=native.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Nov 2021 16:15:18 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=be4b7de79276dadf6b05960aacd2a790c0df88b1
commit be4b7de79276dadf6b05960aacd2a790c0df88b1
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2021-11-13 16:10:48 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-11-13 16:15:15 +0000
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)
---
audio/tetraproc/Makefile | 2 +-
audio/tetraproc/files/patch-Makefile | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
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
+
+