Date: Wed, 29 Apr 2026 12:24:58 +0000 From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: a4391ddcaf63 - 2026Q2 - sysutils/heirloom: Fix with LLVM 21 Message-ID: <69f1f89a.23dee.75b186cc@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2026Q2 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4391ddcaf6386f5fb609d80d8ea399e81468eb5 commit a4391ddcaf6386f5fb609d80d8ea399e81468eb5 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2026-04-29 12:22:12 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2026-04-29 12:24:53 +0000 sysutils/heirloom: Fix with LLVM 21 FreeBSD 16-CURRENT recently imported LLVM 21. Seemingly ambiguous code as in the patch is now flagged as an error. (cherry picked from commit c9bc2a71a2129e4c222c8043c7261635b83b08ba) --- sysutils/heirloom/files/patch-id_id.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sysutils/heirloom/files/patch-id_id.c b/sysutils/heirloom/files/patch-id_id.c new file mode 100644 index 000000000000..bd05fe97747e --- /dev/null +++ b/sysutils/heirloom/files/patch-id_id.c @@ -0,0 +1,11 @@ +--- id/id.c.orig 2005-05-29 05:55:41.000000000 -0700 ++++ id/id.c 2026-04-29 05:10:14.534846000 -0700 +@@ -265,7 +265,7 @@ + me = 0; + uid = euid = pwd->pw_uid; + gid = egid = pwd->pw_gid; +- } else if (argc < optind > 1) { ++ } else if (argc < optind && optind > 1) { + usage(); + } else + #endif /* SUS */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f1f89a.23dee.75b186cc>
