commit: f06a09623408b03131890042efcafc84c203be7c Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Tue Jun 23 08:47:54 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Tue Jun 23 08:48:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06a0962
app-editors/hteditor: force -std=c++98 Workaround build failure on clang by downgrading doen to C++ 98. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/729252 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> app-editors/hteditor/hteditor-2.1.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-editors/hteditor/hteditor-2.1.0-r1.ebuild b/app-editors/hteditor/hteditor-2.1.0-r1.ebuild index 16a7ab4322f..5b912857bc6 100644 --- a/app-editors/hteditor/hteditor-2.1.0-r1.ebuild +++ b/app-editors/hteditor/hteditor-2.1.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs MY_P=${P/editor} @@ -39,6 +39,12 @@ PATCHES=( src_prepare() { default eautoreconf + + # Many literals are concatenated with macro definitions. + # Instead of patching them all let's pick old c++ standard + # and port to c++11 upstream. + # https://bugs.gentoo.org/729252 + append-cxxflags -std=c++98 } src_configure() {
