commit:     09c796445b6028ac922090727d4eba85fca06e1e
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 25 20:53:46 2019 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Fri Jan 25 20:55:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09c79644

net-libs/libhubbub: fix test failure

Closes: https://bugs.gentoo.org/675836
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/libhubbub/libhubbub-0.3.5-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-libs/libhubbub/libhubbub-0.3.5-r1.ebuild 
b/net-libs/libhubbub/libhubbub-0.3.5-r1.ebuild
index d0a20d7641e..28a147d5b6d 100644
--- a/net-libs/libhubbub/libhubbub-0.3.5-r1.ebuild
+++ b/net-libs/libhubbub/libhubbub-0.3.5-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="HTML5 compliant parsing library, written in C"
 HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/";
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        test? (
                dev-lang/perl
-               >=dev-libs/json-c-0.10-r1
+               <dev-libs/json-c-0.13
        )"
 
 DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} )
@@ -36,6 +36,7 @@ src_prepare() {
 _emake() {
        source /usr/share/netsurf-buildsystem/gentoo-helpers.sh
        netsurf_define_makeconf
+       append-cflags -Wno-error
        emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@
 }
 

Reply via email to