diff options
author | glewis <glewis@FreeBSD.org> | 2007-07-31 15:22:49 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2007-07-31 15:22:49 +0800 |
commit | 2eb91e87552c3200a2c3b9cf05f26d44d7ff29e4 (patch) | |
tree | 7717c2f66dd3732dc9f9d3556dc48738389e2e4a /java/jdk15 | |
parent | ce7ee45239fbb29b103bda4d101715f455f6355d (diff) | |
download | freebsd-ports-gnome-2eb91e87552c3200a2c3b9cf05f26d44d7ff29e4.tar.gz freebsd-ports-gnome-2eb91e87552c3200a2c3b9cf05f26d44d7ff29e4.tar.zst freebsd-ports-gnome-2eb91e87552c3200a2c3b9cf05f26d44d7ff29e4.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.
Diffstat (limited to 'java/jdk15')
-rw-r--r-- | java/jdk15/files/patch-j2se::ttHints::HintScan.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-j2se::ttHints::HintScan.c b/java/jdk15/files/patch-j2se::ttHints::HintScan.c new file mode 100644 index 000000000000..12375f1cdfbc --- /dev/null +++ b/java/jdk15/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) |