]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/libcap-1.10-syscall.patch
OpenVPN: Added 'valid til (days)' field for N2N.
[people/pmueller/ipfire-2.x.git] / src / patches / libcap-1.10-syscall.patch
1 --- libcap-1.10.old/libcap/cap_sys.c 2003-08-24 19:03:35.524759616 -0700
2 +++ libcap-1.10/libcap/cap_sys.c 2003-08-24 19:03:48.406801248 -0700
3 @@ -10,7 +10,7 @@
4 #include "libcap.h"
5 #define __LIBRARY__
6 #include <linux/unistd.h>
7 -
8 +/*
9 _syscall2(int, capget,
10 cap_user_header_t, header,
11 cap_user_data_t, data)
12 @@ -18,7 +18,7 @@
13 _syscall2(int, capset,
14 cap_user_header_t, header,
15 const cap_user_data_t, data)
16 -
17 +*/
18 /*
19 * $Log: libcap-1.10-syscall.patch,v $
20 * Revision 1.1 2004/01/14 13:11:39 riddles
21 * Build shared libcap
22 *
23 * Revision 1.2 2003/08/29 06:28:38 cretin
24 * Only add -fPIC for libcap.so objects
25 *
26 * Revision 1.1 2003/08/27 06:10:53 cretin
27 * Added -fPIC for prelink to work, and fixed compile error
28 *
29 * Revision 1.1.1.1 1999/04/17 22:16:31 morgan
30 --- libcap-1.10.old/Make.Rules Mon May 21 16:22:08 2001
31 +++ libcap-1.10/Make.Rules Mon May 21 16:22:32 2001
32 @@ -44,10 +44,10 @@
33 CC=gcc
34 COPTFLAGS=-O2
35 DEBUG=-g #-DDEBUG
36 -WARNINGS=-ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
37 +WARNINGS=-D_POSIX_SOURCE -Wall -Wwrite-strings \
38 -Wpointer-arith -Wcast-qual -Wcast-align \
39 -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \
40 - -Wnested-externs -Winline -Wshadow -pedantic
41 + -Wnested-externs -Winline -Wshadow
42 LD=ld
43 LDFLAGS=-s #-g