diff options
author | glewis <glewis@FreeBSD.org> | 2010-05-26 14:43:24 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2010-05-26 14:43:24 +0800 |
commit | ada37546427a093a72a8ffc6abb759e2dcc89f91 (patch) | |
tree | 6748f69119b9e13300d78cc16f4d71e21a3b9a11 | |
parent | ec942d8948f604a97b3ca74f75079361dca80d39 (diff) | |
download | freebsd-ports-gnome-ada37546427a093a72a8ffc6abb759e2dcc89f91.tar.gz freebsd-ports-gnome-ada37546427a093a72a8ffc6abb759e2dcc89f91.tar.zst freebsd-ports-gnome-ada37546427a093a72a8ffc6abb759e2dcc89f91.zip |
. Fix the build with recent xorg.
Pointed out by: pointyhat (via erwin@)
-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(); + |