From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-process/audit/files: audit-1.7.4-glibc212.patch |
Date: | Tue, 24 Aug 2010 13:56:26 |
Message-Id: | 20100824135623.05CFE20051@flycatcher.gentoo.org |
1 | ssuominen 10/08/24 13:56:23 |
2 | |
3 | Added: audit-1.7.4-glibc212.patch |
4 | Log: |
5 | Fix building with recent glibc wrt #334147 by William Keaney. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-process/audit/files/audit-1.7.4-glibc212.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/audit/files/audit-1.7.4-glibc212.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/audit/files/audit-1.7.4-glibc212.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: audit-1.7.4-glibc212.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/334147 |
17 | |
18 | --- lib/libaudit.c |
19 | +++ lib/libaudit.c |
20 | @@ -36,6 +36,8 @@ |
21 | #include <sys/utsname.h> |
22 | #include <fcntl.h> /* O_NOFOLLOW needs gnu defined */ |
23 | #include <limits.h> /* for PATH_MAX */ |
24 | +#include <sys/types.h> |
25 | +#include <sys/stat.h> /* S_ISREG */ |
26 | |
27 | #include "libaudit.h" |
28 | #include "private.h" |