diff options
Diffstat (limited to 'debian/patches/environ.patch')
-rw-r--r-- | debian/patches/environ.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/environ.patch b/debian/patches/environ.patch new file mode 100644 index 0000000..4f1f9b1 --- /dev/null +++ b/debian/patches/environ.patch @@ -0,0 +1,26 @@ +Index: shadow-4.1.5/lib/spawn.c +=================================================================== +--- shadow-4.1.5.orig/lib/spawn.c 2011-10-16 18:05:19.000000000 +0000 ++++ shadow-4.1.5/lib/spawn.c 2012-05-29 00:09:49.520136311 +0000 +@@ -38,6 +38,8 @@ + #include "exitcodes.h" + #include "prototypes.h" + ++extern char **environ; ++ + int run_command (const char *cmd, const char *argv[], + /*@null@*/const char *envp[], /*@out@*/int *status) + { +Index: shadow-4.1.5/src/su.c +=================================================================== +--- shadow-4.1.5.orig/src/su.c 2012-05-28 20:21:23.981943165 +0000 ++++ shadow-4.1.5/src/su.c 2012-05-29 00:10:44.318173199 +0000 +@@ -78,6 +78,8 @@ + /*@-exitarg@*/ + #include "exitcodes.h" + ++extern char **environ; ++ + /* + * Global variables + */ |