Bug 282986

Summary: lang/siod: fix build with clang 19
Product: Ports & Packages Reporter: Mikhail T. <freebsd-2024>
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Closed FIXED    
Severity: Affects Only Me CC: fuz
Priority: --- Keywords: easy, patch-ready
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix compiler-warnings raised by the new clang 19
freebsd-2024: maintainer-approval+
git format-patch none

Description Mikhail T. 2024-11-26 15:44:02 UTC
Created attachment 255469 [details]
Fix compiler-warnings raised by the new clang 19

The patch fixes new compiler-warnings raised by clang-19.

(I am the port's maintainer.)
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2024-11-26 15:44:02 UTC
Maintainer informed via mail
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2024-11-26 16:26:45 UTC
You're doing something strange with your patches and they don't apply directly.  Use "git-format-patch" to create them ideally.  Do not change anything about the generated patch files.
Comment 3 Mikhail T. 2024-11-26 20:13:58 UTC
Created attachment 255473 [details]
git format-patch

> Use "git-format-patch" to create them ideally

Here goes...
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-27 12:02:38 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e1e10aedfb9998dfb21d28c0a9d86c8e07f6539f

commit e1e10aedfb9998dfb21d28c0a9d86c8e07f6539f
Author:     Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2024-11-26 16:25:28 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-27 11:59:49 +0000

    lang/siod: resolve new warnings raised by the increasingly-picky clang-19

    PR:             282986

 lang/siod/files/patch-lib | 113 ++++++++++++++++++++++++++++++++++++----------
 1 file changed, 88 insertions(+), 25 deletions(-)
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2024-11-27 12:06:05 UTC
Thank you for your contribution.