diff options
-rw-r--r-- | dev-util/statifier/files/statifier-1.7.4-musl.patch | 28 | ||||
-rw-r--r-- | dev-util/statifier/statifier-1.7.4-r1.ebuild | 1 | ||||
-rw-r--r-- | dev-util/statifier/statifier-1.7.4.ebuild | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/statifier/files/statifier-1.7.4-musl.patch b/dev-util/statifier/files/statifier-1.7.4-musl.patch new file mode 100644 index 000000000000..919f354127b3 --- /dev/null +++ b/dev-util/statifier/files/statifier-1.7.4-musl.patch @@ -0,0 +1,28 @@ +--- a/src/my_gdb/my_ptrace.c ++++ b/src/my_gdb/my_ptrace.c +@@ -13,8 +13,10 @@ + #include <stdlib.h> + #include <string.h> + ++typedef int statifier_ptrace_req_t; ++ + long my_ptrace( +- enum __ptrace_request request, ++ statifier_ptrace_req_t request, + pid_t pid, + void *addr, + void *data, +--- a/src/my_gdb/my_ptrace.h ++++ b/src/my_gdb/my_ptrace.h +@@ -15,8 +15,10 @@ + #include <sys/types.h> + #include <sys/ptrace.h> + ++typedef int statifier_ptrace_req_t; ++ + long my_ptrace( +- enum __ptrace_request request, ++ statifier_ptrace_req_t request, + pid_t pid, + void *addr, + void *data, diff --git a/dev-util/statifier/statifier-1.7.4-r1.ebuild b/dev-util/statifier/statifier-1.7.4-r1.ebuild index b986e79dd443..5bdd7e9ca4e7 100644 --- a/dev-util/statifier/statifier-1.7.4-r1.ebuild +++ b/dev-util/statifier/statifier-1.7.4-r1.ebuild @@ -24,6 +24,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.7.4-clang.patch "${FILESDIR}"/${PN}-1.7.4-fix-build-system.patch + "${FILESDIR}"/${PN}-1.7.4-musl.patch ) src_prepare() { diff --git a/dev-util/statifier/statifier-1.7.4.ebuild b/dev-util/statifier/statifier-1.7.4.ebuild index 74c850e0b93e..7ade05bbc42a 100644 --- a/dev-util/statifier/statifier-1.7.4.ebuild +++ b/dev-util/statifier/statifier-1.7.4.ebuild @@ -24,6 +24,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.7.4-clang.patch "${FILESDIR}"/${PN}-1.7.4-fix-build-system.patch + "${FILESDIR}"/${PN}-1.7.4-musl.patch ) src_prepare() { |