ports/graphics/xwpick/files/patch-ImgToolKit.c
Cy Schubert 53c230b247 graphics/xwpick: Fix LLVM15 build
Fix the following error:

ImgToolKit.c:272:10: error: incompatible pointer to integer conversion assigning to 'Atom' (aka 'unsigned long') from 'void *' [-Wint-conversion]
    type = NULL;
         ^ ~~~~

While at it assume maintainership of this unmaintained port.

MFH:	2023Q2
2023-05-25 07:51:39 -07:00

11 lines
319 B
C

--- ImgToolKit.c.orig 1994-11-02 00:30:07.000000000 -0800
+++ ImgToolKit.c 2023-05-25 07:50:21.577290000 -0700
@@ -269,7 +269,7 @@
curW = win;
state = XInternAtom(theDsp, "WM_STATE", True);
if (state != NULL) {
- type = NULL;
+ type = 0;
kidW = win;
while (kidW != NULL) {
curW = kidW;