summaryrefslogtreecommitdiff
path: root/shadow
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2012-02-18 18:03:07 +0100
committerJuergen Daubert <jue@jue.li>2012-02-18 18:03:07 +0100
commit04615363324336d12f4f1c727c22ef1f2e9969cc (patch)
treee734ea77ff0a45686fd922e31fc985b610467693 /shadow
parent87e8de90576393b14b3a49231534de81259d33be (diff)
downloadcore-04615363324336d12f4f1c727c22ef1f2e9969cc.tar.gz
core-04615363324336d12f4f1c727c22ef1f2e9969cc.tar.xz
shadow: add patches
Diffstat (limited to 'shadow')
-rw-r--r--shadow/shadow-4.1.5-copydir.patch12
-rw-r--r--shadow/shadow-4.1.5-nscd.patch17
2 files changed, 29 insertions, 0 deletions
diff --git a/shadow/shadow-4.1.5-copydir.patch b/shadow/shadow-4.1.5-copydir.patch
new file mode 100644
index 00000000..747b1144
--- /dev/null
+++ b/shadow/shadow-4.1.5-copydir.patch
@@ -0,0 +1,12 @@
+# http://anonscm.debian.org/viewvc/pkg-shadow?view=revision&sortby=date&revision=3706
+
+--- upstream/trunk/libmisc/copydir.c 2011/12/09 22:13:02 3655
++++ upstream/trunk/libmisc/copydir.c 2012/02/13 19:16:29 3706
+@@ -46,6 +46,7 @@
+ #include <selinux/selinux.h>
+ #endif /* WITH_SELINUX */
+ #if defined(WITH_ACL) || defined(WITH_ATTR)
++#include <stdarg.h>
+ #include <attr/error_context.h>
+ #endif /* WITH_ACL || WITH_ATTR */
+ #ifdef WITH_ACL
diff --git a/shadow/shadow-4.1.5-nscd.patch b/shadow/shadow-4.1.5-nscd.patch
new file mode 100644
index 00000000..34f26459
--- /dev/null
+++ b/shadow/shadow-4.1.5-nscd.patch
@@ -0,0 +1,17 @@
+# http://anonscm.debian.org/viewvc/pkg-shadow?view=revision&revision=3709
+
+--- upstream/trunk/lib/nscd.c 2011/10/18 20:16:00 3519
++++ upstream/trunk/lib/nscd.c 2012/02/13 20:09:59 3709
+@@ -39,8 +39,11 @@
+ /* nscd is not installed, or it is installed but uses an
+ interpreter that is missing. Probably the former. */
+ return 0;
++ } else if (code == 1) {
++ /* nscd is installed, but it isn't active. */
++ return 0;
+ } else if (code != 0) {
+- (void) fprintf (stderr, _("%s: nscd exited with status %d"),
++ (void) fprintf (stderr, _("%s: nscd exited with status %d\n"),
+ Prog, code);
+ (void) fprintf (stderr, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog);
+ return -1;

Generated by cgit