From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mosh/
Date: Thu, 5 Sep 2024 16:55:44 +0000 (UTC) [thread overview]
Message-ID: <1725555323.694c3954f69c851f50aabf227597c6bd7fbeee25.sam@gentoo> (raw)
commit: 694c3954f69c851f50aabf227597c6bd7fbeee25
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Thu Sep 5 09:29:51 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 16:55:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694c3954
net-misc/mosh: set -std=gnu++17 for newer abseil-cpp
Setting the C++ standard via append-cxxflags ignores the configure.ac logic that
already does that for the same reasons and leads to duplicate flats. To rectify
that, change the targeted standard in configure.ac itself.
Closes: https://bugs.gentoo.org/935130
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/mosh/mosh-1.4.0.ebuild | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/net-misc/mosh/mosh-1.4.0.ebuild b/net-misc/mosh/mosh-1.4.0.ebuild
index 8792d6668383..02cffd896095 100644
--- a/net-misc/mosh/mosh-1.4.0.ebuild
+++ b/net-misc/mosh/mosh-1.4.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools bash-completion-r1 flag-o-matic
+inherit autotools bash-completion-r1
MY_P=${PN}-${PV/_rc/rc}
DESCRIPTION="Mobile shell that supports roaming and intelligent local echo"
@@ -51,15 +51,20 @@ PATCHES=(
src_prepare() {
default
+ # abseil-cpp needs >=c++14
+ local CXXSTD="14"
+ if has_version ">=dev-cpp/abseil-cpp-20240722.0"; then
+ # needs >=c++17
+ CXXSTD="17"
+ fi
+ sed -e "/AX_CXX_COMPILE_STDCXX/{s/11/${CXXSTD}/}" -i configure.ac || die
+
eautoreconf
}
src_configure() {
MAKEOPTS+=" V=1"
- # protobuf needs >=c++14
- append-cxxflags -std=gnu++14
-
local myeconfargs=(
# We install it ourselves in src_install
--disable-completion
next reply other threads:[~2024-09-05 16:55 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 16:55 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-05 16:57 [gentoo-commits] repo/gentoo:master commit in: net-misc/mosh/ Sam James
2024-08-25 15:21 Fabian Groffen
2023-08-21 19:22 Sam James
2023-08-21 18:51 Sam James
2023-08-15 4:22 Sam James
2023-01-13 14:16 Arthur Zamarin
2023-01-03 18:32 Sam James
2023-01-03 18:32 Sam James
2023-01-03 18:28 Sam James
2023-01-03 18:28 Sam James
2023-01-03 18:22 Arthur Zamarin
2023-01-03 18:22 Arthur Zamarin
2023-01-03 18:22 Arthur Zamarin
2022-10-27 4:48 Sam James
2022-09-23 1:08 Sam James
2022-08-05 1:27 Sam James
2022-08-05 1:27 Sam James
2022-08-04 3:40 Sam James
2022-08-04 3:40 Sam James
2022-08-04 3:28 Sam James
2022-07-28 13:59 Sam James
2022-05-05 10:06 WANG Xuerui
2022-03-08 17:37 Jakov Smolić
2022-03-08 17:37 Jakov Smolić
2022-02-04 7:23 Agostino Sarubbo
2022-02-04 7:22 Agostino Sarubbo
2022-02-03 6:03 Sam James
2022-02-02 22:25 Sam James
2022-02-02 9:47 Sam James
2022-02-02 9:47 Sam James
2022-02-02 9:47 Sam James
2022-02-02 9:47 Sam James
2022-02-01 6:56 Sam James
2021-10-27 19:07 Amy Liffey
2021-10-27 19:07 Amy Liffey
2021-04-29 17:09 Mikle Kolyada
2020-10-24 11:08 Sergei Trofimovich
2020-10-24 11:03 Sergei Trofimovich
2020-10-21 1:10 Sam James
2020-10-21 0:32 Sam James
2020-07-18 23:29 Patrick McLean
2020-01-05 13:57 Amy Liffey
2020-01-05 13:57 Amy Liffey
2020-01-03 19:19 Patrice Clement
2019-12-11 22:06 Matt Turner
2019-12-04 2:34 Matt Turner
2019-11-17 4:02 Matt Turner
2019-08-31 19:58 Matt Turner
2019-08-31 19:58 Matt Turner
2019-08-31 19:58 Matt Turner
2019-08-31 19:58 Matt Turner
2019-01-05 19:39 Patrick McLean
2019-01-05 19:39 Patrick McLean
2019-01-02 11:39 Justin Lecher
2018-05-27 8:42 Mikle Kolyada
2018-04-17 22:09 Thomas Deutschmann
2018-04-16 22:54 Aaron Bauman
2018-04-15 11:34 David Seifert
2017-11-26 23:23 David Seifert
2017-07-29 8:48 Patrice Clement
2017-04-05 0:02 Michael Weber
2017-04-04 23:09 Patrice Clement
2017-02-05 13:56 Michael Weber
2017-02-05 12:58 Michael Weber
2017-01-30 13:09 Agostino Sarubbo
2017-01-29 22:35 Michael Weber
2017-01-29 22:35 Michael Weber
2016-11-12 14:21 Justin Lecher
2016-08-17 21:41 Manuel Rüger
2015-08-12 15:20 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1725555323.694c3954f69c851f50aabf227597c6bd7fbeee25.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox