Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2006-11-17 11:52 aldot at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2006-11-17 11:52 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-11-17 03:52:58 -0800 (Fri, 17 Nov 2006)
New Revision: 16557

Log:
- that version didn't build for me.
  Update version and make it compile..


Added:
   trunk/buildroot/package/strace/strace-undef-CTL_PROC.patch
   trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Added: trunk/buildroot/package/strace/strace-undef-CTL_PROC.patch
===================================================================
--- trunk/buildroot/package/strace/strace-undef-CTL_PROC.patch	2006-11-17 11:51:17 UTC (rev 16556)
+++ trunk/buildroot/package/strace/strace-undef-CTL_PROC.patch	2006-11-17 11:52:58 UTC (rev 16557)
@@ -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" },

Added: trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch
===================================================================
--- trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch	2006-11-17 11:51:17 UTC (rev 16556)
+++ trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch	2006-11-17 11:52:58 UTC (rev 16557)
@@ -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

Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2006-11-17 11:51:17 UTC (rev 16556)
+++ trunk/buildroot/package/strace/strace.mk	2006-11-17 11:52:58 UTC (rev 16557)
@@ -3,7 +3,7 @@
 # strace
 #
 #############################################################
-STRACE_VER:=4.5.12
+STRACE_VER:=4.5.14
 STRACE_SOURCE:=strace-$(STRACE_VER).tar.bz2
 STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
 STRACE_CAT:=bzcat
