aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2007-07-31 07:22:49 +0000
committerGreg Lewis <glewis@FreeBSD.org>2007-07-31 07:22:49 +0000
commitdd3f6ed6e349d7d0897fb390b5d917ff707ee4df (patch)
tree4c286f0cff38e6e94e613c634c4360c1f5f8f5ca /java/jdk16
parent347e8d7da10e4640b6172fcdbedea33a9db69d8c (diff)
downloadports-dd3f6ed6e349d7d0897fb390b5d917ff707ee4df.tar.gz
ports-dd3f6ed6e349d7d0897fb390b5d917ff707ee4df.zip
. Include a different header file for 'fastInt'. The definition in Hint.h
appears to actually match the type of variable its being used with in the code (although it seems that it may be even cleaner to just replace 'fastInt' with 'short'). This also partially bandaids a build problem some are seeing since Hint.h is a less common header file name than cpu.h.
Notes
Notes: svn path=/head/; revision=196788
Diffstat (limited to 'java/jdk16')
-rw-r--r--java/jdk16/files/patch-j2se::ttHints::HintScan.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-j2se::ttHints::HintScan.c b/java/jdk16/files/patch-j2se::ttHints::HintScan.c
new file mode 100644
index 000000000000..12375f1cdfbc
--- /dev/null
+++ b/java/jdk16/files/patch-j2se::ttHints::HintScan.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../j2se/src/share/native/sun/font/t2k/ttHints/HintScan.c 6 Mar 2007 16:53:10 -0000 1.1.1.2
++++ ../../j2se/src/share/native/sun/font/t2k/ttHints/HintScan.c 31 Jul 2007 04:07:56 -0000
+@@ -34,7 +34,7 @@
+
+ #include "HintScan.h"
+
+-#include "cpu.h" //for fastint
++#include "Hint.h" //for fastint
+
+ /* copy macros as temporal solution - straightforward including cause compilation issues */
+ #define F26Dot6ToFixed(x) ((x) << 10)