summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}