pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/xwatchwin



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 20 11:08:35 UTC 2026

Modified Files:
        pkgsrc/x11/xwatchwin: distinfo
Added Files:
        pkgsrc/x11/xwatchwin/patches: patch-xwatchwin.c

Log Message:
xwatchwin: Fix build with GCC 14 and 15.

Avoid implicit int. Recent GCC no longer likes it.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/x11/xwatchwin/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xwatchwin/patches/patch-xwatchwin.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/xwatchwin/distinfo
diff -u pkgsrc/x11/xwatchwin/distinfo:1.6 pkgsrc/x11/xwatchwin/distinfo:1.7
--- pkgsrc/x11/xwatchwin/distinfo:1.6   Tue Oct 26 11:34:59 2021
+++ pkgsrc/x11/xwatchwin/distinfo       Sat Jun 20 11:08:35 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:34:59 nia Exp $
+$NetBSD: distinfo,v 1.7 2026/06/20 11:08:35 nia Exp $
 
 BLAKE2s (xwatchwin.tar.gz) = d27dbea4d2848d5da4645ecc0f4549e6b372336c35f5fe48ec22db63e1953a6f
 SHA512 (xwatchwin.tar.gz) = 06f40dfa8682dc3420ec565bdc929a7309bcef32f4c96717aea370b54f6abd0c2802d2f16a5061800c763434f6e7386403bccb3478b6a6c0d5193e9851b3c4e6
 Size (xwatchwin.tar.gz) = 12313 bytes
+SHA1 (patch-xwatchwin.c) = 14762c9114303cf9166d7ede4e55e33a8f3525b7

Added files:

Index: pkgsrc/x11/xwatchwin/patches/patch-xwatchwin.c
diff -u /dev/null pkgsrc/x11/xwatchwin/patches/patch-xwatchwin.c:1.1
--- /dev/null   Sat Jun 20 11:08:35 2026
+++ pkgsrc/x11/xwatchwin/patches/patch-xwatchwin.c      Sat Jun 20 11:08:35 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-xwatchwin.c,v 1.1 2026/06/20 11:08:35 nia Exp $
+
+Avoid implicit int. Recent GCC no longer likes it.
+
+--- xwatchwin.c.orig   2026-06-20 11:06:24.401871473 +0000
++++ xwatchwin.c
+@@ -176,6 +176,7 @@ main(int argc, char **argv)
+ 
+ /* Takes two strings, removes spaces from the second,... */
+ /* ...and compares them..  Returns 1 if equal, 0 if not. */
++int
+ WinNamesEqual(char *str1, char *str2)
+ {
+     char            tempStr[STRINGLENGTH], *tempStrPtr;



Home | Main Index | Thread Index | Old Index