summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-07-24 18:13:49 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-07-24 18:13:49 +0000
commitac861ad778c7b7d64cb3167fad17ec1716ca5d0e (patch)
treea18bcc3a9c4e4c7f12a29dcf8f18aa5ae80f54ed /net-libs
parentmarked x86 per bug 427224 (diff)
downloadgentoo-2-ac861ad778c7b7d64cb3167fad17ec1716ca5d0e.tar.gz
gentoo-2-ac861ad778c7b7d64cb3167fad17ec1716ca5d0e.tar.bz2
gentoo-2-ac861ad778c7b7d64cb3167fad17ec1716ca5d0e.zip
fixed for glibc-2.16, bug #426300
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/xrootd/ChangeLog6
-rw-r--r--net-libs/xrootd/files/xrootd-3.2.2-glibc216.patch15
-rw-r--r--net-libs/xrootd/xrootd-3.2.2.ebuild6
3 files changed, 24 insertions, 3 deletions
diff --git a/net-libs/xrootd/ChangeLog b/net-libs/xrootd/ChangeLog
index d695c0198c29..d5a2b7e463f3 100644
--- a/net-libs/xrootd/ChangeLog
+++ b/net-libs/xrootd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/xrootd
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/ChangeLog,v 1.7 2012/07/09 16:27:42 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/ChangeLog,v 1.8 2012/07/24 18:13:49 bicatali Exp $
+
+ 24 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/xrootd-3.2.2-glibc216.patch, xrootd-3.2.2.ebuild:
+ fixed for glibc-2.16, bug #426300
*xrootd-3.2.2 (09 Jul 2012)
diff --git a/net-libs/xrootd/files/xrootd-3.2.2-glibc216.patch b/net-libs/xrootd/files/xrootd-3.2.2-glibc216.patch
new file mode 100644
index 000000000000..6baadf2f7356
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-3.2.2-glibc216.patch
@@ -0,0 +1,15 @@
+diff -ur xrootd-3.2.2.orig/src/XrdOss/XrdOssAio.cc xrootd-3.2.2/src/XrdOss/XrdOssAio.cc
+--- xrootd-3.2.2.orig/src/XrdOss/XrdOssAio.cc 2012-06-18 14:39:12.000000000 +0200
++++ xrootd-3.2.2/src/XrdOss/XrdOssAio.cc 2012-07-11 20:41:40.792903194 +0200
+@@ -15,10 +15,8 @@
+ #include <signal.h>
+ #include <stdio.h>
+ #include <unistd.h>
+-#ifdef _POSIX_ASYNCHRONOUS_IO
+-#ifdef __FreeBSD__
+ #include <fcntl.h>
+-#endif
++#ifdef _POSIX_ASYNCHRONOUS_IO
+ #ifdef __macos__
+ #include <sys/aio.h>
+ #else
diff --git a/net-libs/xrootd/xrootd-3.2.2.ebuild b/net-libs/xrootd/xrootd-3.2.2.ebuild
index 4c4f9ef2b27a..286acf32c301 100644
--- a/net-libs/xrootd/xrootd-3.2.2.ebuild
+++ b/net-libs/xrootd/xrootd-3.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/xrootd-3.2.2.ebuild,v 1.1 2012/07/09 16:27:42 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/xrootd-3.2.2.ebuild,v 1.2 2012/07/24 18:13:49 bicatali Exp $
EAPI=4
@@ -28,9 +28,11 @@ RDEPEND="!<sci-physics/root-5.32[xrootd]
readline? ( sys-libs/readline )
ssl? ( dev-libs/openssl )"
DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
+ doc? ( app-doc/doxygen[dot] )
perl? ( dev-lang/swig )"
+PATCHES=( "${FILESDIR}"/${P}-glibc216.patch )
+
pkg_setup() {
enewgroup xrootd
enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd