gtk{2,3}-x11: build against cairo with X11 support enabled

On Darwin cairo does not have X11 support enabled by default, but
gtk{2,3}-x11 requires it. Force gtk{2,3}-x11 to be built against cairo
with X11 support enabled. Fixes #61891.
This commit is contained in:
Sébastien Maret 2019-05-22 23:09:42 +02:00
parent 6e714be048
commit f3ced69e8e
No known key found for this signature in database
GPG Key ID: 86E30E5A0F5FC59C

View File

@ -10732,6 +10732,7 @@ in
};
gtk2-x11 = gtk2.override {
cairo = cairo.override { x11Support = true; };
gdktarget = "x11";
};
@ -10741,6 +10742,7 @@ in
# On darwin gtk uses cocoa by default instead of x11.
gtk3-x11 = gtk3.override {
cairo = cairo.override { x11Support = true; };
x11Support = true;
};