diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2010-04-19 06:18:54 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2010-04-19 06:18:54 +0000 |
commit | c426698b396f12526ddfe43a1b75660215129a7a (patch) | |
tree | af0b4f2d2f8a4262aa49cddf45835c6ff1728071 /java | |
parent | ecbfec00cb8fe0e3608a8a83aa5a1b750da3b84d (diff) |
. Fix the build with recent xorg.
PR: 145754
Submitted by: fluffy@
Notes
Notes:
svn path=/head/; revision=252895
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h b/java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h new file mode 100644 index 000000000000..a7f916166d4f --- /dev/null +++ b/java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h @@ -0,0 +1,15 @@ +$FreeBSD: /tmp/pcvs/ports/java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h,v 1.1 2010-04-19 06:18:54 glewis Exp $ + +--- ../../j2se/src/solaris/native/sun/awt/awt_GraphicsEnv.h.orig 2010-04-16 21:28:02.000000000 +1100 ++++ ../../j2se/src/solaris/native/sun/awt/awt_GraphicsEnv.h 2010-04-16 21:39:52.635333540 +1100 +@@ -24,6 +24,10 @@ + #include <sys/ipc.h> + #include <sys/shm.h> + #include <X11/extensions/XShm.h> ++#ifndef X_ShmAttach ++#include <X11/Xmd.h> ++#include <X11/extensions/shmproto.h> ++#endif + + extern int XShmQueryExtension(); + |