aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2007-06-03 05:18:27 +0800
committerglewis <glewis@FreeBSD.org>2007-06-03 05:18:27 +0800
commit6ad7fd0c9376bbf647e0ff099d70ea8daae2ce5c (patch)
tree09f93b11868a6b044db9ed1ca354277b25c1e6da
parent5eca1ad324bc27f5523ebf7f51e272b4defd4d01 (diff)
downloadfreebsd-ports-graphics-6ad7fd0c9376bbf647e0ff099d70ea8daae2ce5c.tar.gz
freebsd-ports-graphics-6ad7fd0c9376bbf647e0ff099d70ea8daae2ce5c.tar.zst
freebsd-ports-graphics-6ad7fd0c9376bbf647e0ff099d70ea8daae2ce5c.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. Pointed out by: pointyhat (via kris)
-rw-r--r--java/jdk13/files/patch-j2sdk1.3.1-awt-awt_motif21.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_motif21.c b/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_motif21.c
new file mode 100644
index 00000000000..2a18e607391
--- /dev/null
+++ b/java/jdk13/files/patch-j2sdk1.3.1-awt-awt_motif21.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../src/solaris/native/sun/awt/awt_motif21.c 14 Jan 2005 10:35:32 -0000 1.6
++++ ../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