1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

lang/see: fix build on armv7 arm64 riscv64

Add missing architecture cases to dtoa_config.h.

PR:		267729
This commit is contained in:
Robert Clausecker 2022-11-12 17:16:17 +01:00 committed by Koichiro Iwao
parent 54c3365e5a
commit a61ecde1c6
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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