pkgsrc-WIP-changes archive

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

lldb: unbreak build



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Aug 7 11:08:15 2022 +0200
Changeset:	03e5804e9527c7b184fb1bfad20eb82f4279c413

Modified Files:
	lldb/PLIST
	lldb/distinfo
Added Files:
	lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
Removed Files:
	lldb/TODO

Log Message:
lldb: unbreak build

Fix broken patch.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=03e5804e9527c7b184fb1bfad20eb82f4279c413

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

diffstat:
 lldb/PLIST                                              | 15 +++++++++++----
 lldb/TODO                                               | 17 -----------------
 lldb/distinfo                                           |  1 +
 ...-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h | 14 ++++++++++++++
 4 files changed, 26 insertions(+), 21 deletions(-)

diffs:
diff --git a/lldb/PLIST b/lldb/PLIST
index 188d4b0266..b1343643a2 100644
--- a/lldb/PLIST
+++ b/lldb/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2021/11/23 20:55:42 wiz Exp $
+@comment $NetBSD$
 bin/lldb
 bin/lldb-argdumper
 bin/lldb-instr
@@ -105,6 +105,7 @@ include/lldb/Core/AddressResolver.h
 include/lldb/Core/AddressResolverFileLine.h
 include/lldb/Core/Architecture.h
 include/lldb/Core/Communication.h
+include/lldb/Core/DataFileCache.h
 include/lldb/Core/Debugger.h
 include/lldb/Core/Declaration.h
 include/lldb/Core/Disassembler.h
@@ -230,7 +231,6 @@ include/lldb/Host/PseudoTerminal.h
 include/lldb/Host/SafeMachO.h
 include/lldb/Host/Socket.h
 include/lldb/Host/SocketAddress.h
-include/lldb/Host/StringConvert.h
 include/lldb/Host/Terminal.h
 include/lldb/Host/ThreadLauncher.h
 include/lldb/Host/Time.h
@@ -324,6 +324,7 @@ include/lldb/Interpreter/OptionValues.h
 include/lldb/Interpreter/Options.h
 include/lldb/Interpreter/Property.h
 include/lldb/Interpreter/ScriptInterpreter.h
+include/lldb/Interpreter/ScriptedInterface.h
 include/lldb/Interpreter/ScriptedProcessInterface.h
 include/lldb/Symbol/ArmUnwindInfo.h
 include/lldb/Symbol/Block.h
@@ -361,8 +362,10 @@ include/lldb/Symbol/UnwindTable.h
 include/lldb/Symbol/Variable.h
 include/lldb/Symbol/VariableList.h
 include/lldb/Target/ABI.h
+include/lldb/Target/AppleArm64ExceptionClass.h
 include/lldb/Target/AssertFrameRecognizer.h
 include/lldb/Target/DynamicLoader.h
+include/lldb/Target/DynamicRegisterInfo.h
 include/lldb/Target/ExecutionContext.h
 include/lldb/Target/ExecutionContextScope.h
 include/lldb/Target/InstrumentationRuntime.h
@@ -375,6 +378,7 @@ include/lldb/Target/Memory.h
 include/lldb/Target/MemoryHistory.h
 include/lldb/Target/MemoryRegionInfo.h
 include/lldb/Target/MemoryTagManager.h
+include/lldb/Target/MemoryTagMap.h
 include/lldb/Target/ModuleCache.h
 include/lldb/Target/OperatingSystem.h
 include/lldb/Target/PathMappingList.h
@@ -398,6 +402,7 @@ include/lldb/Target/StackFrame.h
 include/lldb/Target/StackFrameList.h
 include/lldb/Target/StackFrameRecognizer.h
 include/lldb/Target/StackID.h
+include/lldb/Target/Statistics.h
 include/lldb/Target/StopInfo.h
 include/lldb/Target/StructuredDataPlugin.h
 include/lldb/Target/SystemRuntime.h
@@ -455,6 +460,7 @@ include/lldb/Utility/FileSpec.h
 include/lldb/Utility/Flags.h
 include/lldb/Utility/GDBRemote.h
 include/lldb/Utility/IOObject.h
+include/lldb/Utility/Instrumentation.h
 include/lldb/Utility/Iterable.h
 include/lldb/Utility/LLDBAssert.h
 include/lldb/Utility/Listener.h
