[patch] Allow compiling against newer X11 headers

Mark Wielaard mjw at redhat.com
Mon Nov 2 06:03:21 PST 2009


Hi,

Recent X11 headers have reorganized some shm related constants and
structs making it necessary to patch around how awt_GraphicsEnv.h does
some things. Fedora has included this patch for some time now, and
recently several people on this list asked about it.

I added a configure check to see whether or not it is necessary to apply
the patch. This makes icedtea6 build out of the box on older (fedora 11)
and newer (fedora 12/rawhide) systems.

2009-11-02  Mark Wielaard  <mjw at redhat.com>

    * configure.ac: Check whether the new X11/extensions/shmproto.h 
    header is available.
    * Makefile.am: Add patches/icedtea-xshm.patch if new header
    detected.
    * patches/icedtea-xshm.patch: New patch.

Let me know if it looks sane and I will update Hacking and the wiki with
the info.

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shm.patch
Type: text/x-patch
Size: 2192 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091102/81464513/shm.patch 


More information about the distro-pkg-dev mailing list