1
0
apache-commons-daemon/jsvc-libcap-relative.patch

21 lines
677 B
Diff

Index: commons-daemon-1.0.10-src/src/native/unix/native/jsvc-unix.c
===================================================================
--- commons-daemon-1.0.10-src.orig/src/native/unix/native/jsvc-unix.c 2012-07-18 16:00:46.791533454 +0200
+++ commons-daemon-1.0.10-src/src/native/unix/native/jsvc-unix.c 2012-07-18 16:02:14.303529317 +0200
@@ -247,12 +247,9 @@
static fd_cap_set_proc fp_cap_set_proc;
static const char *libcap_locs[] = {
- "/lib/libcap.so.2",
- "/lib/libcap.so.1",
- "/lib/libcap.so",
- "/usr/lib/libcap.so.2",
- "/usr/lib/libcap.so.1",
- "/usr/lib/libcap.so",
+ "libcap.so.2",
+ "libcap.so.1",
+ "libcap.so",
NULL
};