@@ -468,7 +474,6 @@ include/lldb/Utility/RangeMap.h
 include/lldb/Utility/RegisterValue.h
 include/lldb/Utility/RegularExpression.h
 include/lldb/Utility/Reproducer.h
-include/lldb/Utility/ReproducerInstrumentation.h
 include/lldb/Utility/ReproducerProvider.h
 include/lldb/Utility/Scalar.h
 include/lldb/Utility/SelectHelper.h
@@ -497,6 +502,7 @@ include/lldb/Utility/UserIDResolver.h
 include/lldb/Utility/VASPrintf.h
 include/lldb/Utility/VMRange.h
 include/lldb/Utility/XcodeSDK.h
+include/lldb/Version/Version.h
 include/lldb/lldb-defines.h
 include/lldb/lldb-enumerations.h
 include/lldb/lldb-forward.h
@@ -510,8 +516,9 @@ include/lldb/lldb-public.h
 include/lldb/lldb-types.h
 include/lldb/lldb-versioning.h
 lib/liblldb.so
-lib/liblldb.so.13
+lib/liblldb.so.14
 lib/liblldb.so.${PKGVERSION}
+lib/lua/5.3/lldb.so
 ${PYSITELIB}/lldb/__init__.py
 ${PYSITELIB}/lldb/_lldb.so
 ${PYSITELIB}/lldb/embedded_interpreter.py
diff --git a/lldb/TODO b/lldb/TODO
deleted file mode 100644
index 7246e4e707..0000000000
--- a/lldb/TODO
+++ /dev/null
@@ -1,17 +0,0 @@
-[ 81%] Building CXX object source/Plugins/Process/elf-core/CMakeFiles/lldbPluginProcessElfCore.dir/RegisterContextPOSIXCore_arm.cpp.o
-At global scope:
-cc1plus: note: unrecognized command-line option '-Wno-vla-extension' may have been intended to silence earlier diagnostics
-cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics
---- source/Plugins/Process/NetBSD/CMakeFiles/lldbPluginProcessNetBSD.dir/NativeProcessNetBSD.cpp.o ---
-*** [source/Plugins/Process/NetBSD/CMakeFiles/lldbPluginProcessNetBSD.dir/NativeProcessNetBSD.cpp.o] Error code 1
-
-bmake[2]: stopped in /usr/pkgsrc/wip/lldb/work/build
-1 error
-
-bmake[2]: stopped in /usr/pkgsrc/wip/lldb/work/build
---- source/Plugins/Process/NetBSD/CMakeFiles/lldbPluginProcessNetBSD.dir/all ---
-*** [source/Plugins/Process/NetBSD/CMakeFiles/lldbPluginProcessNetBSD.dir/all] Error code 2
-
-bmake[1]: stopped in /usr/pkgsrc/wip/lldb/work/build
-A failure has been detected in another branch of the parallel make
-
diff --git a/lldb/distinfo b/lldb/distinfo
index 9cecb7cb14..8b8333d7fa 100644
--- a/lldb/distinfo
+++ b/lldb/distinfo
@@ -6,3 +6,4 @@ Size (lldb-14.0.6.src.tar.xz) = 10088312 bytes
 SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 773d420c3fd2c9b4af6af9d42c5778e96a1ae52b
 SHA1 (patch-source_API_CMakeLists.txt) = 23a7b24632f937a4541863aff6a7591255cafe40
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 15c6d8399198de567b4e901533e1b1f77d9e348f
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 26a7298b835b97b89257975f7e87f0f8225e5f99
diff --git a/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h b/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
new file mode 100644
index 0000000000..d95953d057
--- /dev/null
+++ b/lldb/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Declare StopProcess.
+
+--- source/Plugins/Process/NetBSD/NativeProcessNetBSD.h.orig	2022-06-22 16:46:24.000000000 +0000
++++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
+@@ -87,6 +87,7 @@ public:
+   // Interface used by NativeRegisterContext-derived classes.
+   static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
+                               int data = 0, int *result = nullptr);
++  static Status StopProcess(lldb::pid_t pid);
+ 
+   llvm::Expected<std::string> SaveCore(llvm::StringRef path_hint) override;
+ 


Home | Main Index | Thread Index | Old Index