Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104318 - non-endian safe code in >=6.8.99.7 flips rgb->bgr color output in gtk and qt icon pixmaps
Summary: non-endian safe code in >=6.8.99.7 flips rgb->bgr color output in gtk and qt ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 16:58 UTC by Stephen Becker (RETIRED)
Modified: 2005-10-03 13:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixes endian problem with swapped r and b colors (xc-bgr8.patch,926 bytes, patch)
2005-08-30 16:59 UTC, Stephen Becker (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Becker (RETIRED) gentoo-dev 2005-08-30 16:58:51 UTC
see https://bugs.freedesktop.org/show_bug.cgi?id=4315

Reproducible: Always
Steps to Reproduce:





I've filed a bug upstream with xorg-x11 along with a patch that fixes the
problem.  However, the attached patch should be added to the Gentoo xorg-x11
patchset for the 6.8.99.X ebuilds in the meantime.  This patch also fixes the
same problem on ffb2+ for sparc, and possibly many other X11 drivers for
graphics devices on big endian machines.
Comment 1 Stephen Becker (RETIRED) gentoo-dev 2005-08-30 16:59:33 UTC
Created attachment 67303 [details, diff]
fixes endian problem with swapped r and b colors
Comment 2 Jason Wever (RETIRED) gentoo-dev 2005-08-31 20:07:03 UTC
Just a "me too" message to say this fixes the color problems I was having on a
Sun Blade 1000 with Creator3D.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-09-01 15:35:00 UTC
will add to the 99's
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-09-01 18:22:10 UTC
I confirmed that this is still a problem in upstream CVS.  I'll apply the patch
to modular and post a patch upstream if it differs on the CVS tree.

In the meantime this bug is left in the hands of upstream.

For reference, the URL that was originally here:
http://beerandrocks.net:8080/~spbecker/wtf.png
Comment 5 Stephen Becker (RETIRED) gentoo-dev 2005-09-07 05:40:35 UTC
Just for reference, this patch has now been applied to cvs HEAD upstream.
Comment 6 Jason Wever (RETIRED) gentoo-dev 2005-09-25 09:38:35 UTC
While its great and all that upstream fixed it, can we get it fixed at least in
the monolithic pre-6.8 X builds?
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-09-25 22:45:44 UTC
Josh, you can take over the 6.8.x ebuilds. It's your call whether to do this,
although I'd like to remind you we are in maintenance mode on them and trying
our very hardest to have no chance of introducing any new bugs.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2005-10-03 10:30:51 UTC
Re-assigning to myself.
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2005-10-03 13:12:52 UTC
This patch is pretty simple and I'm making changes anyways, so it has been added
to 6.8.99.15-r3.