pkgsrc-WIP-changes archive

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

lldb: add patches which do not fix the linking problem apparently.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Sun May 7 02:08:51 2023 +0200
Changeset:	32bc5934fa8701f4b8a753af6fcac5d08321dfcd

Modified Files:
	lldb/distinfo
Added Files:
	lldb/patches/patch-source_Core_CMakeLists.txt
	lldb/patches/patch-tools_lldb__server_CMakeLists.txt

Log Message:
lldb: add patches which do not fix the linking problem apparently.

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

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

diffstat:
 lldb/distinfo                                      |  2 ++
 lldb/patches/patch-source_Core_CMakeLists.txt      | 41 ++++++++++++++++++++++
 .../patch-tools_lldb__server_CMakeLists.txt        | 41 ++++++++++++++++++++++
 3 files changed, 84 insertions(+)

diffs:
diff --git a/lldb/distinfo b/lldb/distinfo
index 436a1c9ffe..dcfa760cd9 100644
--- a/lldb/distinfo
+++ b/lldb/distinfo
@@ -8,7 +8,9 @@ SHA512 (lldb-16.0.2.src.tar.xz) = 86bcfbdd5752406706118c1d48cca188b7ddb553f093d5
 Size (lldb-16.0.2.src.tar.xz) = 10379116 bytes
 SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 773d420c3fd2c9b4af6af9d42c5778e96a1ae52b
 SHA1 (patch-source_API_CMakeLists.txt) = 23a7b24632f937a4541863aff6a7591255cafe40
+SHA1 (patch-source_Core_CMakeLists.txt) = cce57ae6e3da4e6b09e7292d6a7278ecffedccff
 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
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp) = 23ff593c187501dc91c3f2f49fd341176e75a264
+SHA1 (patch-tools_lldb__server_CMakeLists.txt) = 93466e5af52e56a59b79e0b98dd36302f4a1d30c
diff --git a/lldb/patches/patch-source_Core_CMakeLists.txt b/lldb/patches/patch-source_Core_CMakeLists.txt
new file mode 100644
index 0000000000..729153ef1e
--- /dev/null
+++ b/lldb/patches/patch-source_Core_CMakeLists.txt
@@ -0,0 +1,41 @@
+$NetBSD$
+
+
+--- source/Core/CMakeLists.txt.orig	2023-04-19 03:08:51.000000000 +0200
++++ source/Core/CMakeLists.txt	2023-05-07 00:52:20.562536860 +0200
+@@ -19,6 +19,24 @@
+   endif()
+ endif()
+ 
++set(LLDB_CURSES_LIB)
++set(LLDB_NCURSES_LIB)
++set(LLDB_LIBEDIT_LIB)
++set(LLDB_GPM_LIB)
++if (LLDB_ENABLE_CURSES)
++  if((CURSES_CURSES_LIBRARY) AND (NOT CURSES_NCURSES_LIBRARY))
++    list(APPEND LLDB_CURSES_LIB curses)
++  elseif((CURSES_NCURSES_LIBRARY) AND (NOT CURSES_CURSES_LIBRARY))
++    list(APPEND LLDB_NCURSES_LIB ncurses)
++  endif()
++  if(LLVM_ENABLE_TERMINFO)
++    list(APPEND LLDB_LIBEDIT_LIB edit)
++  endif()
++  if(LLVM_BUILD_STATIC)
++    list(APPEND LLDB_GPM_LIB gpm)
++  endif()
++endif()
++
+ add_lldb_library(lldbCore
+   Address.cpp
+   AddressRange.cpp
+@@ -87,6 +105,10 @@
+     lldbPluginCPlusPlusLanguage
+     lldbPluginObjCLanguage
+     ${LLDB_CURSES_LIBS}
++    ${LLDB_CURSES_LIB}
++    ${LLDB_NCURSES_LIB}
++    ${LLDB_LIBEDIT_LIB}
++    ${LLDB_GPM_LIB}
+ 
+   CLANG_LIBS
+     clangDriver
diff --git a/lldb/patches/patch-tools_lldb__server_CMakeLists.txt b/lldb/patches/patch-tools_lldb__server_CMakeLists.txt
new file mode 100644
index 0000000000..16ebab0615
--- /dev/null
+++ b/lldb/patches/patch-tools_lldb__server_CMakeLists.txt
@@ -0,0 +1,41 @@
+$NetBSD$
+
+
+--- tools/lldb-server/CMakeLists.txt.orig	2023-04-19 03:08:51.000000000 +0200
++++ tools/lldb-server/CMakeLists.txt	2023-05-07 01:31:43.068790470 +0200
+@@ -37,6 +37,24 @@
+   endif()
+ endif()
+ 
++set(LLDB_CURSES_LIB)
++set(LLDB_NCURSES_LIB)
++set(LLDB_LIBEDIT_LIB)
++set(LLDB_GPM_LIB)
++if (LLDB_ENABLE_CURSES)
++  if((CURSES_CURSES_LIBRARY) AND (NOT CURSES_NCURSES_LIBRARY))
++    list(APPEND LLDB_CURSES_LIB curses)
++  elseif((CURSES_NCURSES_LIBRARY) AND (NOT CURSES_CURSES_LIBRARY))
++    list(APPEND LLDB_NCURSES_LIB ncurses)
++  endif()
++  if(LLVM_ENABLE_TERMINFO)
++    list(APPEND LLDB_LIBEDIT_LIB edit)
++  endif()
++  if(LLVM_BUILD_STATIC)
++    list(APPEND LLDB_GPM_LIB gpm)
++  endif()
++endif()
++
+ add_lldb_tool(lldb-server
+     Acceptor.cpp
+     lldb-gdbserver.cpp
+@@ -56,6 +74,10 @@
+       lldbPluginInstructionMIPS64
+       lldbPluginInstructionRISCV
+       ${LLDB_SYSTEM_LIBS}
++      ${LLDB_CURSES_LIB}
++      ${LLDB_NCURSES_LIB}
++      ${LLDB_LIBEDIT_LIB}
++      ${LLDB_GPM_LIB}
+ 
+     LINK_COMPONENTS
+       Option


Home | Main Index | Thread Index | Old Index