15 lines
298 B
Text
Executable file
15 lines
298 B
Text
Executable file
name=m4
|
|
version=1.4.19
|
|
source="http://ftp.gnu.org/gnu/m4/m4-$version.tar.xz"
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# fixes required by glibc-2.28
|
|
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
|
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
|
|
|
./configure --prefix=/tools
|
|
make
|
|
make install
|
|
}
|