aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2010-04-19 14:18:54 +0800
committerglewis <glewis@FreeBSD.org>2010-04-19 14:18:54 +0800
commitc8a8d827a85fa8f3c245a810eda6c6c8737172cf (patch)
treefaca6563bebbf1e763e1ab4c5083025c0ca51b8e /java
parent767af261fddbbca9fb06f178af847e60349ddb1e (diff)
downloadfreebsd-ports-gnome-c8a8d827a85fa8f3c245a810eda6c6c8737172cf.tar.gz
freebsd-ports-gnome-c8a8d827a85fa8f3c245a810eda6c6c8737172cf.tar.zst
freebsd-ports-gnome-c8a8d827a85fa8f3c245a810eda6c6c8737172cf.zip
. Fix the build with recent xorg.
PR: 145754 Submitted by: fluffy@
Diffstat (limited to 'java')
-rw-r--r--java/jdk16/files/patch-j2se-awt-awt_GraphicsEnv.h15
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();
+