@@ -24,9 +24,10 @@
 	(cd $(STRACE_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS)" \
+		aaa_ac_cv_header_linux_if_packet_h=yes \
 		./configure \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
+		--target=$(REAL_GNU_TARGET_NAME) \
+		--host=$(REAL_GNU_TARGET_NAME) \
 		--build=$(GNU_HOST_NAME) \
 		--prefix=/usr \
 		--exec-prefix=/usr \

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-01-20 12:57 aldot at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2007-01-20 12:57 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-20 04:57:04 -0800 (Sat, 20 Jan 2007)
New Revision: 17395

Log:
- add fix for ARM fake syscall from execve. Closes #626


Added:
   trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch


Changeset:
Added: trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch
===================================================================
--- trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch	2007-01-20 12:57:04 UTC (rev 17395)
@@ -0,0 +1,18 @@
+--- strace-4.5.12-orig/syscall.c	2005-06-08 21:45:28.000000000 +0100
++++ strace-4.5.12/syscall.c	2005-10-25 19:26:39.000000000 +0100
+@@ -1013,6 +1013,15 @@ struct tcb *tcp;
+ 		/*
+ 		 * Note: we only deal with only 32-bit CPUs here.
+ 		 */
++
++		if (!(tcp->flags & TCB_INSYSCALL) &&
++		    (tcp->flags & TCB_WAITEXECVE)) {
++			/* caught a fake syscall from the execve's exit */
++			tcp->flags &= ~TCB_WAITEXECVE;
++			return 0;
++		}
++ 
++
+ 		if (regs.ARM_cpsr & 0x20) {
+ 			/*
+ 			 * Get the Thumb-mode system call number

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-01-29 17:02 aldot at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2007-01-29 17:02 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-29 09:02:31 -0800 (Mon, 29 Jan 2007)
New Revision: 17637

Log:
- bump version and make it behave of LFS is off


Added:
   trunk/buildroot/package/strace/strace-autoreconf.patch
   trunk/buildroot/package/strace/strace-fix-disabled-largefile-syscalls.patch
   trunk/buildroot/package/strace/strace-statfs64-check.patch
   trunk/buildroot/package/strace/strace-superh-update.ac.patch

Removed:
   trunk/buildroot/package/strace/strace-superh-update.patch

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Added: trunk/buildroot/package/strace/strace-autoreconf.patch
===================================================================
--- trunk/buildroot/package/strace/strace-autoreconf.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-autoreconf.patch	2007-01-29 17:02:31 UTC (rev 17637)
@@ -0,0 +1,760 @@
+--- strace-4.5.15.orig/configure	2007-01-29 17:23:38.000000000 +0100
++++ strace-4.5.15/configure	2007-01-29 17:46:54.000000000 +0100
+@@ -956,7 +956,7 @@ esac
+     else
+       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+     fi
+-    cd $ac_popdir
++    cd "$ac_popdir"
+   done
+ fi
+ 
+@@ -2660,8 +2660,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2719,8 +2718,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2836,8 +2834,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2891,8 +2888,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2937,8 +2933,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -2982,8 +2977,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3721,8 +3715,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3786,8 +3779,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -3959,8 +3951,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4032,8 +4023,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4087,8 +4077,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4159,8 +4148,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4214,8 +4202,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4345,8 +4332,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4410,8 +4396,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4454,8 +4439,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4519,8 +4503,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4563,8 +4546,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4628,8 +4610,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4672,8 +4653,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4737,8 +4717,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4781,8 +4760,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4846,8 +4824,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4890,8 +4867,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4955,8 +4931,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -4999,8 +4974,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5064,8 +5038,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5108,8 +5081,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5173,8 +5145,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5217,8 +5188,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5286,8 +5256,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5320,6 +5289,73 @@ _ACEOF
+ 
+ fi
+ 
++echo "$as_me:$LINENO: checking for statfs64 in sys/(statfs|vfs).h" >&5
++echo $ECHO_N "checking for statfs64 in sys/(statfs|vfs).h... $ECHO_C" >&6
++if test "${ac_cv_type_statfs64+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h.  */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h.  */
++#ifdef LINUX
++#include <linux/types.h>
++#include <sys/statfs.h>
++#else
++#include <sys/vfs.h>
++#endif
++int
++main ()
++{
++struct statfs64 st;
++  ;
++  return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++  (eval $ac_compile) 2>conftest.er1
++  ac_status=$?
++  grep -v '^ *+' conftest.er1 >conftest.err
++  rm -f conftest.er1
++  cat conftest.err >&5
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); } &&
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; } &&
++	 { ac_try='test -s conftest.$ac_objext'
++  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++  (eval $ac_try) 2>&5
++  ac_status=$?
++  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++  (exit $ac_status); }; }; then
++  ac_cv_type_statfs64=yes
++else
++  echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++ac_cv_type_statfs64=no
++fi
++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
++fi
++
++echo "$as_me:$LINENO: result: $ac_cv_type_statfs64" >&5
++echo "${ECHO_T}$ac_cv_type_statfs64" >&6
++if test "$ac_cv_type_statfs64" = yes
++then
++
++cat >>confdefs.h <<\_ACEOF
++#define HAVE_STATFS64 1
++_ACEOF
++
++fi
++
+ 
+ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+@@ -5360,8 +5396,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5460,8 +5495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5610,8 +5644,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5668,8 +5701,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5816,8 +5848,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -5968,8 +5999,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6033,8 +6063,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6100,8 +6129,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6147,8 +6175,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6214,8 +6241,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6466,8 +6492,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6532,8 +6557,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6600,8 +6624,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6717,8 +6740,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6812,8 +6834,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -6959,8 +6980,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7020,8 +7040,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7082,8 +7101,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7356,8 +7374,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7401,8 +7418,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7471,8 +7487,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7539,8 +7554,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7585,8 +7599,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7652,8 +7665,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7698,8 +7710,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7767,8 +7778,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7834,8 +7844,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7899,8 +7908,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -7966,8 +7974,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -8032,8 +8039,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -8077,8 +8083,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -8145,8 +8150,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -8218,8 +8222,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -8289,8 +8292,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
+   cat conftest.err >&5
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } &&
+-	 { ac_try='test -z "$ac_c_werror_flag"
+-			 || test ! -s conftest.err'
++	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
+   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+   (eval $ac_try) 2>&5
+   ac_status=$?
+@@ -9293,11 +9295,6 @@ esac
+   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
+   esac
+ 
+-  if test x"$ac_file" != x-; then
+-    { echo "$as_me:$LINENO: creating $ac_file" >&5
+-echo "$as_me: creating $ac_file" >&6;}
+-    rm -f "$ac_file"
+-  fi
+   # Let's still pretend it is `configure' which instantiates (i.e., don't
+   # use $as_me), people would be surprised to read:
+   #    /* config.h.  Generated by config.status.  */
+@@ -9336,6 +9333,12 @@ echo "$as_me: error: cannot find input f
+ 	 fi;;
+       esac
+     done` || { (exit 1); exit 1; }
++
++  if test x"$ac_file" != x-; then
++    { echo "$as_me:$LINENO: creating $ac_file" >&5
++echo "$as_me: creating $ac_file" >&6;}
++    rm -f "$ac_file"
++  fi
+ _ACEOF
+ cat >>$CONFIG_STATUS <<_ACEOF
+   sed "$ac_vpsub

Added: trunk/buildroot/package/strace/strace-fix-disabled-largefile-syscalls.patch
===================================================================
--- trunk/buildroot/package/strace/strace-fix-disabled-largefile-syscalls.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-fix-disabled-largefile-syscalls.patch	2007-01-29 17:02:31 UTC (rev 17637)
@@ -0,0 +1,21 @@
+--- strace-4.5.15.orig/syscall.c	2007-01-29 17:23:38.000000000 +0100
++++ strace-4.5.15/syscall.c	2007-01-29 18:02:17.000000000 +0100
+@@ -125,6 +125,18 @@
+ #define TP TRACE_PROCESS
+ #define TS TRACE_SIGNAL
+ 
++#ifndef HAVE_STATFS64
++/*
++ * Ugly hacks for systems that do not have LFS
++ */
++
++#define sys_truncate64  sys_truncate
++#define sys_ftruncate64 sys_ftruncate
++#define sys_getdents64  sys_getdents
++#define sys_statfs64    sys_statfs
++#define sys_fstatfs64   sys_fstatfs
++#endif
++
+ static const struct sysent sysent0[] = {
+ #include "syscallent.h"
+ };

Added: trunk/buildroot/package/strace/strace-statfs64-check.patch
===================================================================
--- trunk/buildroot/package/strace/strace-statfs64-check.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-statfs64-check.patch	2007-01-29 17:02:31 UTC (rev 17637)
@@ -0,0 +1,53 @@
+diff -dup strace-4.5.15.orig/acinclude.m4 strace-4.5.15/acinclude.m4
+--- strace-4.5.15.orig/acinclude.m4	2004-04-14 04:21:01.000000000 +0200
++++ strace-4.5.15/acinclude.m4	2007-01-29 17:31:37.000000000 +0100
+@@ -210,6 +210,26 @@ then
+ fi
+ ])
+ 
++dnl ### A macro to determine whether statfs64 is defined.
++AC_DEFUN([AC_STATFS64],
++[AC_MSG_CHECKING(for statfs64 in sys/(statfs|vfs).h)
++AC_CACHE_VAL(ac_cv_type_statfs64,
++[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef LINUX
++#include <linux/types.h>
++#include <sys/statfs.h>
++#else
++#include <sys/vfs.h>
++#endif]], [[struct statfs64 st;]])],[ac_cv_type_statfs64=yes],[ac_cv_type_statfs64=no])])
++AC_MSG_RESULT($ac_cv_type_statfs64)
++if test "$ac_cv_type_statfs64" = yes
++then
++	AC_DEFINE([HAVE_STATFS64], 1,
++[Define if statfs64 is available in sys/statfs.h or sys/vfs.h.])
++fi
++])
++
++
++
+ dnl ### A macro to determine if off_t is a long long
+ AC_DEFUN([AC_OFF_T_IS_LONG_LONG],
+ [AC_MSG_CHECKING(for long long off_t)
+diff -dup strace-4.5.15.orig/configure.ac strace-4.5.15/configure.ac
+--- strace-4.5.15.orig/configure.ac	2007-01-11 12:37:55.000000000 +0100
++++ strace-4.5.15/configure.ac	2007-01-29 17:32:02.000000000 +0100
+@@ -169,6 +169,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize
+ 		  struct stat.st_level,
+ 		  struct stat.st_rdev])
+ AC_STAT64
++AC_STATFS64
+ 
+ AC_TYPE_SIGNAL
+ AC_TYPE_UID_T
+diff -dup strace-4.5.15.orig/file.c strace-4.5.15/file.c
+--- strace-4.5.15.orig/file.c	2007-01-15 21:25:52.000000000 +0100
++++ strace-4.5.15/file.c	2007-01-29 17:33:15.000000000 +0100
+@@ -1635,7 +1635,7 @@ struct tcb *tcp;
+ 	return 0;
+ }
+ 
+-#ifdef LINUX
++#ifdef HAVE_STATFS64
+ static void
+ printstatfs64(tcp, addr)
+ struct tcb *tcp;

Added: trunk/buildroot/package/strace/strace-superh-update.ac.patch
===================================================================
--- trunk/buildroot/package/strace/strace-superh-update.ac.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-superh-update.ac.patch	2007-01-29 17:02:31 UTC (rev 17637)
@@ -0,0 +1,22 @@
+--- strace-4.5.15.orig/configure.ac	2007-01-11 12:37:55.000000000 +0100
++++ strace-4.5.15/configure.ac	2007-01-29 17:38:26.000000000 +0100
+@@ -91,14 +91,14 @@ hppa*|parisc*)
+ 	arch=hppa
+ 	AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
+ 	;;
+-sh)
+-	arch=sh
+-	AC_DEFINE([SH], 1, [Define for the SH architecture.])
+-	;;
+ sh64)
+ 	arch=sh64
+ 	AC_DEFINE([SH64], 1, [Define for the SH64 architecture.])
+ 	;;
++sh*)
++	arch=sh
++	AC_DEFINE([SH], 1, [Define for the SH architecture.])
++	;;
+ x86?64*)
+ 	arch=x86_64
+ 	AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])
+

Deleted: trunk/buildroot/package/strace/strace-superh-update.patch
===================================================================
--- trunk/buildroot/package/strace/strace-superh-update.patch	2007-01-29 16:44:43 UTC (rev 17636)
+++ trunk/buildroot/package/strace/strace-superh-update.patch	2007-01-29 17:02:31 UTC (rev 17637)
@@ -1,28 +0,0 @@
---- strace/configure
-+++ strace/configure
-@@ -1993,19 +1993,19 @@
- _ACEOF
- 
- 	;;
--sh)
--	arch=sh
-+sh64)
-+	arch=sh64
- 
- cat >>confdefs.h <<\_ACEOF
--#define SH 1
-+#define SH64 1
- _ACEOF
- 
- 	;;
--sh64)
--	arch=sh64
-+sh*)
-+	arch=sh
- 
- cat >>confdefs.h <<\_ACEOF
--#define SH64 1
-+#define SH 1
- _ACEOF
- 
- 	;;

Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2007-01-29 16:44:43 UTC (rev 17636)
+++ trunk/buildroot/package/strace/strace.mk	2007-01-29 17:02:31 UTC (rev 17637)
@@ -3,12 +3,16 @@
 # strace
 #
 #############################################################
-STRACE_VER:=4.5.14
+STRACE_VER:=4.5.15
 STRACE_SOURCE:=strace-$(STRACE_VER).tar.bz2
 STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
 STRACE_CAT:=$(BZCAT)
 STRACE_DIR:=$(BUILD_DIR)/strace-$(STRACE_VER)
 
+BR2_STRACE_CFLAGS:=
+ifeq ($(BR2_LARGEFILE),)
+BR2_STRACE_CFLAGS+=-U_LARGEFILE64_SOURCE -U__USE_LARGEFILE64 -U__USE_FILE_OFFSET64
+endif
 
 $(DL_DIR)/$(STRACE_SOURCE):
 	 $(WGET) -P $(DL_DIR) $(STRACE_SITE)/$(STRACE_SOURCE)
@@ -18,12 +22,14 @@
 $(STRACE_DIR)/.unpacked: $(DL_DIR)/$(STRACE_SOURCE)
 	$(STRACE_CAT) $(DL_DIR)/$(STRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(STRACE_DIR) package/strace strace\*.patch
+	$(CONFIG_UPDATE) $(STRACE_DIR)
 	touch $(STRACE_DIR)/.unpacked
 
 $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked
 	(cd $(STRACE_DIR); rm -rf config.cache; \
+		$(if $(BR_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) \
 		$(TARGET_CONFIGURE_OPTS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
+		CFLAGS="$(TARGET_CFLAGS) $(BR2_STRACE_CFLAGS)" \
 		aaa_ac_cv_header_linux_if_packet_h=yes \
 		./configure \
 		--target=$(REAL_GNU_TARGET_NAME) \

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-02-04 18:21 aldot at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: aldot at uclibc.org @ 2007-02-04 18:21 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-04 10:21:58 -0800 (Sun, 04 Feb 2007)
New Revision: 17767

Log:
- account for some more possibly unavailable syscalls


Modified:
   trunk/buildroot/package/strace/strace-undef-syscall.patch


Changeset:
Modified: trunk/buildroot/package/strace/strace-undef-syscall.patch
===================================================================
--- trunk/buildroot/package/strace/strace-undef-syscall.patch	2007-02-04 17:24:53 UTC (rev 17766)
+++ trunk/buildroot/package/strace/strace-undef-syscall.patch	2007-02-04 18:21:58 UTC (rev 17767)
@@ -13,3 +13,50 @@
  	{ 4,	0,	printargs,		"lookup_dcookie"}, /* 253 */
  	{ 1,	0,	sys_epoll_create,	"epoll_create"	}, /* 254 */
  	{ 4,	0,	sys_epoll_ctl,		"epoll_ctl"	}, /* 255 */
+--- strace-4.5.15.orig/linux/syscallent.h	2007-02-04 19:03:48.000000000 +0100
++++ strace-4.5.15/linux/syscallent.h	2007-02-04 19:11:04.000000000 +0100
+@@ -130,7 +130,10 @@
+ 	{ 2,	TF,	sys_statfs,		"statfs"	}, /* 99 */
+ 	{ 2,	TD,	sys_fstatfs,		"fstatfs"	}, /* 100 */
+ 	{ 3,	0,	sys_ioperm,		"ioperm"	}, /* 101 */
+-	{ 2,	TD,	sys_socketcall,		"socketcall", SYS_socketcall }, /* 102 */
++	{ 2,	TD,	sys_socketcall,		"socketcall",
++#ifdef __NR_socketcall
++	SYS_socketcall }, /* 102 */
++#endif
+ 	{ 3,	0,	sys_syslog,		"syslog"	}, /* 103 */
+ 	{ 3,	0,	sys_setitimer,		"setitimer"	}, /* 104 */
+ 	{ 2,	0,	sys_getitimer,		"getitimer"	}, /* 105 */
+@@ -145,7 +148,10 @@
+ 	{ 4,	TP,	sys_wait4,		"wait4", SYS_wait4 }, /* 114 */
+ 	{ 1,	0,	sys_swapoff,		"swapoff"	}, /* 115 */
+ 	{ 1,	0,	sys_sysinfo,		"sysinfo"	}, /* 116 */
+-	{ 6,	0,	sys_ipc,		"ipc", SYS_ipc }, /* 117 */
++	{ 6,	0,	sys_ipc,		"ipc",
++#ifdef __NR_ipc
++	SYS_ipc }, /* 117 */
++#endif
+ 	{ 1,	TD,	sys_fsync,		"fsync"		}, /* 118 */
+ 	{ 1,	TS,	sys_sigreturn,		"sigreturn"	}, /* 119 */
+ 	{ 5,	TP,	sys_clone,		"clone", SYS_clone }, /* 120 */
+--- strace-4.5.15.orig/syscall.c	2007-02-04 19:03:48.000000000 +0100
++++ strace-4.5.15/syscall.c	2007-02-04 19:07:26.000000000 +0100
+@@ -2404,14 +2404,18 @@
+ 	switch (known_scno(tcp)) {
+ #ifdef LINUX
+ #if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
++#ifdef __NR_socketcall
+ 	case SYS_socketcall:
+ 		decode_subcall(tcp, SYS_socket_subcall,
+ 			SYS_socket_nsubcalls, deref_style);
+ 		break;
++#endif
++#ifdef __NR_ipc
+ 	case SYS_ipc:
+ 		decode_subcall(tcp, SYS_ipc_subcall,
+ 			SYS_ipc_nsubcalls, shift_style);
+ 		break;
++#endif
+ #endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA */
+ #if defined (SPARC) || defined (SPARC64)
+ 	case SYS_socketcall:

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-02-06 18:12 sjhill at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: sjhill at uclibc.org @ 2007-02-06 18:12 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-02-06 10:12:22 -0800 (Tue, 06 Feb 2007)
New Revision: 17797

Log:
When cleaning, get rid of the binary from the filesystem area too.


Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2007-02-06 18:11:59 UTC (rev 17796)
+++ trunk/buildroot/package/strace/strace.mk	2007-02-06 18:12:22 UTC (rev 17797)
@@ -66,6 +66,7 @@
 strace: uclibc $(TARGET_DIR)/usr/bin/strace 
 
 strace-clean: 
+	rm -f $(TARGET_DIR)/usr/bin/strace
 	$(MAKE) -C $(STRACE_DIR) clean
 
 strace-dirclean: 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-02-07  2:51 sjhill at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: sjhill at uclibc.org @ 2007-02-07  2:51 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-02-06 18:51:45 -0800 (Tue, 06 Feb 2007)
New Revision: 17804

Log:
Fix building of strace for MIPS.


Added:
   trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch


Changeset:
Added: trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch
===================================================================
--- trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch	2007-02-07 02:51:45 UTC (rev 17804)
@@ -0,0 +1,12 @@
+diff -ur strace-4.5.15/signal.c strace-4.5.15-patched/signal.c
+--- strace-4.5.15/signal.c	2007-01-11 16:08:38.000000000 -0600
++++ strace-4.5.15-patched/signal.c	2007-02-06 20:49:34.714320249 -0600
+@@ -1440,7 +1440,7 @@
+ 	  	tcp->u_rval = tcp->u_error = 0;
+ 		if(tcp->u_arg[0] == 0)
+ 		  	return 0;
+-		tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]);
++		tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0);
+ 		return RVAL_NONE | RVAL_STR;
+ 	}
+ 	return 0;

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-07-23 10:26 ulf at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: ulf at uclibc.org @ 2007-07-23 10:26 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-23 03:26:23 -0700 (Mon, 23 Jul 2007)
New Revision: 19213

Log:
Add AVR32 support for strace

Added:
   trunk/buildroot/package/strace/strace-avr32.patch

Modified:
   trunk/buildroot/package/strace/strace-undef-syscall.patch


Changeset:

Sorry, the patch is too large to include (2128 lines).
Please use ViewCVS to see it!

http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=19213

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
  2007-07-24 17:59 aldot at uclibc.org
@ 2007-07-24 17:56 ` Yann E. MORIN
  0 siblings, 0 replies; 19+ messages in thread
From: Yann E. MORIN @ 2007-07-24 17:56 UTC (permalink / raw)
  To: buildroot

On Tuesday 24 July 2007 19:59, aldot at uclibc.org wrote:
> Author: aldot
> Log:
> - fix brackets if socketcall or ipc are not available (Yann E. MORIN)
> Modified:
>    trunk/buildroot/package/strace/strace-undef-syscall.patch

Thank you Bernhard!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< ?_? >==-- ?------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
?------------------------------?-------?------------------?--------------------?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-07-24 17:59 aldot at uclibc.org
  2007-07-24 17:56 ` Yann E. MORIN
  0 siblings, 1 reply; 19+ messages in thread
From: aldot at uclibc.org @ 2007-07-24 17:59 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-24 10:59:15 -0700 (Tue, 24 Jul 2007)
New Revision: 19254

Log:
- fix brackets if socketcall or ipc are not available (Yann E. MORIN)


Modified:
   trunk/buildroot/package/strace/strace-undef-syscall.patch


Changeset:
Modified: trunk/buildroot/package/strace/strace-undef-syscall.patch
===================================================================
--- trunk/buildroot/package/strace/strace-undef-syscall.patch	2007-07-24 17:48:58 UTC (rev 19253)
+++ trunk/buildroot/package/strace/strace-undef-syscall.patch	2007-07-24 17:59:15 UTC (rev 19254)
@@ -15,27 +15,29 @@
  	{ 4,	0,	sys_epoll_ctl,		"epoll_ctl"	}, /* 255 */
 --- strace-4.5.15.orig/linux/syscallent.h	2007-02-04 19:03:48.000000000 +0100
 +++ strace-4.5.15/linux/syscallent.h	2007-02-04 19:11:04.000000000 +0100
-@@ -130,7 +130,10 @@
+@@ -130,7 +130,11 @@
  	{ 2,	TF,	sys_statfs,		"statfs"	}, /* 99 */
  	{ 2,	TD,	sys_fstatfs,		"fstatfs"	}, /* 100 */
  	{ 3,	0,	sys_ioperm,		"ioperm"	}, /* 101 */
 -	{ 2,	TD,	sys_socketcall,		"socketcall", SYS_socketcall }, /* 102 */
-+	{ 2,	TD,	sys_socketcall,		"socketcall",
++	{ 2,	TD,	sys_socketcall,		"socketcall"
 +#ifdef __NR_socketcall
-+	SYS_socketcall }, /* 102 */
++	    , SYS_socketcall
 +#endif
++								}, /* 102 */
  	{ 3,	0,	sys_syslog,		"syslog"	}, /* 103 */
  	{ 3,	0,	sys_setitimer,		"setitimer"	}, /* 104 */
  	{ 2,	0,	sys_getitimer,		"getitimer"	}, /* 105 */
-@@ -145,7 +148,10 @@
+@@ -145,7 +149,11 @@
  	{ 4,	TP,	sys_wait4,		"wait4", SYS_wait4 }, /* 114 */
  	{ 1,	0,	sys_swapoff,		"swapoff"	}, /* 115 */
  	{ 1,	0,	sys_sysinfo,		"sysinfo"	}, /* 116 */
 -	{ 6,	0,	sys_ipc,		"ipc", SYS_ipc }, /* 117 */
-+	{ 6,	0,	sys_ipc,		"ipc",
++	{ 6,	0,	sys_ipc,		"ipc"
 +#ifdef __NR_ipc
-+	SYS_ipc }, /* 117 */
++	    , SYS_ipc
 +#endif
++								}, /* 117 */
  	{ 1,	TD,	sys_fsync,		"fsync"		}, /* 118 */
  	{ 1,	TS,	sys_sigreturn,		"sigreturn"	}, /* 119 */
  	{ 5,	TP,	sys_clone,		"clone", SYS_clone }, /* 120 */

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2007-11-03  7:23 ulf at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: ulf at uclibc.org @ 2007-11-03  7:23 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-11-03 00:23:18 -0700 (Sat, 03 Nov 2007)
New Revision: 20355

Log:
Fix strace build for AVR32

Modified:
   trunk/buildroot/package/strace/strace-autoreconf.patch
   trunk/buildroot/package/strace/strace-undef-syscall.patch


Changeset:

Sorry, the patch is too large to include (11510 lines).
Please use ViewCVS to see it!

http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=20355

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-03-24 19:29 nkukard at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: nkukard at uclibc.org @ 2008-03-24 19:29 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-24 12:29:34 -0700 (Mon, 24 Mar 2008)
New Revision: 21476

Log:
* Strace requires both if_packet.h and netlink.h
- Force detection of these in configure by supplying environment 
  variables

For them to be detected by configure may require a much more 
invasive approach by patching configure.ac and regenerating
apon build.



Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2008-03-24 19:23:37 UTC (rev 21475)
+++ trunk/buildroot/package/strace/strace.mk	2008-03-24 19:29:34 UTC (rev 21476)
@@ -31,7 +31,8 @@
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
 		CFLAGS="$(TARGET_CFLAGS) $(BR2_STRACE_CFLAGS)" \
-		aaa_ac_cv_header_linux_if_packet_h=yes \
+		ac_cv_header_linux_if_packet_h=yes \
+		ac_cv_header_linux_netlink_h=yes \
 		./configure \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--host=$(REAL_GNU_TARGET_NAME) \

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-04-24  9:03 jacmet at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-04-24  9:03 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-24 02:03:19 -0700 (Thu, 24 Apr 2008)
New Revision: 21822

Log:
strace: use .patch.$ARCH naming convention


Added:
   trunk/buildroot/package/strace/strace-arch.patch.avr32
   trunk/buildroot/package/strace/strace-autoreconf.patch.avr32
   trunk/buildroot/package/strace/strace-undef-syscall.patch.avr32

Removed:
   trunk/buildroot/package/strace/strace-autoreconf.patch
   trunk/buildroot/package/strace/strace-avr32.patch
   trunk/buildroot/package/strace/strace-undef-syscall.patch

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:

Sorry, the patch is too large to include (26582 lines).
Please use ViewCVS to see it!

http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=21822

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-08-04 19:06 jacmet at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-08-04 19:06 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-04 12:06:10 -0700 (Mon, 04 Aug 2008)
New Revision: 23014

Log:
strace: fix LARGEFILE typo

Patch by Claus Klein.

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2008-08-04 19:04:05 UTC (rev 23013)
+++ trunk/buildroot/package/strace/strace.mk	2008-08-04 19:06:10 UTC (rev 23014)
@@ -28,7 +28,7 @@
 
 $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked
 	(cd $(STRACE_DIR); rm -rf config.cache; \
-		$(if $(BR_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) \
+		$(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
 		CFLAGS="$(TARGET_CFLAGS) $(BR2_STRACE_CFLAGS)" \

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-08-04 19:07 jacmet at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-08-04 19:07 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-04 12:07:38 -0700 (Mon, 04 Aug 2008)
New Revision: 23024

Log:
strace: also remove from target-utils on clean

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2008-08-04 19:07:36 UTC (rev 23023)
+++ trunk/buildroot/package/strace/strace.mk	2008-08-04 19:07:38 UTC (rev 23024)
@@ -64,7 +64,8 @@
 strace: uclibc $(TARGET_DIR)/usr/bin/strace
 
 strace-clean:
-	rm -f $(TARGET_DIR)/usr/bin/strace
+	rm -f $(TARGET_DIR)/usr/bin/strace \
+	      $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/strace
 	-$(MAKE) -C $(STRACE_DIR) clean
 
 strace-dirclean:

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-08-04 19:07 jacmet at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-08-04 19:07 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-04 12:07:41 -0700 (Mon, 04 Aug 2008)
New Revision: 23025

Log:
strace: convert to makefile.autotools.in format

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2008-08-04 19:07:38 UTC (rev 23024)
+++ trunk/buildroot/package/strace/strace.mk	2008-08-04 19:07:41 UTC (rev 23025)
@@ -6,77 +6,24 @@
 STRACE_VERSION:=4.5.15
 STRACE_SOURCE:=strace-$(STRACE_VERSION).tar.bz2
 STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
-STRACE_CAT:=$(BZCAT)
-STRACE_DIR:=$(BUILD_DIR)/strace-$(STRACE_VERSION)
+STRACE_AUTORECONF:=no
+STRACE_INSTALL_STAGING:=NO
+STRACE_INSTALL_TARGET:=YES
 
-$(DL_DIR)/$(STRACE_SOURCE):
-	 $(WGET) -P $(DL_DIR) $(STRACE_SITE)/$(STRACE_SOURCE)
+STRACE_DEPENDENCIES:=uclibc
 
-strace-source: $(DL_DIR)/$(STRACE_SOURCE)
+STRACE_CONF_ENV:= ac_cv_header_linux_if_packet_h=yes \
+		  ac_cv_header_linux_netlink_h=yes \
+	          $(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no)
 
-$(STRACE_DIR)/.unpacked: $(DL_DIR)/$(STRACE_SOURCE)
-	$(STRACE_CAT) $(DL_DIR)/$(STRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(STRACE_DIR) package/strace \
-		strace\*.patch strace\*.patch.$(ARCH)
-	$(CONFIG_UPDATE) $(STRACE_DIR)
-	touch $(STRACE_DIR)/.unpacked
+$(eval $(call AUTOTARGETS,package,strace))
 
-$(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked
-	(cd $(STRACE_DIR); rm -rf config.cache; \
-		$(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		CFLAGS="$(TARGET_CFLAGS)" \
-		ac_cv_header_linux_if_packet_h=yes \
-		ac_cv_header_linux_netlink_h=yes \
-		./configure \
-		--target=$(REAL_GNU_TARGET_NAME) \
-		--host=$(REAL_GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
-		--exec-prefix=/usr \
-		--bindir=/usr/bin \
-		--sbindir=/usr/sbin \
-		--libdir=/lib \
-		--libexecdir=/usr/lib \
-		--sysconfdir=/etc \
-		--datadir=/usr/share \
-		--localstatedir=/var \
-		--mandir=/usr/man \
-		--infodir=/usr/info \
-		$(DISABLE_NLS) \
-		$(DISABLE_LARGEFILE) \
-	)
-	touch $(STRACE_DIR)/.configured
-
-$(STRACE_DIR)/strace: $(STRACE_DIR)/.configured
-	$(MAKE) CC=$(TARGET_CC) -C $(STRACE_DIR)
-
-$(TARGET_DIR)/usr/bin/strace: $(STRACE_DIR)/strace
-	install -c $(STRACE_DIR)/strace $(TARGET_DIR)/usr/bin/strace
-	$(STRIPCMD) $(TARGET_DIR)/usr/bin/strace > /dev/null 2>&1
+$(STRACE_HOOK_POST_INSTALL): $(STRACE_TARGET_INSTALL_TARGET)
+	$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/strace
+	rm -f $(TARGET_DIR)/usr/bin/strace-graph
 ifeq ($(strip $(BR2_CROSS_TOOLCHAIN_TARGET_UTILS)),y)
 	mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils
 	install -c $(TARGET_DIR)/usr/bin/strace \
 		$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/strace
 endif
-
-strace: uclibc $(TARGET_DIR)/usr/bin/strace
-
-strace-clean:
-	rm -f $(TARGET_DIR)/usr/bin/strace \
-	      $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils/strace
-	-$(MAKE) -C $(STRACE_DIR) clean
-
-strace-dirclean:
-	rm -rf $(STRACE_DIR)
-
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_STRACE)),y)
-TARGETS+=strace
-endif
+	touch $@

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-10-20  9:04 jacmet at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-10-20  9:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-10-20 02:04:49 -0700 (Mon, 20 Oct 2008)
New Revision: 23735

Log:
strace: bump version

Fixes build with 2.6.27 kernel headers

Removed:
   trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch
   trunk/buildroot/package/strace/strace-superh-update.ac.patch
   trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch

Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Deleted: trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch
===================================================================
--- trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch	2008-10-20 08:59:03 UTC (rev 23734)
+++ trunk/buildroot/package/strace/strace-mips-sprintsigmask-fix.patch	2008-10-20 09:04:49 UTC (rev 23735)
@@ -1,12 +0,0 @@
-diff -ur strace-4.5.15/signal.c strace-4.5.15-patched/signal.c
---- strace-4.5.15/signal.c	2007-01-11 16:08:38.000000000 -0600
-+++ strace-4.5.15-patched/signal.c	2007-02-06 20:49:34.714320249 -0600
-@@ -1440,7 +1440,7 @@
- 	  	tcp->u_rval = tcp->u_error = 0;
- 		if(tcp->u_arg[0] == 0)
- 		  	return 0;
--		tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]);
-+		tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0);
- 		return RVAL_NONE | RVAL_STR;
- 	}
- 	return 0;

Deleted: trunk/buildroot/package/strace/strace-superh-update.ac.patch
===================================================================
--- trunk/buildroot/package/strace/strace-superh-update.ac.patch	2008-10-20 08:59:03 UTC (rev 23734)
+++ trunk/buildroot/package/strace/strace-superh-update.ac.patch	2008-10-20 09:04:49 UTC (rev 23735)
@@ -1,22 +0,0 @@
---- strace-4.5.15.orig/configure.ac	2007-01-11 12:37:55.000000000 +0100
-+++ strace-4.5.15/configure.ac	2007-01-29 17:38:26.000000000 +0100
-@@ -91,14 +91,14 @@ hppa*|parisc*)
- 	arch=hppa
- 	AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
- 	;;
--sh)
--	arch=sh
--	AC_DEFINE([SH], 1, [Define for the SH architecture.])
--	;;
- sh64)
- 	arch=sh64
- 	AC_DEFINE([SH64], 1, [Define for the SH64 architecture.])
- 	;;
-+sh*)
-+	arch=sh
-+	AC_DEFINE([SH], 1, [Define for the SH architecture.])
-+	;;
- x86?64*)
- 	arch=x86_64
- 	AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])
-

Deleted: trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch
===================================================================
--- trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch	2008-10-20 08:59:03 UTC (rev 23734)
+++ trunk/buildroot/package/strace/strace-undef-PACKET_MEMBERSHIP.patch	2008-10-20 09:04:49 UTC (rev 23735)
@@ -1,15 +0,0 @@
---- 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

Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2008-10-20 08:59:03 UTC (rev 23734)
+++ trunk/buildroot/package/strace/strace.mk	2008-10-20 09:04:49 UTC (rev 23735)
@@ -3,7 +3,7 @@
 # strace
 #
 #############################################################
-STRACE_VERSION:=4.5.15
+STRACE_VERSION:=4.5.18
 STRACE_SOURCE:=strace-$(STRACE_VERSION).tar.bz2
 STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
 STRACE_AUTORECONF:=no

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-12-01 13:49 egtvedt at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-01 13:49 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-12-01 05:49:23 -0800 (Mon, 01 Dec 2008)
New Revision: 24215

Log:
strace: fix lower case no to NO when setting STRACE_AUTORECONF

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/package/strace/strace.mk


Changeset:
Modified: trunk/buildroot/package/strace/strace.mk
===================================================================
--- trunk/buildroot/package/strace/strace.mk	2008-12-01 13:33:33 UTC (rev 24214)
+++ trunk/buildroot/package/strace/strace.mk	2008-12-01 13:49:23 UTC (rev 24215)
@@ -6,7 +6,7 @@
 STRACE_VERSION:=4.5.18
 STRACE_SOURCE:=strace-$(STRACE_VERSION).tar.bz2
 STRACE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
-STRACE_AUTORECONF:=no
+STRACE_AUTORECONF:=NO
 STRACE_INSTALL_STAGING:=NO
 STRACE_INSTALL_TARGET:=YES
 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2008-12-22 22:10 jacmet at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: jacmet at uclibc.org @ 2008-12-22 22:10 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-12-22 22:10:38 +0000 (Mon, 22 Dec 2008)
New Revision: 24513

Log:
strace: fix build on ARM (no <asm/cachectl.h>)

Added:
   trunk/buildroot/package/strace/strace-arm-no-cachectl.patch


Changeset:
Added: trunk/buildroot/package/strace/strace-arm-no-cachectl.patch
===================================================================
--- trunk/buildroot/package/strace/strace-arm-no-cachectl.patch	                        (rev 0)
+++ trunk/buildroot/package/strace/strace-arm-no-cachectl.patch	2008-12-22 22:10:38 UTC (rev 24513)
@@ -0,0 +1,21 @@
+ARM defines SYS_cacheflush, but doesn't have <asm/cachectl.h>
+---
+ system.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+Index: strace-4.5.18/system.c
+===================================================================
+--- strace-4.5.18.orig/system.c
++++ strace-4.5.18/system.c
+@@ -70,9 +70,11 @@
+ #include <linux/capability.h>
+ #endif
+ 
++#ifndef ARM
+ #ifdef SYS_cacheflush
+ #include <asm/cachectl.h>
+ #endif
++#endif
+ 
+ #ifdef HAVE_LINUX_USTNAME_H
+ #include <linux/utsname.h>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/strace
@ 2009-01-08  9:24 egtvedt at uclibc.org
  0 siblings, 0 replies; 19+ messages in thread
From: egtvedt at uclibc.org @ 2009-01-08  9:24 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2009-01-08 09:24:32 +0000 (Thu, 08 Jan 2009)
New Revision: 24719

Log:
strace: fix AVR32 arch patches and refresh all patches to apply clean

This patch updates the AVR32 arch patches for strace 4.5.18 and refreshes all
the other patches so they apply clean.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Removed:
   trunk/buildroot/package/strace/strace-undef-syscall.patch.avr32

Modified:
   trunk/buildroot/package/strace/strace-arch.patch.avr32
   trunk/buildroot/package/strace/strace-arm-no-cachectl.patch
   trunk/buildroot/package/strace/strace-autoreconf.patch.avr32
   trunk/buildroot/package/strace/strace-dont-use-REG_SYSCALL-for-sh.patch
   trunk/buildroot/package/strace/strace-fix-arm-bad-syscall.patch
   trunk/buildroot/package/strace/strace-fix-disabled-largefile-syscalls.patch
   trunk/buildroot/package/strace/strace-statfs64-check.patch
   trunk/buildroot/package/strace/strace-undef-CTL_PROC.patch


Changeset:

Sorry, the patch is too large to include (11597 lines).
Please use ViewCVS to see it!

http://uclibc.org/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=24719

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-01-08  9:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 19:06 [Buildroot] svn commit: trunk/buildroot/package/strace jacmet at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-01-08  9:24 egtvedt at uclibc.org
2008-12-22 22:10 jacmet at uclibc.org
2008-12-01 13:49 egtvedt at uclibc.org
2008-10-20  9:04 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-04-24  9:03 jacmet at uclibc.org
2008-03-24 19:29 nkukard at uclibc.org
2007-11-03  7:23 ulf at uclibc.org
2007-07-24 17:59 aldot at uclibc.org
2007-07-24 17:56 ` Yann E. MORIN
2007-07-23 10:26 ulf at uclibc.org
2007-02-07  2:51 sjhill at uclibc.org
2007-02-06 18:12 sjhill at uclibc.org
2007-02-04 18:21 aldot at uclibc.org
2007-01-29 17:02 aldot at uclibc.org
2007-01-20 12:57 aldot at uclibc.org
2006-11-17 11:52 aldot at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox