> > https://cranky.work/sparc64/2025-10-09/sysutils/wmtempmon.log
> 
> This was already reported recently by claudio@ to me, and it could be
> fixed with following patch (I would include the fix in the next
> wmtempmon release).

In addition to silencing gcc's typical -Wuninitialized stuff (which for
once isn't even wrong), it would be nice not to enable -Werror in releases.

> 
> 
> Index: sysutils/wmtempmon/Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/wmtempmon/Makefile,v
> diff -u -p -u -p -r1.3 Makefile
> --- sysutils/wmtempmon/Makefile       26 Sep 2025 16:40:44 -0000      1.3
> +++ sysutils/wmtempmon/Makefile       15 Oct 2025 18:37:36 -0000
> @@ -1,6 +1,7 @@
>  COMMENT=             wm-dockapp; temperature sensor monitor
>  
>  DISTNAME=            wmtempmon-0.3
> +REVISION=            0
>  CATEGORIES=          sysutils x11 x11/windowmaker
>  SITES=                       https://www.nazgul.ch/dev/
>  
> ? sysutils/wmtempmon/patches
> 
> --- wmtempmon.c.orig  Wed Oct 15 20:30:22 2025
> +++ wmtempmon.c       Wed Oct 15 20:32:00 2025
> @@ -424,6 +424,7 @@ main(int argc, char *argv[])
>       XEvent event;
>  
>       off = 0;
> +     tempi = 0;
>       temp_device_found = 0;
>       opt_temp_device_sensor_num = 0;
>       opt_scroll = 1;
> 

Reply via email to