Date: Tue, 24 Jan 2023 22:13:57 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 8eed23716454 - stable/13 - stand/zlib: Document the upstream issue behind NO_DEPRECATED_NON_PROTOTYPE Message-ID: <202301242213.30OMDvIH089154@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8eed237164540d1e02ad77605380708eefb80c0e commit 8eed237164540d1e02ad77605380708eefb80c0e Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-12-05 23:55:04 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-24 21:49:43 +0000 stand/zlib: Document the upstream issue behind NO_DEPRECATED_NON_PROTOTYPE The zlib project has issue https://github.com/madler/zlib/issues/633 to document its continued use of old K&R-style function definitions. Suggested by: delphij@ Sponsored by: Netflix (cherry picked from commit 6b574b3ba99af4ae81d4c619057e737e67523907) --- stand/libsa/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile index 580afa65ab85..e3bff3cccddb 100644 --- a/stand/libsa/Makefile +++ b/stand/libsa/Makefile @@ -95,6 +95,8 @@ SRCS+=${i} .endfor # decompression functionality from zlib +# https://github.com/madler/zlib/issues/633 documents why we suppress deprecated +# prototype warnings. .PATH: ${SRCTOP}/sys/contrib/zlib ZLIB_CFLAGS=-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib ${NO_WDEPRECATED_NON_PROTOTYPE} .for i in adler32.c crc32.c infback.c inffast.c inflate.c inftrees.c zutil.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301242213.30OMDvIH089154>