~vcs-imports/ipfire/ipfire-2.x

« back to all changes in this revision

Viewing changes to src/patches/libcap-1.10-syscall.patch

  • Committer: Dirk Wagner
  • Date: 2014-12-23 08:02:23 UTC
  • mfrom: (4405.56.108)
  • Revision ID: git-v1:601f8347ccb1e9c5e3f250ff26d4097ecd698875
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into asterisk-update

Show diffs side-by-side

added added

removed removed

Lines of Context:
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