File mod-cap-patch of Package psa-proftpd
x
1
--- lib/libcap/Makefile.orig 2008-06-20 12:17:42.000000000 +0700
2
+++ lib/libcap/Makefile 2008-06-20 12:17:51.000000000 +0700
3
@@ -23,7 +23,7 @@
4
INCLS=libcap.h cap_names.h $(INCS)
5
OBJS=$(addsuffix .o, $(FILES))
6
7
-all: $(LIBNAME)
8
+all:
9
10
_makenames: _makenames.c cap_names.sed
11
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
12
--- modules/mod_cap.c.orig 2008-06-20 12:18:09.000000000 +0700
13
+++ modules/mod_cap.c 2008-06-20 12:18:45.000000000 +0700
14
@@ -42,10 +42,8 @@
15
# define _LINUX_BYTEORDER_GENERIC_H
16
# endif
17
18
-# ifdef HAVE_LINUX_CAPABILITY_H
19
-# include <linux/capability.h>
20
-# endif /* HAVE_LINUX_CAPABILITY_H */
21
-# include "../lib/libcap/include/sys/capability.h"
22
+#include <linux/capability.h>
23
+#include <sys/capability.h>
24
25
/* What are these for? */
26
# undef WNOHANG
27