GNU Patch 2.7.6

This commit is contained in:
Andrius Štikonas 2021-05-27 21:54:41 +01:00
parent 22a435ba95
commit 32358fd94f
7 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1 @@
7885f8e8f9b41e2239c34053f22cffb31cce08ddbdfb85f03059ac6754db9c37 /after/bin/patch

View file

@ -0,0 +1,76 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
../gnulib-e017871/gnulib-tool --import \
--local-dir=gl \
--lib=libpatch \
--source-base=lib \
--m4-base=m4 \
--doc-base=doc \
--tests-base=tests \
--aux-dir=build-aux \
--makefile-name=gnulib.mk \
--no-conditional-dependencies \
--no-libtool \
--macro-prefix=gl \
argmatch \
backupfile \
clock-time \
diffseq \
dirname \
dup2 \
errno \
exitfail \
extensions \
faccessat \
fchmodat \
fchownat \
fcntl-h \
fstatat \
full-write \
getdate \
getopt-gnu \
gettime \
git-version-gen \
gitlog-to-changelog \
gnupload \
hash \
ignore-value \
intprops \
largefile \
linked-list \
maintainer-makefile \
malloc \
manywarnings \
memchr \
minmax \
mkdirat \
nstrftime \
openat \
progname \
quotearg \
readlinkat \
realloc \
renameat \
setenv \
signal \
size_max \
ssize_t \
stat-time \
stdbool \
stdlib \
symlinkat \
sys_stat \
tempname \
time \
unistd \
unlinkat \
update-copyright \
utimensat \
verror \
xalloc \
xlist \
xmemdup0

24
sysa/patch-2.7.6/patch-2.7.6.sh Executable file
View file

@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
../../import-gnulib.sh
# bison
rm lib/parse-datetime.c
autoreconf -fi
}
src_configure() {
./configure --prefix="${PREFIX}"
}
src_compile() {
make MAKEINFO=true
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}

View file

@ -50,6 +50,8 @@ build perl-5.32.1
build automake-1.16.3
build patch-2.7.6
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp