pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/pdal-lib pdal-lib: fix build on NetBSD
details: https://anonhg.NetBSD.org/pkgsrc/rev/76f24b8294f4
branches: trunk
changeset: 390612:76f24b8294f4
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Dec 24 09:58:20 2022 +0000
description:
pdal-lib: fix build on NetBSD
diffstat:
geography/pdal-lib/distinfo | 3 +-
geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp | 17 ++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r cd24e8b38093 -r 76f24b8294f4 geography/pdal-lib/distinfo
--- a/geography/pdal-lib/distinfo Sat Dec 24 02:19:21 2022 +0000
+++ b/geography/pdal-lib/distinfo Sat Dec 24 09:58:20 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:45:14 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/12/24 09:58:20 wiz Exp $
BLAKE2s (PDAL-2.2.0-src.tar.gz) = 5dbf57ed8d96abbcf5f48aeffc00a636b44b29496d65c9d35fa8af0edc6f846f
SHA512 (PDAL-2.2.0-src.tar.gz) = c54770973de714473bf6cfe6a69e2c880d516abcf71cce755495304093acb41471b4264cb84f11973a482f3de80a8922d7d8b54994fb91c6b012a6894a8bdac5
Size (PDAL-2.2.0-src.tar.gz) = 99876283 bytes
+SHA1 (patch-pdal_util_private_BacktraceExecinfo.cpp) = 594e8c5452e83b52731e161b323917d41aaf2cbe
diff -r cd24e8b38093 -r 76f24b8294f4 geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp Sat Dec 24 09:58:20 2022 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-pdal_util_private_BacktraceExecinfo.cpp,v 1.1 2022/12/24 09:58:20 wiz Exp $
+
+Do not cast away constness.
+Fixes build on NetBSD.
+https://github.com/PDAL/PDAL/pull/3916
+
+--- pdal/util/private/BacktraceExecinfo.cpp.orig 2020-09-09 15:14:16.000000000 +0000
++++ pdal/util/private/BacktraceExecinfo.cpp
+@@ -60,7 +60,7 @@ Utils::BacktraceEntries Utils::backtrace
+ entry.symname = info.dli_sname;
+ entry.libname = info.dli_fname;
+ entry.offset = reinterpret_cast<char *>(entry.addr) -
+- reinterpret_cast<char *>(info.dli_saddr);
++ reinterpret_cast<const char *>(info.dli_saddr);
+ }
+ entries.push_back(entry);
+ }
Home |
Main Index |
Thread Index |
Old Index