From nobody Tue Dec 06 02:09:50 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NR3lM1b5sz4jL97; Tue, 6 Dec 2022 02:09:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NR3lM0fZpz4My9; Tue, 6 Dec 2022 02:09:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670292591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vYlxLsBINFxCAaDfJBb4tWzvBInIO7gJwiUazTKrj2A=; b=i4W1ktcZRVsnZbAPfpN6+jf85mkqJT3RLho5OyFXwh3gils4IIRvbCE3luZbjkXhQQ7SjG pgsGVRGDl1l+a2fOeVemyb6GU6fvkawweac4FGIDPy/7KipcafGQPTyieVUuaXkmdCvotE F+v/De3EuHGe74c1Bqm8PxHc9xMJQU3wqYy24s/jrmjtE6vQTJ2GrsnY1I4pPdHcFBx5mL s+YP8QssIjF8H0BJ10YgVq4cLZ6jtFr22JKmST6i5eHbHe1KBQtBziVvmbCew3+x5b5ZKT 4eXrTyIWoXOETlHXWa31kiNes8nlEEh7KFYdd/69eoDBvhx/uHHCElk5m4JO8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670292591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vYlxLsBINFxCAaDfJBb4tWzvBInIO7gJwiUazTKrj2A=; b=Hc8HSO6+8nGBjlhytOX20Gzytdsl6HLePIZDUrSwnIOSlb0xNpGraTpUGIwlqdFkVfZ+aW +Whiz/Rj0Ipp3CbAfIo5uVT7Jm3YIXQTOFfzz90ve7q6wPFb5EevG4I5WcqobdarvvVgLN 8Di1CB29lwuLWdot0ocETuQxPowm0gtlShbjyB/KUd1PLVvplrNV9Rn0kgysnGixVVV3uQ 0wdCjHE+pBz8hyLx1xaDdm+n617dhXxUNpiVXadHLpKNt8PxeE3Q7ILzBv1vFZo5V79ekW slIXfcUEmm3ShQpmyj9BpT1nIlKlh4DLNBp+SUR9tDP/dVt5iayfnXpRQ3Bljg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670292591; a=rsa-sha256; cv=none; b=t2LPmnVLWaPYulOpvWgwpmDhp+ML3ClfVShGdWL1ET91IalJ5UvnmEfdqsanNVDoFHBp03 XoD2f7vrHdZrPtGPOrlev+MKvD7IJBBaBmaZYAYn8kkgXNmrxhy+y0BKOIu9mXJjz0CDln 2UJUn+3EI5Aqkr8mTEISX4ALVd9j/W7nuNaeof5rqh8c77upX4T46w+IFR1HBKsivxnaiu djkuLBGT1sRaRnnN1sNf2zphoPDq7WbUWZcmDfcQX+9crRgp06h06J4FCv4XIgcLk1z7yh L9HWyTlvuqNIwE79KQnjLnTV+L+MUUPylqUUGeSNB9nw85wYbnfmzuzFrB6SVg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NR3lL6jQ6zKjm; Tue, 6 Dec 2022 02:09:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B629o9s053856; Tue, 6 Dec 2022 02:09:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B629ob1053855; Tue, 6 Dec 2022 02:09:50 GMT (envelope-from git) Date: Tue, 6 Dec 2022 02:09:50 GMT Message-Id: <202212060209.2B629ob1053855@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 6b574b3ba99a - main - stand/zlib: Document the upstream issue behind NO_DEPRECATED_NON_PROTOTYPE List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6b574b3ba99af4ae81d4c619057e737e67523907 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6b574b3ba99af4ae81d4c619057e737e67523907 commit 6b574b3ba99af4ae81d4c619057e737e67523907 Author: Warner Losh AuthorDate: 2022-12-05 23:55:04 +0000 Commit: Warner Losh CommitDate: 2022-12-05 23:59:58 +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 --- stand/libsa/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile index 4eccf0f9b132..8248c4a1ba74 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