summaryrefslogtreecommitdiff
blob: 5e91d96209e8e2bea2916788a564632cdc9bbd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 - drop ldconfig junk
 - add missing headers
 - add missing comma to supp_entry

http://bugs.gentoo.org/126695

--- libpwdb/Makefile
+++ libpwdb/Makefile
@@ -69,7 +69,7 @@
 	$(INSTALL) -m 644 radius.h $(INCLUDED)/radius.h
 	$(INSTALL) -m 644 _pwdb_macros.h $(INCLUDED)/_pwdb_macros.h
 	$(INSTALL) -m 755 $(LIBFILENAME) $(LIBDIR)
-	$(LDCONFIG)
+	ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBSONAME)
 	ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBDYNAME)
 	$(INSTALL) -m 644 $(LIBSTATIC) $(LIBDIR)
 
--- libpwdb/posix/pwd.c
+++ libpwdb/posix/pwd.c
@@ -7,6 +7,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 
 #define PWDB_HARD_CORE 1
 #include <pwdb/pwdb_public.h>
--- libpwdb/posix/undefined.c
+++ libpwdb/posix/undefined.c
@@ -5,6 +5,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #define PWDB_HARD_CORE 1
 #include <pwdb/pwdb_public.h>
--- libpwdb/pwdb/pwdb_helper.c
+++ libpwdb/pwdb/pwdb_helper.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include <string.h>
 #include "pwdb_public.h"
 #include "pwdb_module.h"
 
--- libpwdb/pwdb/interface/shadow/group.c
+++ libpwdb/pwdb/interface/shadow/group.c
@@ -533,7 +533,7 @@
 
     static const char *supp_entry[] = {
     "group", "passwd",
-    "users", "admins"       /* these are from /etc/group */
+    "users", "admins",      /* these are from /etc/group */
     "groups",               /* these are serviced by requests */
     NULL
     };