Browse Source

fix musl compile for x86_64

Waldemar Brodkorb 9 years ago
parent
commit
a83ec3eae9

+ 1 - 1
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

+ 10 - 0
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"

+ 10 - 0
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>

+ 10 - 0
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"
+