diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-08-03 15:59:49 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-08-03 15:59:49 +0000 |
commit | 9df2c151eb13aef42751cce6dc348a57f3a2990c (patch) | |
tree | abf82799b739e87e9f26651aa73d92e30dfb5f03 /net-dns/bind/files | |
parent | Add missing IUSE variable (diff) | |
download | gentoo-2-9df2c151eb13aef42751cce6dc348a57f3a2990c.tar.gz gentoo-2-9df2c151eb13aef42751cce6dc348a57f3a2990c.tar.bz2 gentoo-2-9df2c151eb13aef42751cce6dc348a57f3a2990c.zip |
Fix threading, add dep on libcap (#220167)
(Portage version: 2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 x86_64)
Diffstat (limited to 'net-dns/bind/files')
-rw-r--r-- | net-dns/bind/files/libcap.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-dns/bind/files/libcap.patch b/net-dns/bind/files/libcap.patch new file mode 100644 index 000000000000..50cf69df57e7 --- /dev/null +++ b/net-dns/bind/files/libcap.patch @@ -0,0 +1,15 @@ +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; |