File xpcd-2.09-alias.patch of Package photocd
--- xpcd/vroot.h +++ xpcd/vroot.h @@ -87,12 +87,13 @@ int actual_format; unsigned long nitems, bytesafter; Window *newRoot = (Window *) 0; + Window **pRoot = &newRoot; if (XGetWindowProperty(dpy, children[i], __SWM_VROOT, 0, 1, False, XA_WINDOW, &actual_type, &actual_format, &nitems, &bytesafter, - (unsigned char **) &newRoot) == Success + (unsigned char **) pRoot) == Success && newRoot) { root = *newRoot; break;