summaryrefslogtreecommitdiff
path: root/dev-cpp/htmlcxx
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-06-02 01:35:01 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-06-02 01:35:01 +0000
commit68585b42a5719e4855009a02f1bb7163a1263b60 (patch)
tree32751b281cb5659768c8802e8791d0a8e55a83ec /dev-cpp/htmlcxx
parent918f0aeb6ea7253f43d305c47ef4a4bfa9abfa18 (diff)
downloadbaldeagleos-repo-68585b42a5719e4855009a02f1bb7163a1263b60.tar.gz
baldeagleos-repo-68585b42a5719e4855009a02f1bb7163a1263b60.tar.xz
baldeagleos-repo-68585b42a5719e4855009a02f1bb7163a1263b60.zip
Adding metadata
Diffstat (limited to 'dev-cpp/htmlcxx')
-rw-r--r--dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch26
-rw-r--r--dev-cpp/htmlcxx/htmlcxx-0.87.ebuild6
2 files changed, 31 insertions, 1 deletions
diff --git a/dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch b/dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch
new file mode 100644
index 000000000000..9f8f060de456
--- /dev/null
+++ b/dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch
@@ -0,0 +1,26 @@
+https://sourceforge.net/p/htmlcxx/patches/8/
+
+diff --color -Naur a/html/CharsetConverter.cc b/html/CharsetConverter.cc
+--- a/html/CharsetConverter.cc 2018-12-29 03:13:56.000000000 +0000
++++ b/html/CharsetConverter.cc 2021-05-31 23:03:10.705334580 +0100
+@@ -7,7 +7,7 @@
+ using namespace std;
+ using namespace htmlcxx;
+
+-CharsetConverter::CharsetConverter(const string &from, const string &to) throw (Exception)
++CharsetConverter::CharsetConverter(const string &from, const string &to)
+ {
+ mIconvDescriptor = iconv_open(to.c_str(), from.c_str());
+ if (mIconvDescriptor == (iconv_t)(-1))
+diff --color -Naur a/html/CharsetConverter.h b/html/CharsetConverter.h
+--- a/html/CharsetConverter.h 2018-12-29 03:13:56.000000000 +0000
++++ b/html/CharsetConverter.h 2021-05-31 23:03:19.042574598 +0100
+@@ -17,7 +17,7 @@
+ : std::runtime_error(arg) {}
+ };
+
+- CharsetConverter(const std::string &from, const std::string &to) throw (Exception);
++ CharsetConverter(const std::string &from, const std::string &to);
+ ~CharsetConverter();
+
+ std::string convert(const std::string &input);
diff --git a/dev-cpp/htmlcxx/htmlcxx-0.87.ebuild b/dev-cpp/htmlcxx/htmlcxx-0.87.ebuild
index f73106f2be4d..79a484d0cd7c 100644
--- a/dev-cpp/htmlcxx/htmlcxx-0.87.ebuild
+++ b/dev-cpp/htmlcxx/htmlcxx-0.87.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,6 +13,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
+PATCHES=(
+ "${FILESDIR}"/${P}-c++17.patch
+)
+
ECONF_SOURCE="${S}"
multilib_src_configure() {