slackware-current/extra/source/tigervnc/patches/xorg-server/fix-nouveau-segfault.diff
Patrick J Volkerding fa3f92ac78 Mon Nov 18 20:14:57 UTC 2019
a/kernel-firmware-20191118_9581f15-noarch-1.txz:  Upgraded.
ap/rpm-4.15.1-x86_64-1.txz:  Upgraded.
ap/vim-8.1.2318-x86_64-1.txz:  Upgraded.
d/ccache-3.7.6-x86_64-1.txz:  Upgraded.
d/vala-0.46.5-x86_64-1.txz:  Upgraded.
l/imagemagick-7.0.9_5-x86_64-1.txz:  Upgraded.
l/libssh-0.9.2-x86_64-1.txz:  Upgraded.
x/xterm-351-x86_64-1.txz:  Upgraded.
xap/vim-gvim-8.1.2318-x86_64-1.txz:  Upgraded.
extra/tigervnc/tigervnc-1.10.0-x86_64-1.txz:  Upgraded.
2019-11-19 08:59:51 +01:00

12 lines
456 B
Diff

--- ./render/mipict.c.orig 2018-05-10 11:32:37.000000000 -0500
+++ ./render/mipict.c 2018-05-30 00:01:50.648530333 -0500
@@ -394,6 +394,9 @@
CARD32 r, g, b, a;
miIndexedPtr pIndexed;
+ if(! format)
+ *pixel = (color->alpha >> 8 << 24) | (color->red >> 8 << 16) | (color->green & 0xff00) | (color->blue >> 8);
+ else
switch (format->type) {
case PictTypeDirect:
r = color->red >> (16 - Ones(format->direct.redMask));