From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1280472-garchives=archives.gentoo.org@lists.gentoo.org> 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 39D171382C5 for <garchives@archives.gentoo.org>; Mon, 10 May 2021 13:36:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6387AE078A; Mon, 10 May 2021 13:36:11 +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 49536E078A for <gentoo-commits@lists.gentoo.org>; Mon, 10 May 2021 13:36:11 +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 F2E9633D7EF for <gentoo-commits@lists.gentoo.org>; Mon, 10 May 2021 13:36:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06E7D4D2 for <gentoo-commits@lists.gentoo.org>; Mon, 10 May 2021 13:36:08 +0000 (UTC) From: "Marek Szuba" <marecki@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" <marecki@gentoo.org> Message-ID: <1620653756.2a02593d5d00bf736d0f1bc40677cdc6f77487fb.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/rxvt-unicode/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/rxvt-unicode/rxvt-unicode-9.22-r8.ebuild X-VCS-Directories: x11-terms/rxvt-unicode/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 2a02593d5d00bf736d0f1bc40677cdc6f77487fb X-VCS-Branch: master Date: Mon, 10 May 2021 13:36:08 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 64e8b3e9-bbbb-4418-aed3-1c5260509838 X-Archives-Hash: ef3b778ef324b82782b6ffa171d76096 commit: 2a02593d5d00bf736d0f1bc40677cdc6f77487fb Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Mon May 10 13:18:30 2021 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Mon May 10 13:35:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a02593d x11-terms/rxvt-unicode-9.22-r8: append -std=c++14 to CXXFLAGS Bundled libev is not compatible with C++17 (which is the default C++ mode in gcc-11), and both unbundling and the backporting of updated libev from rxvt-unicode CVS repository have turned out to be non-trivial. Have chosen C++14 here because this is the default in gcc-10 (as well as all older GCC versions starting with 6.1) [1], and we know that in spite of much of its code base being older rxvt-unicode builds fine with gcc-10. clang shouldn't have any problems with this either, given it has supported this C++ standard since version 3.4 [2]. [1] https://gcc.gnu.org/projects/cxx-status.html [2] https://clang.llvm.org/cxx_status.html Closes: https://bugs.gentoo.org/787104 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> x11-terms/rxvt-unicode/rxvt-unicode-9.22-r8.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r8.ebuild b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r8.ebuild index e523d4cf0e3..34b761b6772 100644 --- a/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r8.ebuild +++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r8.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools desktop systemd prefix +inherit autotools desktop flag-o-matic systemd prefix COLOUR_PATCH_NAME="${PN}-9.22_24-bit-color_cpixl-20201108.patch" @@ -50,6 +50,9 @@ DOCS=( ) src_prepare() { + # Bug #787104 + append-cxxflags -std=c++14 + default # kill the rxvt-unicode terminfo file - #192083