summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-24 13:56:22 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-24 13:56:22 +0000
commit8587ee38486dbefe6c19fede3347a56dc4ad70a0 (patch)
treeace11b59bb934047f19f132c1c2d58485c5a4a78 /sys-process/audit
parentRemove resin-3.1.9.ebuild.orig from Manifest, bug #334279. (diff)
downloadgentoo-2-8587ee38486dbefe6c19fede3347a56dc4ad70a0.tar.gz
gentoo-2-8587ee38486dbefe6c19fede3347a56dc4ad70a0.tar.bz2
gentoo-2-8587ee38486dbefe6c19fede3347a56dc4ad70a0.zip
Fix building with recent glibc wrt #334147 by William Keaney.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/audit')
-rw-r--r--sys-process/audit/ChangeLog6
-rw-r--r--sys-process/audit/audit-1.7.4.ebuild4
-rw-r--r--sys-process/audit/files/audit-1.7.4-glibc212.patch13
3 files changed, 21 insertions, 2 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog
index 7ddb18d6c138..b46d2ca93756 100644
--- a/sys-process/audit/ChangeLog
+++ b/sys-process/audit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-process/audit
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.57 2010/05/29 17:40:26 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.58 2010/08/24 13:56:22 ssuominen Exp $
+
+ 24 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> audit-1.7.4.ebuild,
+ +files/audit-1.7.4-glibc212.patch:
+ Fix building with recent glibc wrt #334147 by William Keaney.
29 May 2010; Raúl Porcel <armin76@gentoo.org> audit-1.7.4.ebuild,
audit-1.7.9.ebuild, audit-1.7.17.ebuild:
diff --git a/sys-process/audit/audit-1.7.4.ebuild b/sys-process/audit/audit-1.7.4.ebuild
index 35f5f247142e..60133cc0a4ef 100644
--- a/sys-process/audit/audit-1.7.4.ebuild
+++ b/sys-process/audit/audit-1.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.4.ebuild,v 1.2 2010/05/29 17:40:26 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.4.ebuild,v 1.3 2010/08/24 13:56:22 ssuominen Exp $
inherit autotools multilib toolchain-funcs python
@@ -55,6 +55,8 @@ src_unpack() {
"${S}"/audisp/plugins/Makefile.am
fi
+ epatch "${FILESDIR}"/${P}-glibc212.patch
+
# Regenerate autotooling
eautoreconf
}
diff --git a/sys-process/audit/files/audit-1.7.4-glibc212.patch b/sys-process/audit/files/audit-1.7.4-glibc212.patch
new file mode 100644
index 000000000000..e167849e9e33
--- /dev/null
+++ b/sys-process/audit/files/audit-1.7.4-glibc212.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/334147
+
+--- lib/libaudit.c
++++ lib/libaudit.c
+@@ -36,6 +36,8 @@
+ #include <sys/utsname.h>
+ #include <fcntl.h> /* O_NOFOLLOW needs gnu defined */
+ #include <limits.h> /* for PATH_MAX */
++#include <sys/types.h>
++#include <sys/stat.h> /* S_ISREG */
+
+ #include "libaudit.h"
+ #include "private.h"