Update m4 from 1.4 to 1.4.4.

This commit is contained in:
Andrius Štikonas 2021-02-04 21:29:33 +00:00
parent fb522be854
commit 3e7b17c03e
6 changed files with 10 additions and 21 deletions

View file

@ -8,7 +8,9 @@ AR = tcc -ar
CFLAGS = -DPACKAGE=\"$(PACKAGE)\" \
-DVERSION=\"$(VERSION)\" \
-DHAVE_DIRENT_H=1 \
-DHAVE_UNISTD_H=1
-DHAVE_UNISTD_H=1 \
-DHAVE_STRERROR=1 \
-DREGEX_MALLOC=1
.PHONY: all

View file

@ -7,7 +7,9 @@ AR = tcc -ar
CFLAGS = -I lib \
-DPRODUCT=\"$(PRODUCT)\" \
-DVERSION=\"$(VERSION)\"
-DVERSION=\"$(VERSION)\" \
-DHAVE_SIGNAL_H=1 \
-DPACKAGE_STRING=\"GNU\ M4\ 1.4.4\"
LDFLAGS = -L . -lm4

View file

@ -1,15 +0,0 @@
sys/signal.h is not the POSIX appropriate place for signal.h, which mes libc
attempts to conform to.
diff -r -U3 src/m4.c src/m4.c
--- src/m4.c 1994-11-02 03:14:28.000000000 +0000
+++ src/m4.c 2021-01-15 00:19:21.947654461 +0000
@@ -19,7 +19,7 @@
#include "m4.h"
#include <getopt.h>
-#include <sys/signal.h>
+#include <signal.h>
static void usage _((int));

View file

@ -10,7 +10,7 @@ set -e
export PREFIX=/after
# Part 21
build m4-1.4
build m4-1.4.4
# Part 22
build flex-2.5.11