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: http://cr.openjdk.java.net/~andrew/xshm/webrev.01 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ò <flamee...@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)? Thanks, -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8