patch/bootstrap.conf
Paul Eggert 7608746040 More fixing of printing of very long strings
* bootstrap.conf (gnulib_modules): Add nullptr.
* src/patch.c (if_defined, not_defined):
Now merely strings, not printf formats.  All uses changed.
(putline): New static function.
(print_header_line, abort_hunk_unified, abort_hunk_context)
(apply_hunk): Use it to remove assumptions that string
lengths fit in int.  Also, prefer fputs to printf with plain %s.
(print_header_line): TAG arg now is assumed to have an appended ' ',
to save us the trouble of outputting ' ' separately.  All uses changed.
2024-08-28 23:13:44 -07:00

104 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
nullptr
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
}