Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2026 09:48:13 +0000
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ccf5d682ac0a - main - math/reduce: fix build on powerpc64*
Message-ID:  <6a311bdd.3bed8.13a0ff62@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccf5d682ac0ad41e2b152d425dded1a5918fed64

commit ccf5d682ac0ad41e2b152d425dded1a5918fed64
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-06-13 20:05:17 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-06-16 09:48:01 +0000

    math/reduce: fix build on powerpc64*
    
    On architectures where long double is 64-bit, ffi_type_longdouble is
    not available.
---
 math/reduce/files/patch-libraries_libffi_libffi.map.in | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/math/reduce/files/patch-libraries_libffi_libffi.map.in b/math/reduce/files/patch-libraries_libffi_libffi.map.in
new file mode 100644
index 000000000000..71403e73caa8
--- /dev/null
+++ b/math/reduce/files/patch-libraries_libffi_libffi.map.in
@@ -0,0 +1,12 @@
+--- libraries/libffi/libffi.map.in.orig	2026-06-13 18:10:04.559180000 +0200
++++ libraries/libffi/libffi.map.in	2026-06-13 18:10:04.570942000 +0200
+@@ -20,7 +20,9 @@
+ 	ffi_type_sint64;
+ 	ffi_type_float;
+ 	ffi_type_double;
++#if HAVE_LONG_DOUBLE
+ 	ffi_type_longdouble;
++#endif
+ 	ffi_type_pointer;
+ 
+ 	/* Exported functions.  */


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a311bdd.3bed8.13a0ff62>