From nobody Fri Jan 17 21:47:06 2025 X-Original-To: dev-commits-ports-main@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 4YZYGz3r5yz5kHQr; Fri, 17 Jan 2025 21:47:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZYGy6jYmz4GbZ; Fri, 17 Jan 2025 21:47:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737150427; 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=F/DkSt3A8PXw72FlYVQlfnWZu9xNCa6YWyIXoiZl9/U=; b=e/N2Lftxp/i6So+4QlzNoUADq/4IC8/ylT4M1XLY7HedYdcFgLtjVo8PAdrDrU6GtFKvmG VEIudOP28MdsdVnXLUNi4mq4NqUxJAFVgEZMtoEc533joLBYDXnexGCruGX31hvItO1QMc XcIgYCbOylFbJ3tfvCT9aQ7E1H7d2P+YphppT9z97p6yO/0fFEjEVI9Rx+xtwtr3vW0fKd jXBtIyt08DttbIJvDXhEtk3S/07t96LKpGDLqA7inSmr570fJNGI6nHBHYa4A8H/x/vJfn PlBZqu0Pn214AnC+yOV+B/zRiTWuHO2TewrSY9Hr5IJPrPDwNMvOkDlD5KE7Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737150427; 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=F/DkSt3A8PXw72FlYVQlfnWZu9xNCa6YWyIXoiZl9/U=; b=AYD20TnRGGp3bVLi3PrXbHpVOO8hUmBGYhBxmWdbkgxQPzGd5xNoElTtz+fmb05C4iNph4 U2YX4tGL0UmgNQaR3We4F0GBPRJ1PnmlsQs5jjQEwaAGSlYPYlIb/aosAoopunzWK5AdEG 7UKpWYzSTuczWJaKRxnipzB/vH6wZE0NRJOpe9PkuY9vcroIHn6Q9G29rQA4SwF0wKAAjJ m5LXwf3WQ5eKcsSqPgxDCL4SvVnaq+lcScav8OxoHQbK54L6ixGHCD5igl+8IB7pwp6VeY njFWKvzkJasbJHYdDAN1Pqt+kWQWdln3Ia+HOAdCnqMyVc+OulB8OT2aBebIIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737150427; a=rsa-sha256; cv=none; b=cYmHQLm+CgowPuKXi7fsoOS27schPGCIYsbngaMNcE/O3Gu5BGQJ2NtNwa1zTZq+BOMd/W wjYQfm1osws/ELrVySkQjs+f4qkpgq73xxVpMM3avb5P83WT2M+pU7LDpI7CDWlWwT56vJ 6ur8nOrRTsYigl5P0TBsjDYzVXmaAmAFOQUYqtwkI/mviPWlQhN9JX2ViK7LibR/C9g0F5 1GDsdS49eQKaTT7kR0NqjByKXEMwonZz+ELyDVi8+yaCU9nh4FztObhe6txg8kNxu0Ofz1 I4yldeVYiNYoxpQEqP2flk99visI0f+U+G+o3Y/Y4fz88vB0aoLL39G2u2eaWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YZYGy5hHnzccy; Fri, 17 Jan 2025 21:47:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50HLl6jD062866; Fri, 17 Jan 2025 21:47:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50HLl671062863; Fri, 17 Jan 2025 21:47:06 GMT (envelope-from git) Date: Fri, 17 Jan 2025 21:47:06 GMT Message-Id: <202501172147.50HLl671062863@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: 3ee0f32c60fa - main - devel/generate: fix build on 32-bits List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 3ee0f32c60faf217508321fe99a8bd1cacbfb534 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3ee0f32c60faf217508321fe99a8bd1cacbfb534 commit 3ee0f32c60faf217508321fe99a8bd1cacbfb534 Author: Piotr Kubaj AuthorDate: 2025-01-16 13:17:17 +0000 Commit: Piotr Kubaj CommitDate: 2025-01-17 21:45:26 +0000 devel/generate: fix build on 32-bits generate.c:154:79: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat] 154 | if (infile) fprintf(stderr, "generate: file %s line %ld: ", infile->name, infile->xline); | ~~~ ^~~~~~~~~~~~~ | %zu 1 error generated. --- devel/generate/files/patch-generate.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/generate/files/patch-generate.c b/devel/generate/files/patch-generate.c new file mode 100644 index 000000000000..0176994c0f8d --- /dev/null +++ b/devel/generate/files/patch-generate.c @@ -0,0 +1,11 @@ +--- generate.c.orig 2025-01-16 13:10:40 UTC ++++ generate.c +@@ -151,7 +151,7 @@ fatal(const char *s,...) + { + va_list argptr; + +- if (infile) fprintf(stderr, "generate: file %s line %ld: ", infile->name, infile->xline); ++ if (infile) fprintf(stderr, "generate: file %s line %zu: ", infile->name, infile->xline); + else fprintf(stderr, "generate: "); + + va_start(argptr, s);