aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2026-05-09 14:58:16 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2026-05-10 17:25:36 +0000
commit80cbaac5ab009ff0c6bb62b668b767baa9e8373f (patch)
treefd2eebac2a06e633f34613b135280aa2b4a0f275
parent7f01fac143dd3d78582c55e9d0d5e03eb13bb681 (diff)
cad/openvsp: Fix build with newer libc++
Another instance of is_signed being redefined. cad/openvsp: Bump PORTREVISION
-rw-r--r--cad/openvsp/Makefile2
-rw-r--r--cad/openvsp/files/patch-src_external_GeometricTools_GeometricTools_GTE_Mathematics_BSRational.h13
2 files changed, 14 insertions, 1 deletions
diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile
index 2211d9c82f7d..23ab2cfad89b 100644
--- a/cad/openvsp/Makefile
+++ b/cad/openvsp/Makefile
@@ -1,7 +1,7 @@
PORTNAME= openvsp
DISTVERSIONPREFIX= ${GH_PROJECT}_
DISTVERSION= 3.50.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MAINTAINER= fernape@FreeBSD.org
diff --git a/cad/openvsp/files/patch-src_external_GeometricTools_GeometricTools_GTE_Mathematics_BSRational.h b/cad/openvsp/files/patch-src_external_GeometricTools_GeometricTools_GTE_Mathematics_BSRational.h
new file mode 100644
index 000000000000..f34af020d7ad
--- /dev/null
+++ b/cad/openvsp/files/patch-src_external_GeometricTools_GeometricTools_GTE_Mathematics_BSRational.h
@@ -0,0 +1,13 @@
+--- src/external/GeometricTools/GeometricTools/GTE/Mathematics/BSRational.h.orig 2026-05-09 14:56:37 UTC
++++ src/external/GeometricTools/GeometricTools/GTE/Mathematics/BSRational.h
+@@ -993,10 +993,6 @@ namespace std
+ {
+ return (gte::BSRational<UInteger>)std::tanh((double)x);
+ }
+-
+- // Type trait that says BSRational is a signed type.
+- template <typename UInteger>
+- struct is_signed<gte::BSRational<UInteger>> : true_type {};
+ }
+
+ namespace gte