edb-debugger: update to 1.0.0. (#705)
This commit is contained in:
parent
637e8e2cd7
commit
bb2c74d0cc
5 changed files with 6 additions and 77 deletions
|
@ -1,13 +0,0 @@
|
|||
diff --git src/CMakeLists.txt src/CMakeLists.txt
|
||||
index 2e453fa5..f2ac7461 100644
|
||||
--- src/CMakeLists.txt
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -45,7 +45,7 @@ else()
|
||||
set(GIT_BRANCH "Unknown")
|
||||
endif()
|
||||
add_definitions(-DGIT_BRANCH=${GIT_BRANCH})
|
||||
-add_definitions(-DDEFAULT_PLUGIN_PATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/edb)
|
||||
+add_definitions(-DDEFAULT_PLUGIN_PATH=${DEFAULT_PLUGIN_PATH})
|
||||
|
||||
include_directories(
|
||||
"capstone-edb"
|
|
@ -1,19 +0,0 @@
|
|||
diff --git src/DialogInputValue.cpp src/DialogInputValue.cpp
|
||||
index aa26b4b7..0ca19575 100644
|
||||
--- src/DialogInputValue.cpp
|
||||
+++ src/DialogInputValue.cpp
|
||||
@@ -26,6 +26,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "ui_DialogInputValue.h"
|
||||
|
||||
+#if !defined(__GLIBC__)
|
||||
+/* These are not defined in musl libc */
|
||||
+#include <stdint.h>
|
||||
+#define LONG_LONG_MIN INT64_MIN
|
||||
+#define LONG_LONG_MAX INT64_MAX
|
||||
+#define ULONG_LONG_MAX UINT64_MAX
|
||||
+#endif
|
||||
+
|
||||
//------------------------------------------------------------------------------
|
||||
// Name: DialogInputValue
|
||||
// Desc:
|
|
@ -1,24 +0,0 @@
|
|||
diff --git plugins/DebuggerCore/unix/linux/DebuggerCore.cpp plugins/DebuggerCore/unix/linux/DebuggerCore.cpp
|
||||
index f9351aa5..b298152f 100644
|
||||
--- plugins/DebuggerCore/unix/linux/DebuggerCore.cpp
|
||||
+++ plugins/DebuggerCore/unix/linux/DebuggerCore.cpp
|
||||
@@ -45,6 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/personality.h>
|
||||
+#include <linux/wait.h> /* __WALL */
|
||||
|
||||
// doesn't always seem to be defined in the headers
|
||||
|
||||
diff --git plugins/DebuggerCore/unix/linux/detect/proc-pid-mem-write.cpp plugins/DebuggerCore/unix/linux/detect/proc-pid-mem-write.cpp
|
||||
index 6c64ff81..67198a59 100644
|
||||
--- plugins/DebuggerCore/unix/linux/detect/proc-pid-mem-write.cpp
|
||||
+++ plugins/DebuggerCore/unix/linux/detect/proc-pid-mem-write.cpp
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
+#include <linux/wait.h> /* __WALL */
|
||||
|
||||
enum Method {
|
||||
Detected,
|
|
@ -1,15 +0,0 @@
|
|||
diff --git plugins/DebuggerCore/unix/linux/PlatformThread.cpp plugins/DebuggerCore/unix/linux/PlatformThread.cpp
|
||||
index 2ed6d704..2b963039 100644
|
||||
--- plugins/DebuggerCore/unix/linux/PlatformThread.cpp
|
||||
+++ plugins/DebuggerCore/unix/linux/PlatformThread.cpp
|
||||
@@ -34,6 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/user.h>
|
||||
|
||||
+#if !defined(__GLIBC__)
|
||||
+#define __ptrace_request int
|
||||
+#endif
|
||||
+
|
||||
// doesn't always seem to be defined in the headers
|
||||
#ifndef PTRACE_GET_THREAD_AREA
|
||||
#define PTRACE_GET_THREAD_AREA static_cast<__ptrace_request>(25)
|
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'edb-debugger'
|
||||
pkgname=edb-debugger
|
||||
version=0.9.21
|
||||
revision=3
|
||||
version=1.0.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr/ -DDEFAULT_PLUGIN_PATH=/usr/lib/edb/"
|
||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_INSTALL_LIBDIR=/usr/lib/"
|
||||
hostmakedepends='pkg-config'
|
||||
makedepends="capstone-devel graphviz-devel boost-devel qt5-devel qt5-xmlpatterns-devel"
|
||||
makedepends="capstone-devel graphviz-devel boost-devel qt5-devel qt5-xmlpatterns-devel qt5-svg-devel"
|
||||
short_desc="Cross platform x86/x86-64 debugger"
|
||||
maintainer="DirectorX <void.directorx@protonmail.com>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/eteran/edb-debugger"
|
||||
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tgz"
|
||||
checksum=2686619e1288152033d4c9c9a2568cb12841d3854bba8815c37ce77d3bd11706
|
||||
checksum=fab87541042df79ea63254e371d81b84d6b72f78141a6ab92512610ed2b7dfac
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
arm*|aarch64*)
|
||||
|
|
Loading…
Reference in a new issue