From nobody Sun Sep 3 18:49:08 2023 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 4Rf15J68Fsz4rtBY; Sun, 3 Sep 2023 18:49:08 +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 4Rf15J5jz0z3f8t; Sun, 3 Sep 2023 18:49:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693766948; 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=dZTpcN/QSkKSTS8M8eVKT0+XXlTwH7RtLFzLS+gw3Rs=; b=aTGE02hrOaR+m2kQH5M3u0PHyU6e8tPZxOaM1ayaZdR8YE0RvfgZvuGTpEPQp2WTHFtRJL ZWtaETqxM497N2N2+J/VAAnZqbKete0UwAa7kIe502xTQU5XGQ8yPIo+APDTrQO5AMO7DR dDMCl22xxJlXfyAlk7JuD4Gr2ovSV7AIPqsEfTXHafFRExt/Y98laHP57Wh9Zy9pjViJNB UrAztieubot+hkaPzDB9f2RwR4FLR0kXuaxyd0ulBcG3NYkkh6+WpNpplrRGLFWD5p9oL+ 1MspTpZyGRhA7WMs/WDWL274tgjLM/8CdlpvbezLTHWowtGvJzbWyWoEkjuhlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693766948; a=rsa-sha256; cv=none; b=oYmeg9sb6piF5Vs9SZ7yaBhTO2EiscyHJ6A647vNDRFC6X2TcgAHYNuc6P6ezO8c92OaOh nJIRhnjLrfYnVdu2bY3yn6DcDHT9hf2hGmQRVfBgJ18PtXmwMM9hvSB70QhTysaV9Q7oxt 5C6hs8jDKTh1htAhTMtJhCPfA8A5oGUxsgBIXrQHty8e4PPhZNUVuxYtJ1b/NkJB8whB2E FDaLu/zNrfF3v7Tm9yAw2s1nS9ltUygvRmU2Q5wjOkUGYgBLyG2r3NYTduYT7cpueY3o5J JEfQaQqtJfwtEsrPFl3tmPYuSupnR2ia3niJcO2bt266Tz3yDOwAtwLsAlPmWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693766948; 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=dZTpcN/QSkKSTS8M8eVKT0+XXlTwH7RtLFzLS+gw3Rs=; b=ORPQlQqTqJBM6LrgPN8QzMcwC9+pPaVZAw2UL3N0nJfOna2WKs3bARUUuqa2EuwGnGVOml mGaZTWn1XFcNbzTCeHTnRJNhNA32BfJ4Vw18e2e0ujjCTKkO9mfj4oUxmgmSkypjEl1gLE jhogKSOMcBZLhiAinxj/hsU/v8ysftLg5tUoPEB7r1dh6VsYccQIb/5yUgLKreS8uEqelV HvG7TjusGEmRS6n3MwCQ7zEHsd8lI4//K5I8TC3lQKHRMvfcA/txY53oFNzXvYh79JiSj4 BCQju8BSLkXK5r1K2s8GNlVtmLMiJf05VYTXXW66erjIDEzOTVlttLXEAMyv7w== 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 4Rf15J4np3zbS0; Sun, 3 Sep 2023 18:49:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 383In8YD023680; Sun, 3 Sep 2023 18:49:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 383In8u2023677; Sun, 3 Sep 2023 18:49:08 GMT (envelope-from git) Date: Sun, 3 Sep 2023 18:49:08 GMT Message-Id: <202309031849.383In8u2023677@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Xin LI Subject: git: 02183951bfb1 - stable/13 - Fix build for FreeBSD 13. 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: delphij X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 02183951bfb19fda7a199acaeb9223cd28f29de3 Auto-Submitted: auto-generated The branch stable/13 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=02183951bfb19fda7a199acaeb9223cd28f29de3 commit 02183951bfb19fda7a199acaeb9223cd28f29de3 Author: Xin LI AuthorDate: 2023-09-03 18:49:02 +0000 Commit: Xin LI CommitDate: 2023-09-03 18:49:02 +0000 Fix build for FreeBSD 13. The minigzip utility has been removed in FreeBSD 14 but still exists in FreeBSD 13. The upstream revision e9d5486e removed prototype definitions, rendering the code no longer compliant with WARNS=5. --- usr.bin/minigzip/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/minigzip/Makefile b/usr.bin/minigzip/Makefile index 6b04d8a65599..e7174694865a 100644 --- a/usr.bin/minigzip/Makefile +++ b/usr.bin/minigzip/Makefile @@ -4,7 +4,7 @@ SRCDIR= ${SRCTOP}/sys/contrib/zlib/test PROG= minigzip -WARNS?= 5 +WARNS?= 2 CFLAGS+=-DUSE_MMAP LIBADD= z