summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-08-13 20:03:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-08-13 20:03:17 +0100
commitde99b4a7684be96f762e75f272eec92f6ff022f3 (patch)
treefc5c5cdd6479236757254af1b95ffb32c3aeb2e6 /net-libs
parente797766bf7761a47a677ce56875a94b08b08a0ee (diff)
net-libs/htmlcxx : new package (dep of Yarock music player)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/htmlcxx/Manifest1
-rw-r--r--net-libs/htmlcxx/files/htmlcxx-0.86-ptrdiff_t.patch11
-rw-r--r--net-libs/htmlcxx/htmlcxx-0.86.ebuild23
3 files changed, 35 insertions, 0 deletions
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 <cstddef>
+ #include <cassert>
+ #include <memory>
+ #include <stdexcept>
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
+}