mirror of
https://https.git.savannah.gnu.org/git/patch.git
synced 2026-01-27 01:44:34 +00:00
The bug is extremely unlikely, but it’s easy to fix. * bootstrap.conf (gnulib_modules): Add stpcpy. * src/util.c (SCCSPREFIX): Now a macro, so that it can be concatenated. (try1, try2): Remove these macros. Replace all uses with ... (trystat): ... this new function. * src/util.c (version_controller, make_tempfile): Avoid issues with sprintf result exceeding INT_MAX.
103 lines
1.6 KiB
Bash
103 lines
1.6 KiB
Bash
# Bootstrap configuration. -*- sh -*-
|
|
|
|
# Copyright 2006-2024 Free Software Foundation, Inc.
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
# gnulib modules used by this package.
|
|
gnulib_modules="
|
|
alloca
|
|
argmatch
|
|
backupfile
|
|
clock-time
|
|
diffseq
|
|
dirname
|
|
dup2
|
|
errno
|
|
execute
|
|
exitfail
|
|
extensions
|
|
faccessat
|
|
fchownat
|
|
fchmodat
|
|
fcntl-h
|
|
fstatat
|
|
full-write
|
|
getopt-gnu
|
|
gettime
|
|
gitlog-to-changelog
|
|
git-version-gen
|
|
gnupload
|
|
hash
|
|
ignore-value
|
|
intprops
|
|
inttypes
|
|
largefile
|
|
linked-list
|
|
maintainer-makefile
|
|
malloc-gnu
|
|
manywarnings
|
|
memchr
|
|
mempcpy
|
|
minmax
|
|
mkdirat
|
|
nstrftime
|
|
openat
|
|
parse-datetime
|
|
progname
|
|
quotearg
|
|
raise
|
|
readlinkat
|
|
realloc-gnu
|
|
renameat
|
|
setenv
|
|
sigaction
|
|
signal-h
|
|
sigprocmask
|
|
ssize_t
|
|
stat-time
|
|
stdbool
|
|
stdckdint
|
|
stdlib
|
|
stpcpy
|
|
symlinkat
|
|
sys_stat
|
|
tempname
|
|
time
|
|
unistd
|
|
unlinkat
|
|
update-copyright
|
|
utimensat
|
|
verror
|
|
xalloc
|
|
xlist
|
|
xmemdup0
|
|
year2038-recommended
|
|
"
|
|
|
|
# Build prerequisites
|
|
buildreq="\
|
|
autoconf 2.59
|
|
automake 1.9.6
|
|
git 1.5.5
|
|
tar -
|
|
"
|
|
|
|
bootstrap_post_import_hook ()
|
|
{
|
|
# Automake requires that ChangeLog exist.
|
|
touch ChangeLog || exit 1
|
|
}
|