Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 403010 Details for
Bug 549108
sys-apps/sandbox: build with musl libc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't use enum __ptrace_request
ptrace.patch (text/plain), 1.15 KB, created by
Felix Janda
on 2015-05-10 21:15:25 UTC
(
hide
)
Description:
Don't use enum __ptrace_request
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2015-05-10 21:15:25 UTC
Size:
1.15 KB
patch
obsolete
>From 0222e68e217c15901a5ed1cdd656d1028be7e574 Mon Sep 17 00:00:00 2001 >From: Felix Janda <felix.janda@posteo.de> >Date: Sun, 10 May 2015 21:35:54 +0200 >Subject: [PATCH 1/2] Use int instead of enum __ptrace_request for ptrace() > >Fixes compilation with musl and also seems to be used by the BSDs. >--- > libsandbox/trace.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/libsandbox/trace.c b/libsandbox/trace.c >index 32ad2d6..1e34924 100644 >--- a/libsandbox/trace.c >+++ b/libsandbox/trace.c >@@ -9,7 +9,7 @@ > #include "wrappers.h" > #include "sb_nr.h" > >-static long _do_ptrace(enum __ptrace_request request, const char *srequest, void *addr, void *data); >+static long _do_ptrace(int request, const char *srequest, void *addr, void *data); > #define do_ptrace(request, addr, data) _do_ptrace(request, #request, addr, data) > #define _trace_possible(data) true > >@@ -43,7 +43,7 @@ static void trace_exit(int status) > _exit(status); > } > >-static long _do_ptrace(enum __ptrace_request request, const char *srequest, void *addr, void *data) >+static long _do_ptrace(int request, const char *srequest, void *addr, void *data) > { > long ret; > try_again: >-- >2.3.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 549108
:
403010
|
403012
|
403814
|
404754
|
496772
|
496774
|
496776
|
496778
|
580598
|
580600
|
580730
|
581128