- that version didn't build for me.
Update version and make it compile..
This commit is contained in:
parent
56fadb2259
commit
671ddcd2a3
12
package/strace/strace-undef-CTL_PROC.patch
Normal file
12
package/strace/strace-undef-CTL_PROC.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- strace-4.5.12/system.c.oorig 2005-06-01 21:22:06.000000000 +0200
|
||||||
|
+++ strace-4.5.12/system.c 2006-09-28 18:18:31.000000000 +0200
|
||||||
|
@@ -1572,7 +1572,9 @@
|
||||||
|
{ CTL_KERN, "CTL_KERN" },
|
||||||
|
{ CTL_VM, "CTL_VM" },
|
||||||
|
{ CTL_NET, "CTL_NET" },
|
||||||
|
+#ifdef CTL_PROC
|
||||||
|
{ CTL_PROC, "CTL_PROC" },
|
||||||
|
+#endif
|
||||||
|
{ CTL_FS, "CTL_FS" },
|
||||||
|
{ CTL_DEBUG, "CTL_DEBUG" },
|
||||||
|
{ CTL_DEV, "CTL_DEV" },
|
15
package/strace/strace-undef-PACKET_MEMBERSHIP.patch
Normal file
15
package/strace/strace-undef-PACKET_MEMBERSHIP.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- strace-4.5.14/net.c.oorig 2005-07-05 01:33:38.000000000 +0200
|
||||||
|
+++ strace-4.5.14/net.c 2006-10-09 16:35:02.000000000 +0200
|
||||||
|
@@ -800,8 +800,12 @@
|
||||||
|
|
||||||
|
#ifdef SOL_PACKET
|
||||||
|
static const struct xlat sockpacketoptions[] = {
|
||||||
|
+#if defined(PACKET_ADD_MEMBERSHIP)
|
||||||
|
{ PACKET_ADD_MEMBERSHIP, "PACKET_ADD_MEMBERSHIP" },
|
||||||
|
+#endif
|
||||||
|
+#if defined(PACKET_DROP_MEMBERSHIP)
|
||||||
|
{ PACKET_DROP_MEMBERSHIP, "PACKET_DROP_MEMBERSHIP"},
|
||||||
|
+#endif
|
||||||
|
#if defined(PACKET_RECV_OUTPUT)
|
||||||
|
{ PACKET_RECV_OUTPUT, "PACKET_RECV_OUTPUT" },
|
||||||
|
#endif
|
|
@ -3,7 +3,7 @@
|
||||||
# strace
|
# strace
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
STRACE_VER:=4.5.12
|
STRACE_VER:=4.5.14
|
||||||
STRACE_SOURCE:=strace-$(STRACE_VER).tar.bz2
|
STRACE_SOURCE:=strace-$(STRACE_VER).tar.bz2
|
||||||
STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
|
STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
|
||||||
STRACE_CAT:=bzcat
|
STRACE_CAT:=bzcat
|
||||||
|
@ -24,9 +24,10 @@ $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked
|
||||||
(cd $(STRACE_DIR); rm -rf config.cache; \
|
(cd $(STRACE_DIR); rm -rf config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
aaa_ac_cv_header_linux_if_packet_h=yes \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(REAL_GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(REAL_GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--exec-prefix=/usr \
|
--exec-prefix=/usr \
|
||||||
|
|
Loading…
Reference in a new issue