Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2022 06:29:26 GMT
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 8572b339f903 - 2022Q4 - lang/see: fix build on armv7 arm64 riscv64
Message-ID:  <202212050629.2B56TQB8071606@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q4 has been updated by meta:

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

commit 8572b339f903636fff0c86fdd8cf15bf836e90db
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-11-12 16:16:17 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2022-12-05 06:27:46 +0000

    lang/see: fix build on armv7 arm64 riscv64
    
    Add missing architecture cases to dtoa_config.h.
    
    PR:             267729
    (cherry picked from commit a61ecde1c605d0eea2f5daf7516eff383d6d508a)
---
 lang/see/Makefile                          |  3 ---
 lang/see/files/patch-libsee_dtoa__config.h | 12 ++++++++++++
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/lang/see/Makefile b/lang/see/Makefile
index bc7cd72ca56a..a4a6c5be6d36 100644
--- a/lang/see/Makefile
+++ b/lang/see/Makefile
@@ -18,9 +18,6 @@ LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/COPYING
 LICENSE_FILE_DTOA.C=	${WRKSRC}/COPYING
 LICENSE_PERMS_DTOA.C=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-BROKEN_aarch64=	fails to build: error: "Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined."
-BROKEN_riscv64=	fails to build: error: "Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM should be defined."
-
 OPTIONS_DEFINE=	GC DEBUG DOCS
 OPTIONS_DEFAULT=	GC
 GC_DESC=	Use Boehm-Weiser garbage collection package
diff --git a/lang/see/files/patch-libsee_dtoa__config.h b/lang/see/files/patch-libsee_dtoa__config.h
new file mode 100644
index 000000000000..3dd1dd64d754
--- /dev/null
+++ b/lang/see/files/patch-libsee_dtoa__config.h
@@ -0,0 +1,12 @@
+--- libsee/dtoa_config.h.orig	2022-11-12 15:54:29 UTC
++++ libsee/dtoa_config.h
+@@ -11,7 +11,8 @@
+ 
+ #include <see/type.h>
+ 
+-#if defined(__i386__) || defined(__amd64__) || defined(__ia64__) || defined(__alpha__)
++#if defined(__i386__) || defined(__amd64__) || defined(__ia64__) || defined(__alpha__) \
++    || defined(__arm__) || defined(__aarch64__) || defined(__riscv)
+ #   define IEEE_8087
+ #endif
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212050629.2B56TQB8071606>