pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/pdal-lib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Dec 24 09:58:20 UTC 2022

Modified Files:
        pkgsrc/geography/pdal-lib: distinfo
Added Files:
        pkgsrc/geography/pdal-lib/patches:
            patch-pdal_util_private_BacktraceExecinfo.cpp

Log Message:
pdal-lib: fix build on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/geography/pdal-lib/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp

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

Modified files:

Index: pkgsrc/geography/pdal-lib/distinfo
diff -u pkgsrc/geography/pdal-lib/distinfo:1.3 pkgsrc/geography/pdal-lib/distinfo:1.4
--- pkgsrc/geography/pdal-lib/distinfo:1.3      Tue Oct 26 10:45:14 2021
+++ pkgsrc/geography/pdal-lib/distinfo  Sat Dec 24 09:58:20 2022
@@ -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

Added files:

Index: pkgsrc/geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp
diff -u /dev/null pkgsrc/geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp:1.1
--- /dev/null   Sat Dec 24 09:58:20 2022
+++ pkgsrc/geography/pdal-lib/patches/patch-pdal_util_private_BacktraceExecinfo.cpp     Sat Dec 24 09:58:20 2022
@@ -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