From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CABE1382C5 for ; Tue, 1 Jun 2021 21:55:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 218C2E0207; Tue, 1 Jun 2021 21:55:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03899E0207 for ; Tue, 1 Jun 2021 21:55:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AFC3340F97 for ; Tue, 1 Jun 2021 21:55:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5CC778E for ; Tue, 1 Jun 2021 21:55:24 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1622584509.f7b7c15da117ceb50850679f14573de8a1e22e4e.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/htmlcxx/files/, dev-cpp/htmlcxx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch dev-cpp/htmlcxx/htmlcxx-0.87.ebuild X-VCS-Directories: dev-cpp/htmlcxx/files/ dev-cpp/htmlcxx/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: f7b7c15da117ceb50850679f14573de8a1e22e4e X-VCS-Branch: master Date: Tue, 1 Jun 2021 21:55:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c6f5b54-7d20-4b0a-be8e-bbff4a46d696 X-Archives-Hash: 86379cb923c34485c51dea82ba6089bd commit: f7b7c15da117ceb50850679f14573de8a1e22e4e Author: James Le Cuirot gentoo org> AuthorDate: Tue Jun 1 21:54:20 2021 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Jun 1 21:55:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b7c15d dev-cpp/htmlcxx: Patch to fix building with GCC 11 / C++-17 Closes: https://bugs.gentoo.org/786684 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: James Le Cuirot gentoo.org> dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch | 26 ++++++++++++++++++++++++++ dev-cpp/htmlcxx/htmlcxx-0.87.ebuild | 6 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) 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 00000000000..9f8f060de45 --- /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 fdcb01bc5cf..3ac9069308c 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() {