pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/libcxxabi libcxxabi: Fix build on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/47093197f831
branches: trunk
changeset: 389008:47093197f831
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Nov 28 20:50:15 2022 +0000
description:
libcxxabi: Fix build on SunOS.
diffstat:
lang/libcxxabi/distinfo | 3 ++-
lang/libcxxabi/patches/patch-src_demangle_Utility.h | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 98c149685558 -r 47093197f831 lang/libcxxabi/distinfo
--- a/lang/libcxxabi/distinfo Mon Nov 28 19:59:32 2022 +0000
+++ b/lang/libcxxabi/distinfo Mon Nov 28 20:50:15 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2022/11/16 20:53:59 adam Exp $
+$NetBSD: distinfo,v 1.18 2022/11/28 20:50:15 jperkin Exp $
BLAKE2s (cmake-15.0.5.src.tar.xz) = 5f8beedf1c9349c13dba2f4a5fcfb9d482c96df32c34c284cfe682a681669f35
SHA512 (cmake-15.0.5.src.tar.xz) = 493825f1b64abef6d56502d28e30056320bdda5a46a478fc85eec3a631c541da2d318fb9c3e3d3e6234f538121b7a1c60d34cba498fd6b7938d3558d24684fed
@@ -10,3 +10,4 @@
SHA512 (libcxxabi-15.0.5.src.tar.xz) = 5c4a931a270abfd9fdb64e248d07246a2c678eb7127103a9c8ade63a671d3a33de1d989c0f4a7e9ee2e15519441df5e5e9a8e722b048035b8d74dea6130f756b
Size (libcxxabi-15.0.5.src.tar.xz) = 568696 bytes
SHA1 (patch-src_CMakeLists.txt) = da127de7603ed0ea5530c4a8cd2ffcee61d2ff90
+SHA1 (patch-src_demangle_Utility.h) = 78ba9453e373d1719065f856abab384bee8c47e7
diff -r 98c149685558 -r 47093197f831 lang/libcxxabi/patches/patch-src_demangle_Utility.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libcxxabi/patches/patch-src_demangle_Utility.h Mon Nov 28 20:50:15 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_demangle_Utility.h,v 1.1 2022/11/28 20:50:16 jperkin Exp $
+
+Work around ambiguous call on SunOS.
+
+--- src/demangle/Utility.h.orig 2022-11-16 06:28:29.000000000 +0000
++++ src/demangle/Utility.h
+@@ -134,7 +134,7 @@ public:
+ OutputBuffer &operator<<(char C) { return (*this += C); }
+
+ OutputBuffer &operator<<(long long N) {
+- return writeUnsigned(static_cast<unsigned long long>(std::abs(N)), N < 0);
++ return writeUnsigned(static_cast<unsigned long long>(std::abs((long double)N)), N < 0);
+ }
+
+ OutputBuffer &operator<<(unsigned long long N) {
Home |
Main Index |
Thread Index |
Old Index