pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/libcxxabi libcxxabi: Use std::llabs, suggested by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e9d83285a11
branches:  trunk
changeset: 389031:6e9d83285a11
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Nov 29 09:08:58 2022 +0000

description:
libcxxabi: Use std::llabs, suggested by joerg.

diffstat:

 lang/libcxxabi/distinfo                             |  4 ++--
 lang/libcxxabi/patches/patch-src_demangle_Utility.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 5cde78c26b15 -r 6e9d83285a11 lang/libcxxabi/distinfo
--- a/lang/libcxxabi/distinfo   Tue Nov 29 08:49:10 2022 +0000
+++ b/lang/libcxxabi/distinfo   Tue Nov 29 09:08:58 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2022/11/28 20:50:15 jperkin Exp $
+$NetBSD: distinfo,v 1.19 2022/11/29 09:08:58 jperkin Exp $
 
 BLAKE2s (cmake-15.0.5.src.tar.xz) = 5f8beedf1c9349c13dba2f4a5fcfb9d482c96df32c34c284cfe682a681669f35
 SHA512 (cmake-15.0.5.src.tar.xz) = 493825f1b64abef6d56502d28e30056320bdda5a46a478fc85eec3a631c541da2d318fb9c3e3d3e6234f538121b7a1c60d34cba498fd6b7938d3558d24684fed
@@ -10,4 +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
+SHA1 (patch-src_demangle_Utility.h) = 7a4850869f9f4ce858d2cceeb999934c28292a95
diff -r 5cde78c26b15 -r 6e9d83285a11 lang/libcxxabi/patches/patch-src_demangle_Utility.h
--- a/lang/libcxxabi/patches/patch-src_demangle_Utility.h       Tue Nov 29 08:49:10 2022 +0000
+++ b/lang/libcxxabi/patches/patch-src_demangle_Utility.h       Tue Nov 29 09:08:58 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_demangle_Utility.h,v 1.1 2022/11/28 20:50:16 jperkin Exp $
+$NetBSD: patch-src_demangle_Utility.h,v 1.2 2022/11/29 09:08:58 jperkin Exp $
 
 Work around ambiguous call on SunOS.
 
@@ -9,7 +9,7 @@
  
    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);
++    return writeUnsigned(static_cast<unsigned long long>(std::llabs(N)), N < 0);
    }
  
    OutputBuffer &operator<<(unsigned long long N) {



Home | Main Index | Thread Index | Old Index