diff --git a/srcpkgs/strace/patches/arm.patch b/srcpkgs/strace/patches/arm.patch deleted file mode 100644 index c7302637431..00000000000 --- a/srcpkgs/strace/patches/arm.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- defs.h -+++ defs.h -@@ -159,6 +159,10 @@ - # include - #endif - -+#if defined(ARM) -+# include -+#endif -+ - #if defined(POWERPC) - # include - #endif diff --git a/srcpkgs/strace/patches/musl.patch b/srcpkgs/strace/patches/musl.patch new file mode 100644 index 00000000000..6fba76bb8d5 --- /dev/null +++ b/srcpkgs/strace/patches/musl.patch @@ -0,0 +1,53 @@ +--- resource.c ++++ resource.c +@@ -31,6 +31,7 @@ + #include "defs.h" + #include + #include ++#include + #include + + #include "xlat/resources.h" + +--- resource.c 2015-05-09 09:40:18.766000000 +0000 ++++ resource.c 2015-05-09 09:39:45.556000000 +0000 +@@ -32,7 +32,6 @@ + #include + #include + #include +-#include + + #include "xlat/resources.h" + +--- evdev.c 2015-02-22 02:29:55.000000000 +0000 ++++ evdev.c 2015-05-09 09:38:40.513000000 +0000 +@@ -28,6 +28,8 @@ + + #include "defs.h" + ++#include /* _IOC_NR */ ++ + #ifdef HAVE_LINUX_INPUT_H + #include + #include "xlat/evdev_abs.h" + +--- mknod.c 2014-12-11 21:39:12.000000000 +0000 ++++ mknod.c 2015-05-09 09:39:12.946000000 +0000 +@@ -1,5 +1,6 @@ + #include "defs.h" + ++#include /* S_IFMT */ + #include + + #ifdef MAJOR_IN_SYSMACROS + +--- printmode.c 2014-12-11 21:39:02.000000000 +0000 ++++ printmode.c 2015-05-09 09:39:32.993000000 +0000 +@@ -1,5 +1,6 @@ + #include "defs.h" + ++#include /* S_IFMT */ + #include + + #include "xlat/modetypes.h" + diff --git a/srcpkgs/strace/patches/sysinfo.patch b/srcpkgs/strace/patches/sysinfo.patch deleted file mode 100644 index 38472d450bf..00000000000 --- a/srcpkgs/strace/patches/sysinfo.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- resource.c -+++ resource.c -@@ -31,6 +31,7 @@ - #include "defs.h" - #include - #include -+#include - #include - - #include "xlat/resources.h" diff --git a/srcpkgs/strace/template b/srcpkgs/strace/template index b3c80d350b1..e12667b7fe5 100644 --- a/srcpkgs/strace/template +++ b/srcpkgs/strace/template @@ -1,7 +1,7 @@ # Template file for 'strace' pkgname=strace version=4.10 -revision=2 +revision=3 build_pie=yes build_style=gnu-configure configure_args="--enable-libunwind"