git: 8b0178e10c5a - main - multimedia/libdvbcsa: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jun 2024 15:12:26 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8b0178e10c5a89aac6f3225a8906e23b3909f561
commit 8b0178e10c5a89aac6f3225a8906e23b3909f561
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-05-25 22:50:58 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-06-03 15:07:51 +0000
multimedia/libdvbcsa: fix build on powerpc*
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -fomit-frame-pointer -D_XOPEN_SOURCE=600 -maltivec -mabi=altivec -MT dvbcsa_algo.lo -MD -MP -MF .deps/dvbcsa_algo.Tpo -c dvbcsa_algo.c -fPIC -DPIC -o .libs/dvbcsa_algo.o
cc: error: unsupported option '-mabi=' for target 'powerpc64le-unknown-freebsd14.1'
---
multimedia/libdvbcsa/files/patch-configure | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/multimedia/libdvbcsa/files/patch-configure b/multimedia/libdvbcsa/files/patch-configure
new file mode 100644
index 000000000000..1d1f54b7cdb7
--- /dev/null
+++ b/multimedia/libdvbcsa/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2024-05-25 22:34:42 UTC
++++ configure
+@@ -11736,7 +11736,7 @@ $as_echo "#define DVBCSA_USE_ALTIVEC 1" >>confdefs.h
+
+ $as_echo "#define DVBCSA_USE_ALTIVEC 1" >>confdefs.h
+
+- GCC_CFLAGS="$GCC_CFLAGS -maltivec -mabi=altivec"
++ GCC_CFLAGS="$GCC_CFLAGS -maltivec"
+
+ elif test "$enable_uint32" = "yes" ; then
+ transpose_32=yes