From nobody Sun Jun 16 15:25:27 2024 X-Original-To: dev-commits-ports-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 4W2Gzq4vxYz5NyX2; Sun, 16 Jun 2024 15:25:27 +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 4W2Gzq1dm5z4J7t; Sun, 16 Jun 2024 15:25:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718551527; 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=mJwMimXk1q0B0DiGI0fYR/pml96BGzOroq7MWNnhVTI=; b=NiySMZ+2W9ah/3SlNiAfZ/W4lJW8M0NvccqE34vTKwnh+WlbX29DAAtyBvHrLVuJZIWzXG 4dzKUZq/nSLCW4TQlpfSAl6GTJ9nsI9/pXqQSs4G7Ubc/CpHOQVU4k2XLOP0yfkw/Qx+E2 SLso3VWvVckbcbJk87wJ2XsIWnZSV7SI7r0sa8U+4fw4Yv8Pq04sHY1Yorppum8e8/GScT MTuqK0OVBgYfVdaqsZZAB8lBaUzWl1r/BgRfaUTz2vUU/Gy7o7HLMLZM/kXhJP1yZExTPG xMU4IilZK5J8bB5HrE2f/hTE9EF7GZVvYY9hA1FbXCc5V3PTJKTzqo2EsQt6+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718551527; a=rsa-sha256; cv=none; b=ToEamdvSuY14UYlqc/93EHLVjanQeDTI07KBwfSMczF2a0tRCoRSk+QUAwQS9cn1hlCEc+ zzroK29VZNViMxlQRNhamnXRhGJtpyS/smwVvRY+lueXFL4aATSXpj7z7rLk2biCDX6qLA RcJT5DHAfrsTX5EttZpHxfrp3WH0ELoqI6Zxx+q20b/yyKyZB03tCkNk2VL/YJafigJxtk CB2ROZ4o4Hp0jU0z0/+Bo2AP8W25xcchclLJJCpgf3YIlDB/UJw9a3O17ToHdo+DVM8THb 9fHHpcVIeAdZIGvNf98FbySxTOD/PPK4SW8LBdaW0dUXNnY4do9ZtxzpJS1UXw== 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=1718551527; 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=mJwMimXk1q0B0DiGI0fYR/pml96BGzOroq7MWNnhVTI=; b=PS2vPKBCvjRUr4MBzBIInl3yads1MeEPHSnmW9DeL9zTJUeqlFaz59dZZWRWxniunTLL24 pnsGLKXffuDU2WyLYasNJaY7fRPOO2vPoLrg7DpHyh/8TrWzoUWrP4d9ucTGVTM5G/pnzn fYagsC+HViZyP92ZIpeDXdcKIliWZJq2uNX5EdxyI4uhu/4R6mDl/BtxpC4ZvfLG5XbWtD su01pYnftG5Yf4yy2e/Egv2gXvNZDm6SedrmUE63roQjV+W4CONinyw9OzbIEB78H8DtAC N/mzpZl5jmViJlhkl3j3vMlWaSNQPvVvYYqa90pHOiEwDbZAbygmHDx/CXXtEQ== 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 4W2Gzq1Ckqzt6k; Sun, 16 Jun 2024 15:25:27 +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 45GFPR70053314; Sun, 16 Jun 2024 15:25:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45GFPRGj053311; Sun, 16 Jun 2024 15:25:27 GMT (envelope-from git) Date: Sun, 16 Jun 2024 15:25:27 GMT Message-Id: <202406161525.45GFPRGj053311@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 3c98498fb58e - main - editors/hexcurse: fix build on 14.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c98498fb58e4de076a3862cc459be6ca10e3445 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c98498fb58e4de076a3862cc459be6ca10e3445 commit 3c98498fb58e4de076a3862cc459be6ca10e3445 Author: Piotr Kubaj AuthorDate: 2024-06-15 15:09:31 +0000 Commit: Piotr Kubaj CommitDate: 2024-06-16 15:25:19 +0000 editors/hexcurse: fix build on 14.1 hexcurse.c:237:30: error: 'snprintf' will always be truncated; specified size is 1, but format string expands to at least 2 [-Werror,-Wformat-truncation] 237 | min_address_length = snprintf(buffer, 1, "%jd", (intmax_t)len); | ^ 1 error generated. --- editors/hexcurse/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile index d0d3987e0c81..bbc423bc50c7 100644 --- a/editors/hexcurse/Makefile +++ b/editors/hexcurse/Makefile @@ -26,4 +26,6 @@ PLIST_FILES= bin/hexcurse share/man/man1/hexcurse.1.gz CFLAGS+= -Wno-error=deprecated-non-prototype .endif +CFLAGS+= -Wno-error=format-truncation + .include