summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-23 00:52:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-23 00:53:17 +0100
commit5e0550e2f2fdf37bd2efde8aeb399b1aa2d5e1c8 (patch)
tree0bcc7f1c60965607e7d4fe51edd664d57e86a5a2
parentbc16e47b3119108015b4fc776997aa8cca992414 (diff)
fix microblaze musl compile
-rw-r--r--package/strace/Makefile2
-rw-r--r--package/strace/patches/patch-linux_microblaze_userent_h8
2 files changed, 9 insertions, 1 deletions
diff --git a/package/strace/Makefile b/package/strace/Makefile
index 751f1e7c1..c53d2bb7d 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= strace
PKG_VERSION:= 4.11
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= e86a5f6cd8f941f67f3e4b28f4e60f3d9185c951cf266404533210a2e5cd8152
PKG_DESCR:= system call trace program
PKG_SECTION:= app/debug
diff --git a/package/strace/patches/patch-linux_microblaze_userent_h b/package/strace/patches/patch-linux_microblaze_userent_h
new file mode 100644
index 000000000..a745391d5
--- /dev/null
+++ b/package/strace/patches/patch-linux_microblaze_userent_h
@@ -0,0 +1,8 @@
+--- strace-4.11.orig/linux/microblaze/userent.h 2014-12-11 20:25:02.000000000 +0100
++++ strace-4.11/linux/microblaze/userent.h 2015-12-23 00:36:02.999222779 +0100
+@@ -36,5 +36,3 @@
+ { PT_ESR, "resr", },
+ { PT_FSR, "rfsr", },
+ { PT_KERNEL_MODE, "kernel_mode", },
+-/* Other fields in "struct user" */
+-#include "../userent0.h"