Disabling XFT, the port fails to build. Extract of the log: xft.c:201:39: error: no member named 'rgba_masks' in 'Visual' red_shift = maskbase (visual->rgba_masks[0]); ~~~~~~ ^ xft.c:202:39: error: no member named 'rgba_masks' in 'Visual' red_len = masklen (visual->rgba_masks[0]); ~~~~~~ ^ xft.c:203:39: error: no member named 'rgba_masks' in 'Visual' green_shift = maskbase (visual->rgba_masks[1]); ~~~~~~ ^ xft.c:204:38: error: no member named 'rgba_masks' in 'Visual' green_len = masklen (visual->rgba_masks[1]); ~~~~~~ ^ xft.c:205:39: error: no member named 'rgba_masks' in 'Visual' blue_shift = maskbase (visual->rgba_masks[2]); ~~~~~~ ^ xft.c:206:38: error: no member named 'rgba_masks' in 'Visual' blue_len = masklen (visual->rgba_masks[2]); ~~~~~~ ^ 6 errors generated.
Hi! I am aware of the issue, however, it is far from simple to fix and I haven't had time to fiddle around properly. For now, please use it with XFT (which is the default configuration).
Created attachment 189227 [details] possible-patch-xft.c
I am far from away from be familiar with things like xft or xscreensaver. But this works on my system. Please, tell me if this is reasonable or if it is nonsense and obsolete the patch.
(In reply to Niclas Zeising from comment #1) I try and build this port with as few dependencies as possible, but compiling with XFT is not such a problem to me (in fact that's what I'm already doing). I only reported this to let you know and to save others the hassle to find out why they can't compile. I'd be fine if the option was just ditched and XFT forcibly enabled. BTW, is there a real advantage of building without XFT?
(In reply to w.schwarzenfeld from comment #3) Thanks for the patch, it works for me too.
Please commit the patch.
Created attachment 194325 [details] Fix build without XFT Hi! Can you try the attached patch instead? Thanks!
(In reply to Niclas Zeising from comment #7) Works for me.
A commit references this bug: Author: zeising Date: Tue Jun 19 16:24:04 UTC 2018 New revision: 472802 URL: https://svnweb.freebsd.org/changeset/ports/472802 Log: Fix build without the XFT option. PR: 224731 Reported by: ml@netfence.it Changes: head/x11/xscreensaver/Makefile head/x11/xscreensaver/files/patch-utils_xft.c