pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lldb lldb: add missing patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aebf9c941d07
branches:  trunk
changeset: 388173:aebf9c941d07
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 14 18:46:39 2022 +0000

description:
lldb: add missing patch

diffstat:

 devel/lldb/distinfo                                        |   4 +-
 devel/lldb/patches/patch-source_Host_netbsd_HostNetBSD.cpp |  15 ++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 14bf22e0a049 -r aebf9c941d07 devel/lldb/distinfo
--- a/devel/lldb/distinfo       Mon Nov 14 18:45:20 2022 +0000
+++ b/devel/lldb/distinfo       Mon Nov 14 18:46:39 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2022/11/14 18:44:05 adam Exp $
+$NetBSD: distinfo,v 1.32 2022/11/14 18:46:39 adam Exp $
 
 BLAKE2s (cmake-15.0.4.src.tar.xz) = 7b5f8ecd490470c57f456046717afccf5a9fe0d62234f7062553d0760c964d4f
 SHA512 (cmake-15.0.4.src.tar.xz) = c983deefbdf128bf47d009a4eed0628f69462146c33e7e670bc43f80aea3dacf9c1367d81afea9512126d15543156b11c7d9eca7944f4b8e4c5c31479c549734
@@ -8,6 +8,6 @@
 Size (lldb-15.0.4.src.tar.xz) = 10255288 bytes
 SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 773d420c3fd2c9b4af6af9d42c5778e96a1ae52b
 SHA1 (patch-source_API_CMakeLists.txt) = 23a7b24632f937a4541863aff6a7591255cafe40
-SHA1 (patch-source_Host_netbsd_HostNetBSD.cpp) = 033b5016a360f174f780fbfe56979d7ad4f11272
+SHA1 (patch-source_Host_netbsd_HostNetBSD.cpp) = 8c19657d90ffea176b1297331fd23a8b565c6f1d
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 15c6d8399198de567b4e901533e1b1f77d9e348f
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 26a7298b835b97b89257975f7e87f0f8225e5f99
diff -r 14bf22e0a049 -r aebf9c941d07 devel/lldb/patches/patch-source_Host_netbsd_HostNetBSD.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lldb/patches/patch-source_Host_netbsd_HostNetBSD.cpp        Mon Nov 14 18:46:39 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-source_Host_netbsd_HostNetBSD.cpp,v 1.1 2022/11/14 18:46:39 adam Exp $
+
+Fix build on NetBSD.
+
+--- source/Host/netbsd/HostNetBSD.cpp.orig     2022-11-10 13:48:56.029150970 +0000
++++ source/Host/netbsd/HostNetBSD.cpp
+@@ -109,7 +109,7 @@ static bool GetNetBSDProcessCPUType(Proc
+         process_info.GetExecutableFile(), 0x20, 0);
+     if (buffer_sp) {
+       uint8_t exe_class = llvm::object::getElfArchType(
+-                              {reinterpret_cast<char *>(buffer_sp->GetBytes()),
++                              {reinterpret_cast<const char *>(buffer_sp->GetBytes()),
+                                size_t(buffer_sp->GetByteSize())})
+                               .first;
+ 



Home | Main Index | Thread Index | Old Index