diff options
author | 2008-04-20 06:59:59 +0000 | |
---|---|---|
committer | 2008-04-20 06:59:59 +0000 | |
commit | dfb6fb43c5bad9d3d7cc25278aa67285a5f2a1e0 (patch) | |
tree | 00237762281ee3ad8ee2fca94d02b1b6f3f25422 /sys-apps/shadow/files | |
parent | Version bumped. (diff) | |
download | historical-dfb6fb43c5bad9d3d7cc25278aa67285a5f2a1e0.tar.gz historical-dfb6fb43c5bad9d3d7cc25278aa67285a5f2a1e0.tar.bz2 historical-dfb6fb43c5bad9d3d7cc25278aa67285a5f2a1e0.zip |
Add fix from upstream for build failure with USE=audit #216291.
Package-Manager: portage-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, ""); |