pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/libcxxabi



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Nov 28 20:50:16 UTC 2022

Modified Files:
        pkgsrc/lang/libcxxabi: distinfo
Added Files:
        pkgsrc/lang/libcxxabi/patches: patch-src_demangle_Utility.h

Log Message:
libcxxabi: Fix build on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/libcxxabi/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/libcxxabi/patches/patch-src_demangle_Utility.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/libcxxabi/distinfo
diff -u pkgsrc/lang/libcxxabi/distinfo:1.17 pkgsrc/lang/libcxxabi/distinfo:1.18
--- pkgsrc/lang/libcxxabi/distinfo:1.17 Wed Nov 16 20:53:59 2022
+++ pkgsrc/lang/libcxxabi/distinfo      Mon Nov 28 20:50:15 2022
@@ -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 @@ BLAKE2s (libcxxabi-15.0.5.src.tar.xz) = 
 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

Added files:

Index: pkgsrc/lang/libcxxabi/patches/patch-src_demangle_Utility.h
diff -u /dev/null pkgsrc/lang/libcxxabi/patches/patch-src_demangle_Utility.h:1.1
--- /dev/null   Mon Nov 28 20:50:16 2022
+++ pkgsrc/lang/libcxxabi/patches/patch-src_demangle_Utility.h  Mon Nov 28 20:50:16 2022
@@ -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