Build touch in coreutils-5.0 pass2

Better touch is very useful for packaging.
This commit is contained in:
fosslinux 2022-01-14 21:54:13 +11:00
parent b8ef19150c
commit 07d4408fb6
2 changed files with 4 additions and 1 deletions

View file

@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
src_dir="${base_dir}/src"
@ -17,6 +18,8 @@ src_prepare() {
cp lib/search_.h lib/search.h
touch config.h
patch -Np0 -i ../../patches/touch-getdate.patch
# Bison pre-generated file
rm lib/getdate.c