41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
Index: misc/posixtestsuite/Makefile
|
|
===================================================================
|
|
RCS file: /home/cvs/ports/misc/posixtestsuite/Makefile,v
|
|
retrieving revision 1.6
|
|
diff -u -p -u -p -r1.6 Makefile
|
|
--- misc/posixtestsuite/Makefile 12 Jul 2019 20:47:53 -0000 1.6
|
|
+++ misc/posixtestsuite/Makefile 1 Jan 2022 09:55:46 -0000
|
|
@@ -3,7 +3,7 @@
|
|
COMMENT = open POSIX test suite
|
|
|
|
DISTNAME = posixtestsuite-1.5.2
|
|
-REVISION = 3
|
|
+REVISION = 4
|
|
|
|
CATEGORIES = misc
|
|
|
|
@@ -166,3 +166,7 @@ do-install:
|
|
${PREFIX}/bin/posixtestsuite-html
|
|
|
|
.include <bsd.port.mk>
|
|
+
|
|
+.if ${CHOSEN_COMPILER:Mbase-clang}
|
|
+CFLAGS += -Wno-error=unused-but-set-variable
|
|
+.endif
|
|
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 1 Jan 2022 10:30:52 -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 += -Wall -Werror -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)
|