overlay/dev-java/icedtea/files/1.12-shmproto.patch
2010-10-03 09:25:35 +00:00

29 lines
960 B
Diff

--- /dev/null 2009-10-29 20:00:29.463258316 +0100
+++ patches/icedtea-shmproto.patch 2009-10-29 21:02:36.000000000 +0100
@@ -0,0 +1,13 @@
+--- openjdk/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c.orig 2009-10-29 21:01:01.000000000 +0100
++++ openjdk/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c 2009-10-29 21:01:56.000000000 +0100
+@@ -45,6 +45,10 @@
+ #include <stdlib.h>
+
+ #include "awt_GraphicsEnv.h"
++#ifdef MITSHM
++#include <X11/Xmd.h>
++#include <X11/extensions/shmproto.h>
++#endif
+ #include "awt_Window.h"
+ #include "awt_util.h"
+ #include "gdefs.h"
--- Makefile.am.orig 2009-11-20 22:09:16.000000000 +0100
+++ Makefile.am 2009-11-20 22:08:38.000000000 +0100
@@ -304,7 +304,8 @@
patches/icedtea-cc-interp-backedge.patch \
patches/icedtea-netx.patch \
patches/icedtea-disable-intree-ec.patch \
- patches/icedtea-sources.patch
+ patches/icedtea-sources.patch \
+ patches/icedtea-shmproto.patch
if WITH_RHINO
ICEDTEA_PATCHES += \