summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2007-05-22 16:21:27 +0000
committerGreg Lewis <glewis@FreeBSD.org>2007-05-22 16:21:27 +0000
commit7c85d54ee8c30c9601a45a07fadb0bf2fb57e078 (patch)
treea8f3484b6c6a00ee569706c46247dc0aa9b1c6a4 /java
parent- Unbreak (distfile for 2.0 disappeared) by upgrading to 2.0.2. (diff)
. 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)
Notes
Notes: svn path=/head/; revision=191608
Diffstat (limited to 'java')
-rw-r--r--java/jdk14/files/patch-j2se::awt::awt_motif21.c13
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