diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 12:51:52 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-08-14 12:51:52 +0200 |
commit | a7ced5ec9a36f2142d404053dc384ae3af1fe047 (patch) | |
tree | 0fbc32d5e91d00450a65d146c328966877b56e65 /package/strace/patches/patch-time_c | |
parent | e2692cea04fe08014537bbecf5fb52033cb463e2 (diff) | |
parent | 47ba3ba77f0a108450c5536daf77271125953966 (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..746e00644 --- /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 2013-08-14 08:52:00.000000000 +0200 +@@ -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__) || defined(__UCLIBC__) + tprintf("{%d}", sev._sigev_un._pad[0]); ++#else ++ ; ++#endif + else if (sev.sigev_notify == SIGEV_THREAD) + tprintf("{%p, %p}", sev.sigev_notify_function, + sev.sigev_notify_attributes); |