On xf86Privstr.h, xf86Info.consType is conditioned to CSRG_BASED define, while it's used on the file in summary on ! __bsdi__ define and fails to compile. The attached patch changes the condition on xf86KbdBSD.c to match the one in xf86Privstr.h. HTH, Diego
Created attachment 3346 [details] [review] proposed patch of Xt4/tstlnggprc.m
Created attachment 2908 [details] [review] xorg-server-hw-xfree86-common-xf86KbdBSD.patch Re-attached deleted patch
xf86KbdBSD.c should only be built on CSRG_BASED systems though, so I think the real problem is getting either CSRG_BASED defined for BSD's in the modular build or replacing all the uses of it with more specific checks.
As discussed on the modular list some time ago, I commited a change that defines CSRG_BASED in Xosdefs.h for the modular tree.
Trying with a recent snapshot and defining by hand -DCSRG_BASED (as x11proto is still outdated) seems to fix that as well as a couple more bugs.
*** Bug 4075 has been marked as a duplicate of this bug. ***
*** Bug 4077 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.