diff options
Diffstat (limited to 'net-misc/grive/grive-0.2.0.ebuild')
-rw-r--r-- | net-misc/grive/grive-0.2.0.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net-misc/grive/grive-0.2.0.ebuild b/net-misc/grive/grive-0.2.0.ebuild index 7092cc7a204d..95794de32806 100644 --- a/net-misc/grive/grive-0.2.0.ebuild +++ b/net-misc/grive/grive-0.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/grive/grive-0.2.0.ebuild,v 1.6 2013/01/11 22:36:50 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/grive/grive-0.2.0.ebuild,v 1.7 2013/03/23 19:51:07 ottxor Exp $ EAPI=4 @@ -40,4 +40,11 @@ DOCS=( "README" ) src_prepare() { epatch "${FILESDIR}"/"${P}"-check-bfd.h.patch + + #bug #462632 due to bug #452234 + if has_version ">=dev-libs/json-c-0.10-r1" ; then + sed -i -e '/\(include\|INCLUDE\)/s@json/@json-c/@' \ + libgrive/src/protocol/Json.cc \ + cmake/Modules/FindJSONC.cmake || die + fi } |