[OpenJDK 2D-Dev] <AWT Dev> [PATCH FOR APPROVAL]: Fix broken build on newer versions of X11 (libXext >= 1.1.0)
Phil.Race at Sun.COM
Tue Nov 3 11:35:36 PST 2009
awt_Graphics and XShm is more for 2D than AWT, but
I'm not sure how much it matters for this small change.
Attach the patch to a bugzilla report .. someone will
need to generate a sun bug id too. Can you post a zip
of the webvrev somewhere?
And is there an X11 reference you can cite to this apparent
source incompatible change there?
Andrew John Hughes wrote:
> With the new version of X11 (specifically libXext >= 1.1), the XShm.h
> header has been refactored.
> As a result, the build fails on awt_GraphicsEnv.c. This simple patch:
> fixes the issue, without affecting older versions. It's trivial, but
> very important; this new X11 is already in Gentoo, it'll be in F12
> (where we first discovered this issue), and it's no doubt heading to
> an Ubuntu near you soon.
> The patch was contributed by Diego Pettenò <flameeyes at gmail.com>, who
> I'm informed has signed the SCA.
> Does this look ok? If so, can I have a bug ID to push this to the
> awt-gate (or wherever is appropriate)?
More information about the 2d-dev