Add m4 1.4.19

This commit is contained in:
fosslinux 2024-02-06 17:44:32 +11:00
parent ba9d182471
commit 6b4ec19e19
6 changed files with 118 additions and 0 deletions

View File

@ -1274,3 +1274,10 @@ gawk 5.3.0
Similarly to diffutils, our gawk is currently very ancient (1999). That doesn't
cut it for modern software such as glibc. We update gawk to a much more modern
version.
m4 1.4.19
=========
We are in need of a newer version of m4 for some modern software. Attempts to
update m4 1.4.7 earlier in the bootstrap demonstrate some issues with Fiwix,
so we build a newer m4 at the end of the bootstrap instead.

View File

@ -79,6 +79,7 @@ daae709e98d2df2190d1d13b4e86f7f3fe90fa7a975282fe0bb03289b6539f29 libtool-2.2.4_
576c04a4b2ccbfe6b48f5f16e8bd59469e359bdc77458ed82a4025da98ad6dcb linux-4.9.10_0.tar.bz2
d15c922973c15a8206e09020e8cfe6a78f7e93614de212f2b37ff80163799c6c linux-headers-4.9.10_0.tar.bz2
bd3885a389d3e058081e099850f95aa7938ce1d9b88a187aea6b7196124fbcfe m4-1.4.7_0.tar.bz2
78b0cf6d9312e53c613186cbddd5f747310f375c1f322f33a6ac33682d2f3389 m4-1.4.19_0.tar.bz2
e69554b0a77b419ddd5d0a0e418ba4005ecd0f6784c92a6928a0270bd929a098 make-3.82_0.tar.bz2
6d24960d6a987f68a7e0e3abf6edb52d2e0fe4c86f6ba45327e9634dbf7d40b4 make-4.2.1_0.tar.bz2
17cd976bc0f6e897c6fffe43dd7c55d93ce0adadf1b4dc72925b80e2d266519f mpc-1.2.1_0.tar.bz2

View File

@ -0,0 +1,87 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
../gnulib-3639c57/gnulib-tool --import --local-dir=gl \
--lib=libm4 \
--source-base=lib \
--m4-base=m4 \
--doc-base=doc \
--tests-base=tests \
--aux-dir=build-aux \
--with-tests \
--with-c++-tests \
--makefile-name=gnulib.mk \
--no-conditional-dependencies \
--no-libtool \
--macro-prefix=M4 \
--avoid=getopt-posix-tests \
--avoid=lock-tests \
--avoid=tls-tests \
announce-gen \
assert \
attribute \
autobuild \
avltree-oset \
binary-io \
c-ctype \
c-stack \
clean-temp \
close-stream \
closein \
config-h \
configmake \
dirname \
do-release-commit-and-tag \
error \
execute \
fclose \
fdl-1.3 \
fflush \
filenamecat \
fopen-gnu \
fopen-safer \
fseeko \
gendocs \
getopt-gnu \
gettext-h \
git-version-gen \
gitlog-to-changelog \
gnu-web-doc-update \
gnumakefile \
gnupload \
gpl-3.0 \
ignore-value \
intprops \
maintainer-makefile \
manywarnings \
memchr2 \
mkstemp \
obstack \
progname \
propername \
regex \
rename \
setlocale \
sigaction \
sigpipe \
spawn-pipe \
stdbool \
stdint \
stdlib-safer \
strsignal \
strstr \
strtod \
unlocked-io \
update-copyright \
vc-list-files \
verify \
verror \
version-etc \
version-etc-fsf \
wait-process \
xalloc \
xoset \
xprintf \
xvasprintf-posix

20
steps/m4-1.4.19/pass1.sh Normal file
View File

@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
. ../../import-gnulib.sh
rm doc/*.1
rm lib/iconv_open*.h
autoreconf-2.71 -fi
}
src_configure() {
LDFLAGS="-latomic" \
./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}"
}

2
steps/m4-1.4.19/sources Normal file
View File

@ -0,0 +1,2 @@
https://mirrors.kernel.org/gnu/m4/m4-1.4.19.tar.xz 63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
http://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-3639c57.tar.gz 97dfbad67832641bc7f73437617b78abeafb9946723f19cf4c2ceecfc65fa48d

View File

@ -203,6 +203,7 @@ build: opendoas-6.8.2
build: gzip-1.13
build: diffutils-3.10
build: gawk-5.3.0
build: m4-1.4.19
improve: cleanup_filesystem
improve: null_time ( FORCE_TIMESTAMPS == True )
improve: update_checksums ( UPDATE_CHECKSUMS == True )