summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-11 19:30:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-11 19:31:02 +0200
commita83ec3eae9b5de021a31c0de456b51784ff1dd7c (patch)
tree9ab0a7b3e07737545b00ee35142b343642312bab /package
parentefbbee334e940d9f9c7634c27ed5604d42c137b0 (diff)
fix musl compile for x86_64
Diffstat (limited to 'package')
-rw-r--r--package/strace/Makefile2
-rw-r--r--package/strace/patches/patch-evdev_c10
-rw-r--r--package/strace/patches/patch-mknod_c10
-rw-r--r--package/strace/patches/patch-printmode_c10
4 files changed, 31 insertions, 1 deletions
diff --git a/package/strace/Makefile b/package/strace/Makefile
index 960e300e6..f47f248d6 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= strace
PKG_VERSION:= 4.10
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_HASH:= e6180d866ef9e76586b96e2ece2bfeeb3aa23f5cc88153f76e9caedd65e40ee2
PKG_DESCR:= system call trace program
PKG_SECTION:= app/debug
diff --git a/package/strace/patches/patch-evdev_c b/package/strace/patches/patch-evdev_c
new file mode 100644
index 000000000..4716465ec
--- /dev/null
+++ b/package/strace/patches/patch-evdev_c
@@ -0,0 +1,10 @@
+--- strace-4.10.orig/evdev.c 2015-02-22 03:29:55.000000000 +0100
++++ strace-4.10/evdev.c 2015-10-11 19:28:08.616071631 +0200
+@@ -29,6 +29,7 @@
+ #include "defs.h"
+
+ #ifdef HAVE_LINUX_INPUT_H
++#include <linux/ioctl.h>
+ #include <linux/input.h>
+ #include "xlat/evdev_abs.h"
+ #include "xlat/evdev_autorepeat.h"
diff --git a/package/strace/patches/patch-mknod_c b/package/strace/patches/patch-mknod_c
new file mode 100644
index 000000000..18ea45216
--- /dev/null
+++ b/package/strace/patches/patch-mknod_c
@@ -0,0 +1,10 @@
+--- strace-4.10.orig/mknod.c 2014-12-11 22:39:12.000000000 +0100
++++ strace-4.10/mknod.c 2015-10-11 19:28:37.778138601 +0200
+@@ -1,6 +1,7 @@
+ #include "defs.h"
+
+ #include <fcntl.h>
++#include <sys/stat.h>
+
+ #ifdef MAJOR_IN_SYSMACROS
+ # include <sys/sysmacros.h>
diff --git a/package/strace/patches/patch-printmode_c b/package/strace/patches/patch-printmode_c
new file mode 100644
index 000000000..517fb124c
--- /dev/null
+++ b/package/strace/patches/patch-printmode_c
@@ -0,0 +1,10 @@
+--- strace-4.10.orig/printmode.c 2014-12-11 22:39:02.000000000 +0100
++++ strace-4.10/printmode.c 2015-10-11 19:29:01.988533795 +0200
+@@ -1,6 +1,7 @@
+ #include "defs.h"
+
+ #include <fcntl.h>
++#include <sys/stat.h>
+
+ #include "xlat/modetypes.h"
+