* [gentoo-commits] gentoo-x86 commit in net-dns/bind/files: libcap.patch
@ 2008-08-03 15:59 Tobias Scherbaum (dertobi123)
0 siblings, 0 replies; only message in thread
From: Tobias Scherbaum (dertobi123) @ 2008-08-03 15:59 UTC (permalink / raw
To: gentoo-commits
dertobi123 08/08/03 15:59:49
Added: libcap.patch
Log:
Fix threading, add dep on libcap (#220167)
(Portage version: 2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 x86_64)
Revision Changes Path
1.1 net-dns/bind/files/libcap.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind/files/libcap.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind/files/libcap.patch?rev=1.1&content-type=text/plain
Index: libcap.patch
===================================================================
diff -Naur bind-9.5.0-P2.orig/bin/named/unix/os.c bind-9.5.0-P2/bin/named/unix/os.c
--- bind-9.5.0-P2.orig/bin/named/unix/os.c 2008-05-06 03:32:51.000000000 +0200
+++ bind-9.5.0-P2/bin/named/unix/os.c 2008-08-03 17:46:19.000000000 +0200
@@ -170,7 +170,11 @@
return;
#ifndef HAVE_LIBCAP
memset(&caphead, 0, sizeof(caphead));
+#ifdef _LINUX_CAPABILITY_VERSION_3
+ caphead.version = _LINUX_CAPABILITY_VERSION_3;
+#else
caphead.version = _LINUX_CAPABILITY_VERSION;
+#endif
caphead.pid = 0;
memset(&cap, 0, sizeof(cap));
cap.effective = caps;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-03 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-03 15:59 [gentoo-commits] gentoo-x86 commit in net-dns/bind/files: libcap.patch Tobias Scherbaum (dertobi123)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox