Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
xorg-x11-server.1965
u_arch-Fix-image-and-bitmap-byte-order-for-ppc6...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_arch-Fix-image-and-bitmap-byte-order-for-ppc64le.patch of Package xorg-x11-server.1965
From: Dinar Valeev <dvaleev@suse.com> Date: Mon Feb 24 10:48:22 2014 +0100 Subject: [PATCH]arch: Fix image and bitmap byte order for ppc64le Patch-Mainline: to be upstreamed Git-commit: 3874826e84151917a443f8efb46ea7414c990243 Git-repo: git://anongit.freedesktop.org/git/xorg/xserver References: bnc#865069 Signed-off-by: Egbert Eich <eich@suse.com> So far PPC was big endian for sure. For ppc64le this is no longer true. Signed-off-by: Egbert Eich <eich@freedesktop.org> --- include/servermd.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/servermd.h b/include/servermd.h index 11f6c10..256d84b 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -114,8 +114,13 @@ SOFTWARE. #if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) -#define IMAGE_BYTE_ORDER MSBFirst -#define BITMAP_BIT_ORDER MSBFirst +#if defined(__LITTLE_ENDIAN__) +#define IMAGE_BYTE_ORDER LSBFirst +#define BITMAP_BIT_ORDER LSBFirst +#else +#define IMAGE_BYTE_ORDER MSBFirst +#define BITMAP_BIT_ORDER MSBFirst +#endif #define GLYPHPADBYTES 4 #endif /* PowerPC */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor