From 35c358fe5a0355a83e92dd0854828e9344e86289 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 18 Dec 2025 18:38:57 +0100 Subject: [PATCH] steps/utils-std-0.1.2: add --- steps/utils-std-0.1.2/pass1.sh | 18 ++++++++++++++++++ steps/utils-std-0.1.2/sources | 1 + 2 files changed, 19 insertions(+) create mode 100644 steps/utils-std-0.1.2/pass1.sh create mode 100644 steps/utils-std-0.1.2/sources diff --git a/steps/utils-std-0.1.2/pass1.sh b/steps/utils-std-0.1.2/pass1.sh new file mode 100644 index 00000000..92871648 --- /dev/null +++ b/steps/utils-std-0.1.2/pass1.sh @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2025 Haelwenn (lanodan) Monnier +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default + + sed -i s/_Noreturn// libutils/err.h + + # getconf: to avoid changing libtool checksums, although likely means better values + # which: to avoid changing checksums of packages like perl-5.36.3_0 + sed -i '/^commands="$/,/^"$/{ s,getconf,, ; s,which,, }' configure +} + +src_configure() { + chmod +x configure + ./configure PREFIX="${PREFIX}" CC=tcc AR=tcc\ -ar +} diff --git a/steps/utils-std-0.1.2/sources b/steps/utils-std-0.1.2/sources new file mode 100644 index 00000000..52d44491 --- /dev/null +++ b/steps/utils-std-0.1.2/sources @@ -0,0 +1 @@ +f https://distfiles.hacktivis.me/releases/utils-std/utils-std-0.1.2.tar.gz aecc9cd81b3505322d9bfcc413627e41f777536cd694029794540b739e74f353