Bug 270449 - x11-toolkits/gtk20: fix build with clang 16
Summary: x11-toolkits/gtk20: fix build with clang 16
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-25 19:44 UTC by Eric Camachat
Modified: 2023-04-18 15:22 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (desktop)


Attachments
fix build with clang 16 (868 bytes, patch)
2023-03-25 19:44 UTC, Eric Camachat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Camachat 2023-03-25 19:44:10 UTC
Created attachment 241109 [details]
fix build with clang 16
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-04-18 15:13:25 UTC
A commit in branch main references this bug:

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

commit 45a326d4b3846116734cce9c60ce189e9c2e81e0
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-04-18 14:30:05 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-04-18 15:12:06 +0000

    x11-toolkits/gtk20: fix build with clang 16

    Repair dodgy cast.

    Reported by:    Eric Camachat
    PR:             270449

 x11-toolkits/gtk20/files/patch-gtk_gtkscale.c (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)