summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-11-12 23:01:37 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-11-12 23:01:37 +0000
commita0d74696bf371baded55125fe00eab39fdadd224 (patch)
tree1058f8fd351418a78967e530b83a5d8efdee883e /net-libs/libhubbub
parentconversion to full gx86-multilib dependencies, updated manifest as upstream d... (diff)
downloadgentoo-2-a0d74696bf371baded55125fe00eab39fdadd224.tar.gz
gentoo-2-a0d74696bf371baded55125fe00eab39fdadd224.tar.bz2
gentoo-2-a0d74696bf371baded55125fe00eab39fdadd224.zip
Drop -Werror (fix for glibc-2.20), bug #528768 by w0rm.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'net-libs/libhubbub')
-rw-r--r--net-libs/libhubbub/ChangeLog5
-rw-r--r--net-libs/libhubbub/libhubbub-0.3.0.ebuild11
2 files changed, 14 insertions, 2 deletions
diff --git a/net-libs/libhubbub/ChangeLog b/net-libs/libhubbub/ChangeLog
index 32f2cc31cd93..e82a278c8cc4 100644
--- a/net-libs/libhubbub/ChangeLog
+++ b/net-libs/libhubbub/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/libhubbub
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/ChangeLog,v 1.6 2014/11/06 18:17:34 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/ChangeLog,v 1.7 2014/11/12 23:01:37 slyfox Exp $
+
+ 12 Nov 2014; Sergei Trofimovich <slyfox@gentoo.org> libhubbub-0.3.0.ebuild:
+ Drop -Werror (fix for glibc-2.20), bug #528768 by w0rm.
*libhubbub-0.3.0 (06 Nov 2014)
diff --git a/net-libs/libhubbub/libhubbub-0.3.0.ebuild b/net-libs/libhubbub/libhubbub-0.3.0.ebuild
index 3c9eece82b23..4bb3b79f8b9b 100644
--- a/net-libs/libhubbub/libhubbub-0.3.0.ebuild
+++ b/net-libs/libhubbub/libhubbub-0.3.0.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/net-libs/libhubbub/libhubbub-0.3.0.ebuild,v 1.1 2014/11/06 18:17:34 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/libhubbub-0.3.0.ebuild,v 1.2 2014/11/12 23:01:37 slyfox Exp $
EAPI=5
@@ -24,3 +24,12 @@ DEPEND="${RDEPEND}
DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} )
RESTRICT=test
+
+src_prepare() {
+ # glibc-2.20 introduced a warning:
+ # _BSD_SOURCE and _SVID_SOURCE are deprecated
+ sed -e 's/WARNFLAGS := $(WARNFLAGS) -Werror/# &/' \
+ -i Makefile || die
+
+ netsurf_src_prepare
+}