]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
strace: Update to 4.5.19.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Mar 2010 08:38:27 +0000 (09:38 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Mar 2010 08:38:27 +0000 (09:38 +0100)
This fixes compiling issues with the current kernel.

pkgs/core/strace/patches/strace-4.5.19-fix-kernel-headers.patch [new file with mode: 0644]
pkgs/core/strace/strace.nm

diff --git a/pkgs/core/strace/patches/strace-4.5.19-fix-kernel-headers.patch b/pkgs/core/strace/patches/strace-4.5.19-fix-kernel-headers.patch
new file mode 100644 (file)
index 0000000..98cfb95
--- /dev/null
@@ -0,0 +1,30 @@
+
+From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560516
+
+This bug is due to linux header changes. The following patch, from
+upstream, fixes the problem:
+
+diff -Nru strace-4.5.19/configure strace-4.5.19/configure
+--- strace-4.5.19/configure    2009-10-21 19:41:11.000000000 +0200
++++ strace-4.5.19/configure    2010-01-26 08:47:33.000000000 +0100
+@@ -5880,7 +5880,7 @@
+ do :
+   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <stddef.h>
+-#include <linux/socket.h>
++#include <sys/socket.h>
+ "
+ eval as_val=\$$as_ac_Header
+    if test "x$as_val" = x""yes; then :
+diff -Nru strace-4.5.19/configure.ac strace-4.5.19/configure.ac
+--- strace-4.5.19/configure.ac 2009-10-12 21:54:43.000000000 +0200
++++ strace-4.5.19/configure.ac 2010-01-26 08:47:18.000000000 +0100
+@@ -258,7 +258,7 @@
+ ], [], [])
+ AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
+                  [], [], [#include <stddef.h>
+-#include <linux/socket.h>])
++#include <sys/socket.h>])
+ AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
+ AC_CHECK_TYPES([struct sigcontext_struct,
+               struct sigcontext],,, [#include <signal.h>])
index 2209a0b5f5fc62eec7a9f7ca362aff29ec33c681..95ee41ad3f1ab2f840417513c70b1bec51aa6937 100644 (file)
@@ -25,7 +25,7 @@
 include $(PKGROOT)/Include
 
 PKG_NAME       = strace
-PKG_VER        = 4.5.18
+PKG_VER        = 4.5.19
 PKG_REL        = 0
 
 PKG_MAINTAINER =