mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
edb-debugger: fix musl.
This commit is contained in:
parent
203176dd09
commit
db2f76a68c
1 changed files with 16 additions and 0 deletions
16
srcpkgs/edb-debugger/patches/fix-musl.patch
Normal file
16
srcpkgs/edb-debugger/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
Source: maxice8
|
||||
Upstream: no
|
||||
Reason: fixes compilation by avoiding using __ptrace_request as an enum.
|
||||
|
||||
--- plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformThread.cpp
|
||||
+++ plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformThread.cpp
|
||||
@@ -34,6 +34,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/user.h>
|
||||
|
||||
+#ifndef __GLIBC__
|
||||
+#define __ptrace_request int
|
||||
+#endif
|
||||
|
||||
// doesn't always seem to be defined in the headers
|
||||
#ifndef PTRACE_GET_THREAD_AREA
|
Loading…
Add table
Reference in a new issue