sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Eric Sandall (3cb8d5aa8ff5ddf81e58ac2328606d7cb5e5a2e7)
- From: Eric Sandall <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (3cb8d5aa8ff5ddf81e58ac2328606d7cb5e5a2e7)
- Date: Thu, 18 Feb 2010 00:17:18 -0600
GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:
devel/strace/DEPENDS | 1 +
devel/strace/HISTORY | 7 +++++++
devel/strace/PRE_BUILD | 4 ++++
devel/strace/headers-2.6.32.patch | 30 ++++++++++++++++++++++++++++++
4 files changed, 42 insertions(+)
New commits:
commit 3cb8d5aa8ff5ddf81e58ac2328606d7cb5e5a2e7
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
strace: Depends on autoconf for `autoreconf`
Apply headers-2.6.32.patch and run `autoreconf`
Patch from
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
Fixes compilation with 2.6.32 kernel headers (Bug #15580)
diff --git a/devel/strace/DEPENDS b/devel/strace/DEPENDS
new file mode 100755
index 0000000..5584a0a
--- /dev/null
+++ b/devel/strace/DEPENDS
@@ -0,0 +1 @@
+depends autoconf
diff --git a/devel/strace/HISTORY b/devel/strace/HISTORY
index b37ad68..27b0d36 100644
--- a/devel/strace/HISTORY
+++ b/devel/strace/HISTORY
@@ -1,3 +1,10 @@
+2010-02-17 Eric Sandall <sandalle AT sourcemage.org>
+ * DEPENDS: Depends on autoconf for `autoreconf`
+ * PRE_BUILD: Apply headers-2.6.32.patch and run `autoreconf`
+ * headers-2.6.32.patch: Patch from
+
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
+ Fixes compilation with 2.6.32 kernel headers (Bug #15580)
+
2009-10-22 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 4.5.19
diff --git a/devel/strace/PRE_BUILD b/devel/strace/PRE_BUILD
new file mode 100755
index 0000000..06633cd
--- /dev/null
+++ b/devel/strace/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch $SOURCE_DIRECTORY/configure.ac $SCRIPT_DIRECTORY/headers-2.6.32.patch
&&
+autoreconf
diff --git a/devel/strace/headers-2.6.32.patch
b/devel/strace/headers-2.6.32.patch
new file mode 100644
index 0000000..a92ac40
--- /dev/null
+++ b/devel/strace/headers-2.6.32.patch
@@ -0,0 +1,30 @@
+#
+# From
http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7
+#
+From f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7 Mon Sep 17 00:00:00 2001
+From: Dmitry V. Levin <ldv AT altlinux.org>
+Date: Tue, 3 Nov 2009 16:49:49 +0000
+Subject: [PATCH] Fix check for linux/netlink.h on Linux 2.6.32-rc5+
+
+* configure.ac (AC_CHECK_HEADERS): In check for linux/netlink.h, include
+sys/socket.h instead of linux/socket.h beforehand.
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c8450cd..96c1c24 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -258,7 +258,7 @@ AC_CHECK_HEADERS([ \
+ ], [], [])
+ 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>])
+--
+1.6.3
+
- [SM-Commit] GIT changes to master grimoire by Eric Sandall (3cb8d5aa8ff5ddf81e58ac2328606d7cb5e5a2e7), Eric Sandall, 02/18/2010
Archive powered by MHonArc 2.6.24.