Module Name:    xsrc
Committed By:   martin
Date:           Tue Dec  6 13:50:55 UTC 2022

Modified Files:
        xsrc/external/mit/pixman/dist/pixman: pixman-fast-path.c

Log Message:
Undo upstream commit b4a105d77232a87304b7b621e2f99e699a8eebd3, it breaks
colours on big endian machines. Also reported upstream.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.14 -r1.2 \
    xsrc/external/mit/pixman/dist/pixman/pixman-fast-path.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/pixman/dist/pixman/pixman-fast-path.c
diff -u xsrc/external/mit/pixman/dist/pixman/pixman-fast-path.c:1.1.1.14 xsrc/external/mit/pixman/dist/pixman/pixman-fast-path.c:1.2
--- xsrc/external/mit/pixman/dist/pixman/pixman-fast-path.c:1.1.1.14	Sat Nov 12 03:24:10 2022
+++ xsrc/external/mit/pixman/dist/pixman/pixman-fast-path.c	Tue Dec  6 13:50:55 2022
@@ -2836,11 +2836,7 @@ bits_image_fetch_separable_convolution_a
 	sgtot = CLIP (sgtot, 0, 0xff);
 	sbtot = CLIP (sbtot, 0, 0xff);
 
-#ifdef WORDS_BIGENDIAN
-	buffer[k] = (satot << 0) | (srtot << 8) | (sgtot << 16) | (sbtot << 24);
-#else
 	buffer[k] = (satot << 24) | (srtot << 16) | (sgtot << 8) | (sbtot << 0);
-#endif
 
     next:
 	vx += ux;

Reply via email to