mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@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@gentoo.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user