From 5e0550e2f2fdf37bd2efde8aeb399b1aa2d5e1c8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Dec 2015 00:52:54 +0100 Subject: fix microblaze musl compile --- package/strace/Makefile | 2 +- package/strace/patches/patch-linux_microblaze_userent_h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 package/strace/patches/patch-linux_microblaze_userent_h (limited to 'package/strace') 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" -- cgit v1.2.3