File jsvc-libcap-relative.patch of Package apache-commons-daemon

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
 };
openSUSE Build Service is sponsored by