pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/xli



Module Name:    pkgsrc
Committed By:   mrg
Date:           Sun Oct 12 19:34:38 UTC 2025

Modified Files:
        pkgsrc/graphics/xli: distinfo
Added Files:
        pkgsrc/graphics/xli/patches: patch-window.c

Log Message:
fix GCC 14 build: include <sys/select.h> and give a variable a type.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/graphics/xli/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/xli/patches/patch-window.c

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

Modified files:

Index: pkgsrc/graphics/xli/distinfo
diff -u pkgsrc/graphics/xli/distinfo:1.26 pkgsrc/graphics/xli/distinfo:1.27
--- pkgsrc/graphics/xli/distinfo:1.26   Mon Apr 21 20:22:41 2025
+++ pkgsrc/graphics/xli/distinfo        Sun Oct 12 19:34:37 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2025/04/21 20:22:41 wiz Exp $
+$NetBSD: distinfo,v 1.27 2025/10/12 19:34:37 mrg Exp $
 
 BLAKE2s (xli-2005-02-27.tar.gz) = 52bb8b6f15e558a3d9d85566a9f669859783b0528bfd9f341e75d9231b3081d2
 SHA512 (xli-2005-02-27.tar.gz) = 132b28396ebf3832dc35ff5fa7c102539ef30a194512fe6577ce1432bb84ecd7b4368e75eaf59f26a806900f63e1bfb9a93487ce1ebe3cfef2199256a783ccf7
@@ -11,4 +11,5 @@ SHA1 (patch-af) = e6d762b19dc82377727f04
 SHA1 (patch-ag) = 4083e488fed49f98f8c9b57ba4cb9b9295d1d5e0
 SHA1 (patch-ah) = 963022472f8c90788197780560a7f833d745ab6b
 SHA1 (patch-send.c) = 4e35af227c9662d9528a378f22ba1e38ac09f6a6
+SHA1 (patch-window.c) = f8c2d8040b1b1a5e85ccc611678df0aaef38e7d9
 SHA1 (patch-xli.h) = b8660bcb6dc221ac4e6edf560810c3e3fc335ab1

Added files:

Index: pkgsrc/graphics/xli/patches/patch-window.c
diff -u /dev/null pkgsrc/graphics/xli/patches/patch-window.c:1.1
--- /dev/null   Sun Oct 12 19:34:38 2025
+++ pkgsrc/graphics/xli/patches/patch-window.c  Sun Oct 12 19:34:38 2025
@@ -0,0 +1,26 @@
+$NetBSD: patch-window.c,v 1.1 2025/10/12 19:34:38 mrg Exp $
+
+Include <sys/select.h> on NetBSD for select() prototype and also give
+an atom a type (Atom), for GCC 14.
+
+
+--- window.c.orig      2005-02-27 16:42:39.000000000 -0800
++++ window.c   2025-10-12 12:20:48.231111513 -0700
+@@ -22,7 +22,7 @@
+ #include <stropts.h>
+ #include <poll.h>
+ #endif
+-#ifdef _AIX
++#if defined(_AIX) || defined(__NetBSD__)
+ #include <sys/select.h>
+ #endif
+ 
+@@ -209,7 +209,7 @@ static void cleanUpImage(Display *disp, 
+ static void setViewportColormap(Display *disp, int scrn, Visual *visual)
+ {
+       XSetWindowAttributes swa;
+-      static cmap_atom = None;
++      static Atom cmap_atom = None;
+       Window cmap_windows[2];
+ 
+       if (cmap_atom == None)



Home | Main Index | Thread Index | Old Index