summaryrefslogtreecommitdiff
path: root/packages/libcap/libcap2-2.16
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-03-08 18:34:44 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-03-08 18:34:44 +0100
commitc71a6ebf796df907ba0d4339e6acf66faa3c6232 (patch)
tree664edf36e166a4918ff44bc92bdd23b3e1e1cfd7 /packages/libcap/libcap2-2.16
parent101860728efdad5e79c0c92b9e9cabde1280cc18 (diff)
libcap2: libcap 2.16; created as separate package to allow both .so.1 and .so.2 to coexist
Diffstat (limited to 'packages/libcap/libcap2-2.16')
-rw-r--r--packages/libcap/libcap2-2.16/make.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/libcap/libcap2-2.16/make.patch b/packages/libcap/libcap2-2.16/make.patch
new file mode 100644
index 0000000000..3672f77c63
--- /dev/null
+++ b/packages/libcap/libcap2-2.16/make.patch
@@ -0,0 +1,23 @@
+--- libcap-2.16/Make.Rules.orig 2009-03-07 18:50:23.000000000 +0100
++++ libcap-2.16/Make.Rules 2009-03-07 18:50:44.000000000 +0100
+@@ -45,19 +45,12 @@
+ KERNEL_HEADERS := $(topdir)/libcap/include
+ IPATH += -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
+
+-CC := gcc
+-CFLAGS := -O2
+-BUILD_CC := $(CC)
+-BUILD_CFLAGS := $(CFLAGS) $(IPATH)
+-AR := ar
+-RANLIB := ranlib
++LD=$(CC) -Wl,-x -shared
+ DEBUG = -g #-DDEBUG
+ WARNINGS=-fPIC -Wall -Wwrite-strings \
+ -Wpointer-arith -Wcast-qual -Wcast-align \
+ -Wstrict-prototypes -Wmissing-prototypes \
+ -Wnested-externs -Winline -Wshadow
+-LD=$(CC) -Wl,-x -shared
+-LDFLAGS := #-g
+
+ SYSTEM_HEADERS = /usr/include
+ INCS=$(topdir)/libcap/include/sys/capability.h