public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/
Date: Tue, 11 Oct 2022 08:56:35 +0000 (UTC)	[thread overview]
Message-ID: <1665478564.bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1.ionen@gentoo> (raw)

commit:     bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:27:44 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 08:56:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff06d43

x11-misc/xsnap: pass -std=gnu89

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-misc/xsnap/xsnap-1.5.15-r3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
index 560e1574bb68..c68de841d51c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
 HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
@@ -52,6 +52,8 @@ src_prepare() {
 }
 
 src_configure() {
+	append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
 	CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
 		IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
 }


             reply	other threads:[~2022-10-11  8:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11  8:56 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-30 11:02 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsnap/ Ionen Wolkens
2022-09-30 11:02 Ionen Wolkens
2021-04-15  6:39 Joonas Niilola
2021-03-15 21:39 Sam James
2021-03-15 21:25 Sam James
2021-03-15 21:21 Sam James
2021-03-15 21:18 Sam James
2020-02-02 20:16 Jeroen Roovers
2017-04-01 10:24 David Seifert
2017-03-22  7:30 Michael Weber
2017-03-21 14:34 Agostino Sarubbo
2017-03-20 11:04 Agostino Sarubbo
2017-03-07  9:14 David Seifert
2017-02-21  8:14 David Seifert

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=1665478564.bff06d43a2f62c8e1e88eb2eca4b88cf266cd6e1.ionen@gentoo \
    --to=ionen@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