From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/shadow/files: shadow-4.1.1-audit.patch |
Date: | Sun, 20 Apr 2008 07:00:03 |
Message-Id: | E1JnTWq-00011f-AX@stork.gentoo.org |
1 | vapier 08/04/20 07:00:00 |
2 | |
3 | Added: shadow-4.1.1-audit.patch |
4 | Log: |
5 | Add fix from upstream for build failure with USE=audit #216291. |
6 | (Portage version: 2.2_pre5) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-apps/shadow/files/shadow-4.1.1-audit.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.1-audit.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/shadow/files/shadow-4.1.1-audit.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: shadow-4.1.1-audit.patch |
15 | =================================================================== |
16 | --- /upstream/trunk/src/newgrp.c 2008/04/16 22:03:43 1975 |
17 | +++ upstream/trunk/src/newgrp.c 2008/04/16 22:04:46 1976 |
18 | @@ -53,6 +53,10 @@ |
19 | static char *Prog; |
20 | static int is_newgrp; |
21 | |
22 | +#ifdef WITH_AUDIT |
23 | +char audit_buf[80]; |
24 | +#endif |
25 | + |
26 | /* local function prototypes */ |
27 | static void usage (void); |
28 | static void check_perms (const struct group *grp, |
29 | @@ -349,8 +353,6 @@ |
30 | #endif |
31 | |
32 | #ifdef WITH_AUDIT |
33 | - char audit_buf[80]; |
34 | - |
35 | audit_help_open (); |
36 | #endif |
37 | setlocale (LC_ALL, ""); |
38 | |
39 | |
40 | |
41 | -- |
42 | gentoo-commits@l.g.o mailing list |