diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2010-05-26 06:43:24 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2010-05-26 06:43:24 +0000 |
commit | 946263681fdf523973303bbcedcec206771c7af9 (patch) | |
tree | 0c774545503e68a9798e346be4d2527560537c03 | |
parent | - Update to 1.9.1 (diff) |
. Fix the build with recent xorg.
Pointed out by: pointyhat (via erwin@)
Notes
Notes:
svn path=/head/; revision=255105
-rw-r--r-- | java/jdk13/files/patch-j2sdk1.3.1-awt-awt_Graphics.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_Graphics.c b/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_Graphics.c new file mode 100644 index 000000000000..7185aadff121 --- /dev/null +++ b/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_Graphics.c @@ -0,0 +1,15 @@ +$FreeBSD$ + +--- ../src/solaris/native/sun/awt/awt_Graphics.c 2010-04-16 21:28:02.000000000 +1100 ++++ ../src/solaris/native/sun/awt/awt_Graphics.c 2010-04-16 21:39:52.635333540 +1100 +@@ -60,6 +60,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(); + |