pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
edb-debugger-git: Initial NetBSD port
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Feb 18 23:52:02 2017 +0100
Changeset: 326adb9104d8c6d8891634ee65fba2c70eb78cc4
Modified Files:
edb-debugger-git/distinfo
Added Files:
edb-debugger-git/patches/patch-plugins_HeapAnalyzer_DialogHeap.cpp
edb-debugger-git/patches/patch-plugins_ProcessProperties_DialogProcessProperties.cpp
edb-debugger-git/patches/patch-src_Debugger.cpp
Log Message:
edb-debugger-git: Initial NetBSD port
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=326adb9104d8c6d8891634ee65fba2c70eb78cc4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
edb-debugger-git/distinfo | 3 +++
.../patch-plugins_HeapAnalyzer_DialogHeap.cpp | 22 ++++++++++++++++++++++
...s_ProcessProperties_DialogProcessProperties.cpp | 13 +++++++++++++
edb-debugger-git/patches/patch-src_Debugger.cpp | 22 ++++++++++++++++++++++
4 files changed, 60 insertions(+)
diffs:
diff --git a/edb-debugger-git/distinfo b/edb-debugger-git/distinfo
index 296edb2e66..ae9e9c13eb 100644
--- a/edb-debugger-git/distinfo
+++ b/edb-debugger-git/distinfo
@@ -4,3 +4,6 @@ SHA1 (edb-debugger-0.9.21.tar.gz) = eff050b5ec53f02ebc96dbbb80f1731036e2c6f6
RMD160 (edb-debugger-0.9.21.tar.gz) = d7821e07b607667090b1158b559053856ef077de
SHA512 (edb-debugger-0.9.21.tar.gz) = 88a04cafb2c27a3af6bcfc48c841c795fb5bba348f64fe52957716c2c03e4cd056d045b241135c5be7fd7174d2c5a35fa5c95dc2b6aad4fb5c04f4fe36ab4f0d
Size (edb-debugger-0.9.21.tar.gz) = 996932 bytes
+SHA1 (patch-plugins_HeapAnalyzer_DialogHeap.cpp) = a11c5aeb91168f4bf2f58fa35137fec2d5107ea4
+SHA1 (patch-plugins_ProcessProperties_DialogProcessProperties.cpp) = 31d9915e63a963fdd597dc141e3424fa8f05e81b
+SHA1 (patch-src_Debugger.cpp) = 6e680dfecf7fe690c3d557002515f21313b85ca7
diff --git a/edb-debugger-git/patches/patch-plugins_HeapAnalyzer_DialogHeap.cpp b/edb-debugger-git/patches/patch-plugins_HeapAnalyzer_DialogHeap.cpp
new file mode 100644
index 0000000000..0e55607bb8
--- /dev/null
+++ b/edb-debugger-git/patches/patch-plugins_HeapAnalyzer_DialogHeap.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- plugins/HeapAnalyzer/DialogHeap.cpp.orig 2017-02-18 21:21:09.000000000 +0000
++++ plugins/HeapAnalyzer/DialogHeap.cpp
+@@ -277,7 +277,7 @@ void DialogHeap::collect_blocks(edb::add
+ const int min_string_length = edb::v1::config().min_string_length;
+
+ if(start_address != 0 && end_address != 0) {
+- #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
++ #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+ malloc_chunk<Addr> currentChunk;
+ malloc_chunk<Addr> nextChunk;
+ edb::address_t currentChunkAddress = start_address;
+@@ -426,7 +426,7 @@ void DialogHeap::do_find() {
+ QString ldName;
+
+ get_library_names(&libcName, &ldName);
+- #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
++ #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+ Symbol::pointer s = edb::v1::symbol_manager().find(libcName + "::__curbrk");
+ if(s) {
+ end_address = s->address;
diff --git a/edb-debugger-git/patches/patch-plugins_ProcessProperties_DialogProcessProperties.cpp b/edb-debugger-git/patches/patch-plugins_ProcessProperties_DialogProcessProperties.cpp
new file mode 100644
index 0000000000..442b4e734f
--- /dev/null
+++ b/edb-debugger-git/patches/patch-plugins_ProcessProperties_DialogProcessProperties.cpp
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- plugins/ProcessProperties/DialogProcessProperties.cpp.orig 2017-02-18 21:21:09.000000000 +0000
++++ plugins/ProcessProperties/DialogProcessProperties.cpp
+@@ -35,7 +35,7 @@ along with this program. If not, see <h
+ #include <QStringListModel>
+ #include <QUrl>
+
+-#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+ #include <link.h>
+ #include <arpa/inet.h>
+ #endif
diff --git a/edb-debugger-git/patches/patch-src_Debugger.cpp b/edb-debugger-git/patches/patch-src_Debugger.cpp
new file mode 100644
index 0000000000..6021392b5a
--- /dev/null
+++ b/edb-debugger-git/patches/patch-src_Debugger.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- src/Debugger.cpp.orig 2017-02-18 21:21:09.000000000 +0000
++++ src/Debugger.cpp
+@@ -78,7 +78,7 @@ along with this program. If not, see <h
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#if defined(Q_OS_LINUX) || defined(Q_OS_OPENBSD)
++#if defined(Q_OS_LINUX) || defined(Q_OS_NETBSD) || defined(Q_OS_OPENBSD)
+ #include <unistd.h>
+ #include <fcntl.h>
+ #endif
+@@ -533,7 +533,7 @@ QString Debugger::create_tty() {
+
+ QString result_tty = tty_file_;
+
+-#if defined(Q_OS_LINUX) || defined(Q_OS_OPENBSD) || defined(Q_OS_FREEBSD)
++#if defined(Q_OS_LINUX) || defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_FREEBSD)
+ // we attempt to reuse an open output window
+ if(edb::v1::config().tty_enabled && tty_proc_->state() != QProcess::Running) {
+ const QString command = edb::v1::config().tty_command;
Home |
Main Index |
Thread Index |
Old Index