From aa92f03d0179c370dec86abcbfa39dd728b9342a Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Thu, 6 Nov 2014 18:31:20 +0000 Subject: fix for glibc-2.20 (bug 527360) (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) --- net-libs/hubbub/ChangeLog | 11 +++++-- .../hubbub/files/hubbub-0.1.2-glibc-2.20.patch | 17 ++++++++++ net-libs/hubbub/hubbub-0.1.2-r1.ebuild | 36 ++++++++++++++++++++++ net-libs/hubbub/hubbub-0.1.2.ebuild | 7 +++-- 4 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch create mode 100644 net-libs/hubbub/hubbub-0.1.2-r1.ebuild (limited to 'net-libs') diff --git a/net-libs/hubbub/ChangeLog b/net-libs/hubbub/ChangeLog index 7d16d6927566..4718221fc1f5 100644 --- a/net-libs/hubbub/ChangeLog +++ b/net-libs/hubbub/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-libs/hubbub -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/hubbub/ChangeLog,v 1.4 2013/02/28 07:28:03 xmw Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/hubbub/ChangeLog,v 1.5 2014/11/06 18:31:20 xmw Exp $ + +*hubbub-0.1.2-r1 (06 Nov 2014) + + 06 Nov 2014; Michael Weber + +files/hubbub-0.1.2-glibc-2.20.patch, +hubbub-0.1.2-r1.ebuild, + hubbub-0.1.2.ebuild: + fix for glibc-2.20 (bug 527360) 28 Feb 2013; Michael Weber hubbub-0.1.2.ebuild, +files/hubbub-0.1.2-error.patch: diff --git a/net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch b/net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch new file mode 100644 index 000000000000..55c38ffddff6 --- /dev/null +++ b/net-libs/hubbub/files/hubbub-0.1.2-glibc-2.20.patch @@ -0,0 +1,17 @@ +--- work/hubbub-0.1.2/Makefile ++++ work/hubbub-0.1.2/Makefile +@@ -13,13 +13,7 @@ + WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -pedantic +-# BeOS/Haiku/AmigaOS have standard library errors that issue warnings. +-ifneq ($(TARGET),beos) +- ifneq ($(TARGET),amiga) +- WARNFLAGS := $(WARNFLAGS) -Werror +- endif +-endif +-CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ ++CFLAGS := -D_DEFAULT -I$(CURDIR)/include/ \ + -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + ifneq ($(GCCVER),2) + CFLAGS := $(CFLAGS) -std=c99 diff --git a/net-libs/hubbub/hubbub-0.1.2-r1.ebuild b/net-libs/hubbub/hubbub-0.1.2-r1.ebuild new file mode 100644 index 000000000000..c12b6d2dafb8 --- /dev/null +++ b/net-libs/hubbub/hubbub-0.1.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/hubbub/hubbub-0.1.2-r1.ebuild,v 1.1 2014/11/06 18:31:20 xmw Exp $ + +EAPI=5 + +inherit netsurf + +DESCRIPTION="HTML5 compliant parsing library, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/" +SRC_URI="http://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="debug doc static-libs test" + +RDEPEND="