# ChangeLog for dev-util/strace
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.91 2006/10/05 02:05:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.92 2006/12/02 20:35:58 vapier Exp $
+
+ 02 Dec 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/strace-4.5.14-CTL_PROC.patch, strace-4.5.14.ebuild:
+ Fix building with 2.6.18+ headers #150907 by Mario Fetka.
05 Oct 2006; Mike Frysinger <vapier@gentoo.org>
+files/strace-4.5.14-PT_GETSIGINFO.patch, strace-4.5.14.ebuild:
--- /dev/null
+fix building with 2.6.18+ headers
+
+http://bugs.gentoo.org/150907
+
+--- strace-4.5.14/system.c
++++ strace-4.5.14/system.c
+@@ -1591,6 +1591,10 @@
+ #endif
+
+ #ifdef LINUX
++/* linux-2.6.18+ has dropped this enum */
++#ifndef CTL_PROC
++# define CTL_PROC 4
++#endif
+ static const struct xlat sysctl_root[] = {
+ { CTL_KERN, "CTL_KERN" },
+ { CTL_VM, "CTL_VM" },
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.14.ebuild,v 1.12 2006/10/05 02:05:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.14.ebuild,v 1.13 2006/12/02 20:35:58 vapier Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
# (08 Feb 2005 agriffis)
epatch "${FILESDIR}"/strace-4.5.8-ia64.patch
+ epatch "${FILESDIR}"/${P}-CTL_PROC.patch #150907
+
eautoreconf
}