Index: misc/posixtestsuite/patches/patch-Makefile =================================================================== RCS file: /home/cvs/ports/misc/posixtestsuite/patches/patch-Makefile,v retrieving revision 1.2 diff -u -p -u -p -r1.2 patch-Makefile --- misc/posixtestsuite/patches/patch-Makefile 8 May 2018 22:14:19 -0000 1.2 +++ misc/posixtestsuite/patches/patch-Makefile 31 Dec 2021 14:16:18 -0000 @@ -22,7 +22,7 @@ Index: Makefile $(MAKE) all | column -t -s: -CFLAGS = -g -O2 -Wall -Werror -D_POSIX_C_SOURCE=200112L -+CFLAGS = -g -O2 -Wall -Werror -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 ++CFLAGS = -g -O2 -Wall -Werror -Wno-unused-but-set-variable -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 # add -std=c99, -std=gnu99 if compiler supports it (gcc-2.95.3 does not). check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi)