From de99b4a7684be96f762e75f272eec92f6ff022f3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Aug 2017 20:03:17 +0100 Subject: net-libs/htmlcxx : new package (dep of Yarock music player) --- net-libs/htmlcxx/Manifest | 1 + .../htmlcxx/files/htmlcxx-0.86-ptrdiff_t.patch | 11 +++++++++++ net-libs/htmlcxx/htmlcxx-0.86.ebuild | 23 ++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 net-libs/htmlcxx/Manifest create mode 100644 net-libs/htmlcxx/files/htmlcxx-0.86-ptrdiff_t.patch create mode 100644 net-libs/htmlcxx/htmlcxx-0.86.ebuild (limited to 'net-libs/htmlcxx') diff --git a/net-libs/htmlcxx/Manifest b/net-libs/htmlcxx/Manifest new file mode 100644 index 00000000..afee069c --- /dev/null +++ b/net-libs/htmlcxx/Manifest @@ -0,0 +1 @@ +DIST htmlcxx-0.86.tar.gz 469416 SHA256 07542b5ea2442143b125ba213b6823ff4a23fff352ecdd84bbebe1d154f4f5c1 SHA512 dcff9c9946e1c3429af2230997c965b89a28a8ee219d8d594800106ff578bb21154e4680c38a09fb5f96cd4051c89cbf16f2151d30be93d4e3d291ff421aafcb WHIRLPOOL 8c0fc17cd52db957cd91cb79e1a8d0d2b477a75501e58135244434e8ee472482f4577dc9cc377b45e1ff7febb83fc31e79b454c0875e2f5919bdc9906113003e diff --git a/net-libs/htmlcxx/files/htmlcxx-0.86-ptrdiff_t.patch b/net-libs/htmlcxx/files/htmlcxx-0.86-ptrdiff_t.patch new file mode 100644 index 00000000..0444fed7 --- /dev/null +++ b/net-libs/htmlcxx/files/htmlcxx-0.86-ptrdiff_t.patch @@ -0,0 +1,11 @@ +diff -Naur htmlcxx-0.85/html/tree.h htmlcxx-0.85/html/tree.h +--- htmlcxx-0.85/html/tree.h 2011-02-13 23:24:53.000000000 +0100 ++++ htmlcxx-0.85/html/tree.h 2013-04-28 14:38:17.370643634 +0200 +@@ -45,6 +45,7 @@ + #ifndef tree_hh_ + #define tree_hh_ + ++#include + #include + #include + #include diff --git a/net-libs/htmlcxx/htmlcxx-0.86.ebuild b/net-libs/htmlcxx/htmlcxx-0.86.ebuild new file mode 100644 index 00000000..dc2abd89 --- /dev/null +++ b/net-libs/htmlcxx/htmlcxx-0.86.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit eutils + +DESCRIPTION="a simple non-validating css1 and html parser for C++" +HOMEPAGE="http://sf.net/projects/htmlcxx" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ptrdiff_t.patch + default_src_prepare +} -- cgit v1.2.3