modules/x11/module-x11-cork-request.c:32:34: error: X11/extensions/XTest.h : No such file or directory In xextproto-7.0.99.1, some headers where renamed (XTest.h was split into xtest.h and xtestproto.h : http://cgit.freedesktop.org/xorg/proto/xextproto/commit/?id=8cb2568c4a7df1eb0482009bf9150912e98969e6 and later in 7.0.99.3, xtest.h was renamed to xtestconst.h : http://cgit.freedesktop.org/xorg/proto/xextproto/commit/?id=d7ead7a591da851f6bb2efecdd35b63836df4ed0 It seems also that xextproto should be in DEPEND.
Created attachment 204369 [details, diff] patch
Created attachment 204370 [details, diff] patch for pulseaudio
Does your patch not break older XTest versions?
(In reply to comment #3) > Does your patch not break older XTest versions? I'm not sure that I'm understanding your question, but this patch will break the build process w/ <xextproto-7.0.99.3, hence the has_version check. It is true that if someone tries to emerge pulseaudio with xextproto-7.0.99.{1,2} it won't work, but since these are some kind of rc, I think it's not worth a specific patch.
I would rather avoid adding version-dependent patches. I'll try to find out if the change is there to stay and fix it upstream and in Gentoo in a single way.
Okay there is something a bit more to fix, the problem is that the old libXtst's functions are now missing from xextproto… did you try the patch at all? Because it really couldn't have worked properly. I'll be waiting for the new libXtst to enter the overlay then fix this upstream.
This only required some mangling of dependencies to make sure that at least one of the two packages installing the XTest.h header is installed; this should be fine now.