aboutsummaryrefslogtreecommitdiffstats
path: root/main/strace/uclibc-fix.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-26 10:54:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-26 10:54:05 +0000
commitcb3ef8b314ad677075a1636e26f36285feec5999 (patch)
treec65ca7a98022472077dc2ac667415bc9604fdb91 /main/strace/uclibc-fix.patch
parent3eeab8ed1e01451757c5b92022e455252c64439b (diff)
downloadaports-cb3ef8b314ad677075a1636e26f36285feec5999.tar.bz2
aports-cb3ef8b314ad677075a1636e26f36285feec5999.tar.xz
main/strace: build fix uclibc after fixing musl
Diffstat (limited to 'main/strace/uclibc-fix.patch')
-rw-r--r--main/strace/uclibc-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/strace/uclibc-fix.patch b/main/strace/uclibc-fix.patch
new file mode 100644
index 0000000000..1265df76ce
--- /dev/null
+++ b/main/strace/uclibc-fix.patch
@@ -0,0 +1,12 @@
+--- ./resource.c.orig 2014-03-26 10:51:41.868389136 +0000
++++ ./resource.c 2014-03-26 10:52:15.395449771 +0000
+@@ -31,7 +31,9 @@
+ #include "defs.h"
+ #include <sys/resource.h>
+ #include <sys/times.h>
++#ifndef __GLIBC__
+ #include <sys/sysinfo.h>
++#endif
+ #include <linux/kernel.h>
+
+ static const struct xlat resources[] = {