diff options
-rw-r--r-- | sys-apps/hwloc/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/hwloc/files/hwloc-1.8.1-gl.patch | 11 | ||||
-rw-r--r-- | sys-apps/hwloc/hwloc-1.8.1.ebuild | 5 |
3 files changed, 20 insertions, 2 deletions
diff --git a/sys-apps/hwloc/ChangeLog b/sys-apps/hwloc/ChangeLog index 6e63400fd8ea..e3469cf58014 100644 --- a/sys-apps/hwloc/ChangeLog +++ b/sys-apps/hwloc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/hwloc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/ChangeLog,v 1.43 2014/02/17 11:33:01 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/ChangeLog,v 1.44 2014/02/28 17:25:45 bicatali Exp $ + + 28 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> + +files/hwloc-1.8.1-gl.patch, hwloc-1.8.1.ebuild: + Fixed underlinking for gl flag, thanks Andrew Savchenko bug #502956 *hwloc-1.8.1 (16 Feb 2014) diff --git a/sys-apps/hwloc/files/hwloc-1.8.1-gl.patch b/sys-apps/hwloc/files/hwloc-1.8.1-gl.patch new file mode 100644 index 000000000000..47daa9593377 --- /dev/null +++ b/sys-apps/hwloc/files/hwloc-1.8.1-gl.patch @@ -0,0 +1,11 @@ +--- hwloc-1.8.1/config/hwloc.m4.orig 2014-01-30 17:46:58.000000000 +0400 ++++ hwloc-1.8.1/config/hwloc.m4 2014-02-27 13:46:28.587238873 +0400 +@@ -948,7 +948,7 @@ + hwloc_gl_happy=no]) + + AC_CHECK_HEADERS([NVCtrl/NVCtrl.h], [ +- AC_CHECK_LIB([XNVCtrl], [XNVCTRLQueryTargetAttribute], [:], [hwloc_gl_happy=no], [-lXext]) ++ AC_CHECK_LIB([XNVCtrl], [XNVCTRLQueryTargetAttribute], [:], [hwloc_gl_happy=no], [-lXext -lX11]) + ], [hwloc_gl_happy=no]) + + if test "x$hwloc_gl_happy" = "xyes"; then diff --git a/sys-apps/hwloc/hwloc-1.8.1.ebuild b/sys-apps/hwloc/hwloc-1.8.1.ebuild index b26035a60812..3fa4f78edffb 100644 --- a/sys-apps/hwloc/hwloc-1.8.1.ebuild +++ b/sys-apps/hwloc/hwloc-1.8.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/hwloc-1.8.1.ebuild,v 1.1 2014/02/16 02:43:05 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwloc/hwloc-1.8.1.ebuild,v 1.2 2014/02/28 17:25:45 bicatali Exp $ EAPI=5 @@ -36,6 +36,9 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS NEWS README VERSION ) +PATCHES=( "${FILESDIR}/${P}-gl.patch" ) +AUTOTOOLS_AUTORECONF=1 + src_prepare() { if use cuda ; then append-cflags -I/opt/cuda/include |