diff options
author | 2008-04-20 06:59:59 +0000 | |
---|---|---|
committer | 2008-04-20 06:59:59 +0000 | |
commit | 69e158ffc6256c39691a79b2b36b3a8885a784db (patch) | |
tree | ee6c19f1b7620ffaf3753fa71dc86014ae1227de /sys-apps/shadow/files | |
parent | Version bumped. (diff) | |
download | gentoo-2-69e158ffc6256c39691a79b2b36b3a8885a784db.tar.gz gentoo-2-69e158ffc6256c39691a79b2b36b3a8885a784db.tar.bz2 gentoo-2-69e158ffc6256c39691a79b2b36b3a8885a784db.zip |
Add fix from upstream for build failure with USE=audit #216291.
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-apps/shadow/files')
-rw-r--r-- | sys-apps/shadow/files/shadow-4.1.1-audit.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/shadow-4.1.1-audit.patch b/sys-apps/shadow/files/shadow-4.1.1-audit.patch new file mode 100644 index 000000000000..1a4c95ae58bb --- /dev/null +++ b/sys-apps/shadow/files/shadow-4.1.1-audit.patch @@ -0,0 +1,22 @@ +--- /upstream/trunk/src/newgrp.c 2008/04/16 22:03:43 1975 ++++ upstream/trunk/src/newgrp.c 2008/04/16 22:04:46 1976 +@@ -53,6 +53,10 @@ + static char *Prog; + static int is_newgrp; + ++#ifdef WITH_AUDIT ++char audit_buf[80]; ++#endif ++ + /* local function prototypes */ + static void usage (void); + static void check_perms (const struct group *grp, +@@ -349,8 +353,6 @@ + #endif + + #ifdef WITH_AUDIT +- char audit_buf[80]; +- + audit_help_open (); + #endif + setlocale (LC_ALL, ""); |