pkgsrc-WIP-changes archive

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

lldb-netbsd: Try to add process specific logging in NetBSD



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Dec 19 17:03:50 2016 +0100
Changeset:	1d7f89b83ef5bbb52649149536da95e082e92b9d

Modified Files:
	lldb-netbsd/distinfo
Added Files:
	lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp

Log Message:
lldb-netbsd: Try to add process specific logging in NetBSD

Sponsored by <The NetBSD Foundation>

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

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

diffstat:
 lldb-netbsd/distinfo                               |  1 +
 ...urce_Initialization_SystemInitializerCommon.cpp | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 1c3adc8..7a187f5 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -21,6 +21,7 @@ SHA1 (patch-source_Host_common_NativeProcessProtocol.cpp) = 2446b1727d87e9d5e6e7
 SHA1 (patch-source_Host_netbsd_HostThreadNetBSD.cpp) = a1b0fbdad062309a845cfefe4469614fbbe9d20e
 SHA1 (patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp) = 8b36c0b8d5c75ce501e4848ca07392a7aab68877
 SHA1 (patch-source_Host_netbsd_ThisThread.cpp) = f0d32c81bc1b8fe9aeb86519ea46ba2cb16571c2
+SHA1 (patch-source_Initialization_SystemInitializerCommon.cpp) = b8a2f94eb71dbd265701fdd62e3d36bc0d7081f1
 SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = c0168f81da56d9896eb414e6b8bb7262de04ac33
 SHA1 (patch-source_Plugins_Process_NetBSD_CMakeLists.txt) = df17afdf71c29d945c887e318718904793cd48ad
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = f83c6cdb1c66713707e723a342ddfd864048ddba
diff --git a/lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp b/lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp
new file mode 100644
index 0000000..e031bde
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- source/Initialization/SystemInitializerCommon.cpp.orig	2016-12-17 10:30:23.000000000 +0000
++++ source/Initialization/SystemInitializerCommon.cpp
+@@ -26,7 +26,7 @@
+ #include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
+ #endif
+ 
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__NetBSD__)
+ #include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
+ #endif
+ 
+@@ -93,7 +93,7 @@ void SystemInitializerCommon::Initialize
+ #if defined(__APPLE__)
+   ObjectFileMachO::Initialize();
+ #endif
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__NetBSD__)
+   static ConstString g_linux_log_name("linux");
+   ProcessPOSIXLog::Initialize(g_linux_log_name);
+ #endif


Home | Main Index | Thread Index | Old Index