From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/cgit/
Date: Sat, 03 May 2025 04:58:40 +0000 (UTC) [thread overview]
Message-ID: <1746248294.b3e6f910ef8cf28cbbfecc0bd98844082c856657.sam@gentoo> (raw)
commit: b3e6f910ef8cf28cbbfecc0bd98844082c856657
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 3 04:57:35 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 3 04:58:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e6f910
www-apps/cgit: build w/ -std=gnu17
These can be dropped w/ newer git but not going to test that right now.
Closes: https://bugs.gentoo.org/951555
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-apps/cgit/cgit-1.2.3-r203.ebuild | 7 +++++--
www-apps/cgit/cgit-1.2.3_p20240802.ebuild | 5 ++++-
www-apps/cgit/cgit-9999-r1.ebuild | 8 ++++++--
www-apps/cgit/cgit-9999.ebuild | 8 ++++++--
4 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/www-apps/cgit/cgit-1.2.3-r203.ebuild b/www-apps/cgit/cgit-1.2.3-r203.ebuild
index 10bd2be664b3..78ee22ac8b71 100644
--- a/www-apps/cgit/cgit-1.2.3-r203.ebuild
+++ b/www-apps/cgit/cgit-1.2.3-r203.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..12} )
WEBAPP_MANUAL_SLOT="yes"
-inherit lua-single python-single-r1 tmpfiles toolchain-funcs webapp
+inherit flag-o-matic lua-single python-single-r1 tmpfiles toolchain-funcs webapp
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
@@ -61,6 +61,9 @@ src_configure() {
mv "${WORKDIR}"/git-"${GIT_V}" git || die
fi
+ # bug #951555
+ append-cflags -std=gnu17
+
echo "prefix = ${EPREFIX}/usr" >> cgit.conf || die "echo prefix failed"
echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf || die "echo libdir failed"
echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf || die "echo CGIT_SCRIPT_PATH failed"
diff --git a/www-apps/cgit/cgit-1.2.3_p20240802.ebuild b/www-apps/cgit/cgit-1.2.3_p20240802.ebuild
index 7b4f19a25e7e..8380152773c3 100644
--- a/www-apps/cgit/cgit-1.2.3_p20240802.ebuild
+++ b/www-apps/cgit/cgit-1.2.3_p20240802.ebuild
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..13} )
WEBAPP_MANUAL_SLOT="yes"
-inherit lua-single python-single-r1 tmpfiles toolchain-funcs webapp
+inherit flag-o-matic lua-single python-single-r1 tmpfiles toolchain-funcs webapp
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
@@ -66,6 +66,9 @@ src_configure() {
mv "${WORKDIR}"/git-"${GIT_V}" git || die
fi
+ # bug #951555
+ append-cflags -std=gnu17
+
echo "prefix = ${EPREFIX}/usr" >> cgit.conf || die "echo prefix failed"
echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf || die "echo libdir failed"
echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf || die "echo CGIT_SCRIPT_PATH failed"
diff --git a/www-apps/cgit/cgit-9999-r1.ebuild b/www-apps/cgit/cgit-9999-r1.ebuild
index 8b6fded5c051..648f5145540e 100644
--- a/www-apps/cgit/cgit-9999-r1.ebuild
+++ b/www-apps/cgit/cgit-9999-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..12} )
WEBAPP_MANUAL_SLOT="yes"
-inherit lua-single python-single-r1 tmpfiles toolchain-funcs webapp git-r3
+inherit flag-o-matic lua-single python-single-r1 tmpfiles toolchain-funcs webapp git-r3
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
@@ -68,6 +68,10 @@ src_configure() {
rmdir git || die
mv "${WORKDIR}"/git-"${GIT_V}" git || die
fi
+
+ # bug #951555
+ append-cflags -std=gnu17
+
echo "prefix = ${EPREFIX}/usr" >> cgit.conf || die "echo prefix failed"
echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf || die "echo libdir failed"
echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf || die "echo CGIT_SCRIPT_PATH failed"
diff --git a/www-apps/cgit/cgit-9999.ebuild b/www-apps/cgit/cgit-9999.ebuild
index 1fab1a1e34a9..8412f8c1677a 100644
--- a/www-apps/cgit/cgit-9999.ebuild
+++ b/www-apps/cgit/cgit-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..12} )
WEBAPP_MANUAL_SLOT="yes"
-inherit lua-single python-single-r1 tmpfiles toolchain-funcs webapp git-r3
+inherit flag-o-matic lua-single python-single-r1 tmpfiles toolchain-funcs webapp git-r3
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
@@ -65,6 +65,10 @@ src_configure() {
rmdir git || die
mv "${WORKDIR}"/git-"${GIT_V}" git || die
fi
+
+ # bug #951555
+ append-cflags -std=gnu17
+
echo "prefix = ${EPREFIX}/usr" >> cgit.conf || die "echo prefix failed"
echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf || die "echo libdir failed"
echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf || die "echo CGIT_SCRIPT_PATH failed"
next reply other threads:[~2025-05-03 4:58 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-03 4:58 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-07 16:43 [gentoo-commits] repo/gentoo:master commit in: www-apps/cgit/ Viorel Munteanu
2025-09-02 11:48 Sam James
2025-09-02 10:51 Sam James
2025-09-02 10:51 Sam James
2025-07-07 7:44 Viorel Munteanu
2025-07-07 7:44 Viorel Munteanu
2025-07-07 7:44 Viorel Munteanu
2025-07-07 7:44 Viorel Munteanu
2025-05-02 9:37 Arthur Zamarin
2025-05-02 1:45 Sam James
2025-05-02 1:45 Sam James
2025-03-18 13:57 Sam James
2025-03-18 13:57 Sam James
2024-05-29 17:37 Sam James
2024-05-29 11:47 Sam James
2024-05-29 6:26 Jakov Smolić
2024-05-08 3:15 Robin H. Johnson
2024-04-15 17:44 Viorel Munteanu
2023-04-25 2:22 Sam James
2022-10-24 22:52 Yixun Lan
2022-10-20 10:56 Jakov Smolić
2022-10-20 10:52 Jakov Smolić
2022-10-16 8:54 Agostino Sarubbo
2022-10-15 15:13 Sam James
2022-07-29 18:57 Matt Turner
2022-07-29 18:57 Matt Turner
2022-07-29 18:57 Matt Turner
2021-05-02 8:08 Mikle Kolyada
2021-02-07 23:00 Aaron Bauman
2021-01-25 17:38 Marek Szuba
2021-01-23 22:51 Sam James
2021-01-23 4:20 Sam James
2021-01-23 4:09 Sam James
2020-11-27 20:16 Aaron Bauman
2020-11-27 20:11 Aaron Bauman
2020-03-23 22:35 Matt Turner
2020-03-23 22:35 Matt Turner
2020-03-23 22:19 Matt Turner
2020-03-23 22:19 Matt Turner
2020-03-14 3:26 Jason A. Donenfeld
2020-01-13 20:53 Jason A. Donenfeld
2020-01-02 3:02 Stefan Strogin
2019-12-16 9:39 Michał Górny
2019-12-15 20:42 Michał Górny
2019-10-05 18:56 Michał Górny
2019-09-29 20:59 Ben Kohler
2018-08-07 23:01 Mart Raudsepp
2018-08-04 14:53 Jason Donenfeld
2018-08-03 15:14 Jason Donenfeld
2018-07-13 22:30 Jason Donenfeld
2018-05-18 12:34 Aaron Bauman
2017-04-05 13:45 Michael Weber
2017-02-12 17:37 Robin H. Johnson
2016-02-22 18:20 Jason Donenfeld
2016-02-12 3:38 Jason Donenfeld
2016-01-14 14:52 Jason Donenfeld
2016-01-14 14:51 Jason Donenfeld
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=1746248294.b3e6f910ef8cf28cbbfecc0bd98844082c856657.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