diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-28 09:32:44 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-28 09:32:44 +0100 |
commit | f7dde97ca3551483cd745c9d9b4e9fec30d4f101 (patch) | |
tree | eefd839691bcd32eca4f002e1859c3105754513e /package/strace/patches/patch-time_c | |
parent | 94b0c4698a9d50593baa9eba1bb46a829d59ecd7 (diff) | |
parent | 8c6cb458c3c20773866ee800d6d197c98043ea6a (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strace/patches/patch-time_c')
-rw-r--r-- | package/strace/patches/patch-time_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/strace/patches/patch-time_c b/package/strace/patches/patch-time_c new file mode 100644 index 000000000..53a6cf76b --- /dev/null +++ b/package/strace/patches/patch-time_c @@ -0,0 +1,14 @@ +--- strace-4.8.orig/time.c 2012-05-01 23:17:51.000000000 +0200 ++++ strace-4.8/time.c 2014-02-25 17:25:14.000000000 +0100 +@@ -774,7 +774,11 @@ printsigevent(struct tcb *tcp, long arg) + /* _pad[0] is the _tid field which might not be + present in the userlevel definition of the + struct. */ ++#if defined(__GLIBC__) + tprintf("{%d}", sev._sigev_un._pad[0]); ++#else ++ tprintf("{%d}", (int) sev.__pad[0]); ++#endif + else if (sev.sigev_notify == SIGEV_THREAD) + tprintf("{%p, %p}", sev.sigev_notify_function, + sev.sigev_notify_attributes); |