diff options
author | glewis <glewis@FreeBSD.org> | 2007-05-23 00:21:27 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2007-05-23 00:21:27 +0800 |
commit | ab0f30db40b2a6d233af9c5348d5502b70149f38 (patch) | |
tree | 739a99fda8720af14bfa59bcbb236565abadba57 /java | |
parent | e9b7366edfabda5015f2f059172103e5e6e5e6af (diff) | |
download | freebsd-ports-gnome-ab0f30db40b2a6d233af9c5348d5502b70149f38.tar.gz freebsd-ports-gnome-ab0f30db40b2a6d233af9c5348d5502b70149f38.tar.zst freebsd-ports-gnome-ab0f30db40b2a6d233af9c5348d5502b70149f38.zip |
. Make it so we include Xm/XmIm.h rather than defining our own prototype.
Fixes a build error due to the prototype being defined not matching
the actual function.
Approved by: portmgr (pav)
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk14/files/patch-j2se::awt::awt_motif21.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk14/files/patch-j2se::awt::awt_motif21.c b/java/jdk14/files/patch-j2se::awt::awt_motif21.c new file mode 100644 index 000000000000..9dfe145b32d4 --- /dev/null +++ b/java/jdk14/files/patch-j2se::awt::awt_motif21.c @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- ../../j2se/src/solaris/native/sun/awt/awt_motif21.c 14 Jan 2005 10:35:32 -0000 1.6 ++++ ../../j2se/src/solaris/native/sun/awt/awt_motif21.c 8 May 2007 22:05:37 -0000 +@@ -15,7 +15,7 @@ + #include "awt_p.h" + #include "awt_Component.h" + +-#if (XmVersion == 2001) ++#if (XmVersion >= 2001) + #include <Xm/XmIm.h> + #else + #define XmPER_SHELL 0 |