public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/clockspeed/
Date: Sun, 11 May 2025 00:35:48 +0000 (UTC)	[thread overview]
Message-ID: <1746923696.0da1bcc7ae183ce356f93ceb9c9528c3d7d81302.sam@gentoo> (raw)

commit:     0da1bcc7ae183ce356f93ceb9c9528c3d7d81302
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Tue May  6 04:28:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 11 00:34:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da1bcc7

net-misc/clockspeed: build w/ -std=gnu17

* and don't call AR/RANLIB directly
* add myself as proxy maintainer

Closes: https://bugs.gentoo.org/730002
Closes: https://bugs.gentoo.org/730004
Closes: https://bugs.gentoo.org/946519
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41952
Closes: https://github.com/gentoo/gentoo/pull/41952
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/clockspeed/clockspeed-0.62-r9.ebuild |  6 ++++++
 net-misc/clockspeed/metadata.xml              | 19 +++++++++++++------
 2 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/net-misc/clockspeed/clockspeed-0.62-r9.ebuild b/net-misc/clockspeed/clockspeed-0.62-r9.ebuild
index ff6856a5012e..795bbec63e2d 100644
--- a/net-misc/clockspeed/clockspeed-0.62-r9.ebuild
+++ b/net-misc/clockspeed/clockspeed-0.62-r9.ebuild
@@ -30,9 +30,15 @@ PATCHES=(
 )
 
 src_configure() {
+	append-cflags -std=gnu17 # XXX https://bugs.gentoo.org/946519, workaround for gcc15
+
 	echo "$(tc-getCC) ${CFLAGS} ${ASFLAGS}" > conf-cc || die
 	use static && append-ldflags -static
 	echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+	sed -i \
+		-e "s:^echo 'ar cr :echo '$(tc-getAR) cr :g" \
+		-e "s:^  echo 'ranlib :  echo '$(tc-getRANLIB) :g" \
+		make-makelib.sh || die
 }
 
 src_install() {

diff --git a/net-misc/clockspeed/metadata.xml b/net-misc/clockspeed/metadata.xml
index 2c98407046f3..498248f969d4 100644
--- a/net-misc/clockspeed/metadata.xml
+++ b/net-misc/clockspeed/metadata.xml
@@ -1,10 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
-<longdescription lang="en">
-clockspeed uses a hardware tick counter to compensate for a persistently fast or
-slow system clock. Given a few time measurements from a reliable source, it
-computes and then eliminates the clock skew. 
-</longdescription>
+	<maintainer type="person" proxied="yes">
+		<email>zhixu.liu@gmail.com</email>
+		<name>Z. Liu</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription lang="en">
+	clockspeed uses a hardware tick counter to compensate for a persistently fast or
+	slow system clock. Given a few time measurements from a reliable source, it
+	computes and then eliminates the clock skew.
+	</longdescription>
 </pkgmetadata>


             reply	other threads:[~2025-05-11  0:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-11  0:35 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-16  9:27 [gentoo-commits] repo/gentoo:master commit in: net-misc/clockspeed/ Petr Vaněk
2025-01-16  9:27 Petr Vaněk
2024-10-29 22:13 Sam James
2024-10-29 19:08 Sam James
2022-04-09  4:32 Jason Zaman
2021-06-03  7:01 Joonas Niilola
2020-09-13  7:11 Sam James
2020-09-13  7:09 Sam James
2020-09-08 15:56 Thomas Deutschmann
2020-06-27 20:51 Aaron Bauman

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=1746923696.0da1bcc7ae183ce356f93ceb9c9528c3d7d81302.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