Module Name: src
Committed By: kre
Date: Mon Jun 10 07:31:51 UTC 2024
Modified Files:
src/tests/lib/libarchive: Makefile
src/tests/usr.bin/cpio: Makefile
src/tests/usr.bin/tar: Makefile
Log Message:
More libarchive build fallout. With these changes, "build.sh build"
works for me (amd64). Testing "build.sh release" in parallel with this
commit.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libarchive/Makefile
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/cpio/Makefile
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/tar/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libarchive/Makefile
diff -u src/tests/lib/libarchive/Makefile:1.8 src/tests/lib/libarchive/Makefile:1.9
--- src/tests/lib/libarchive/Makefile:1.8 Mon Jun 10 00:35:38 2024
+++ src/tests/lib/libarchive/Makefile Mon Jun 10 07:31:51 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2024/06/10 00:35:38 christos Exp $
+# $NetBSD: Makefile,v 1.9 2024/06/10 07:31:51 kre Exp $
NOMAN=
@@ -609,4 +609,5 @@ list.h: ${SRCS.h_libarchive} Makefile
COPTS.test_archive_string_conversion.c+= ${CC_WNO_STRINGOP_TRUNCATION}
COPTS.test_main.c+= ${CC_WNO_STRINGOP_OVERFLOW}
+COPTS.test_write_disk_secure.c+= ${CC_WNO_STRINGOP_OVERFLOW}
Index: src/tests/usr.bin/cpio/Makefile
diff -u src/tests/usr.bin/cpio/Makefile:1.4 src/tests/usr.bin/cpio/Makefile:1.5
--- src/tests/usr.bin/cpio/Makefile:1.4 Sun Jan 19 17:36:57 2020
+++ src/tests/usr.bin/cpio/Makefile Mon Jun 10 07:31:51 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/01/19 17:36:57 christos Exp $
+# $NetBSD: Makefile,v 1.5 2024/06/10 07:31:51 kre Exp $
NOMAN=
@@ -112,3 +112,5 @@ CLEANFILES+=list.h
list.h: ${SRCS.h_cpio} Makefile
${TOOL_GREP} -h '^DEFINE_TEST(' ${.ALLSRC} > ${.TARGET}
+
+COPTS.test_main.c+= ${CC_WNO_STRINGOP_OVERFLOW}
Index: src/tests/usr.bin/tar/Makefile
diff -u src/tests/usr.bin/tar/Makefile:1.4 src/tests/usr.bin/tar/Makefile:1.5
--- src/tests/usr.bin/tar/Makefile:1.4 Sun Jan 19 17:36:57 2020
+++ src/tests/usr.bin/tar/Makefile Mon Jun 10 07:31:51 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/01/19 17:36:57 christos Exp $
+# $NetBSD: Makefile,v 1.5 2024/06/10 07:31:51 kre Exp $
NOMAN=
@@ -119,3 +119,6 @@ CLEANFILES+=list.h
list.h: ${SRCS.h_tar} Makefile
${TOOL_GREP} -h '^DEFINE_TEST(' ${.ALLSRC} > ${.TARGET}
+
+COPTS.test_main.c+= ${CC_WNO_STRINGOP_OVERFLOW}
+COPTS.test_option_b.c+= ${CC_WNO_STRINGOP_OVERFLOW}