diff options
author | glewis <glewis@FreeBSD.org> | 2007-09-10 01:35:48 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2007-09-10 01:35:48 +0800 |
commit | 30701e55c0a0bd9adba3a2ed0717775a1eccc664 (patch) | |
tree | f8207678d6bce4f375b8463ef2f6309adfd6cd3e /java | |
parent | 1c8a5f9212c70f3fe0baef55f5df9882dee11521 (diff) | |
download | freebsd-ports-graphics-30701e55c0a0bd9adba3a2ed0717775a1eccc664.tar.gz freebsd-ports-graphics-30701e55c0a0bd9adba3a2ed0717775a1eccc664.tar.zst freebsd-ports-graphics-30701e55c0a0bd9adba3a2ed0717775a1eccc664.zip |
. Fix build problems with cpu.h being picked up from /usr/local/include.
Since the structure members being deferenced into the variables are
short*, just use short as the variable type and eliminate the use of
fastInt and the header include altogether.
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk16/files/patch-j2se-ttHints-HintScan.c | 24 |
1 files changed, 24 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 00000000000..929eee80313 --- /dev/null +++ b/java/jdk16/files/patch-j2se-ttHints-HintScan.c @@ -0,0 +1,24 @@ +$FreeBSD$ + +--- ../../j2se/src/share/native/sun/font/t2k/ttHints/HintScan.c 21 Jul 2006 17:30:59 -0000 1.1.1.2 ++++ ../../j2se/src/share/native/sun/font/t2k/ttHints/HintScan.c 9 Sep 2007 14:59:12 -0000 +@@ -34,8 +34,6 @@ + + #include "HintScan.h" + +-#include "cpu.h" //for fastint +- + /* copy macros as temporal solution - straightforward including cause compilation issues */ + #define F26Dot6ToFixed(x) ((x) << 10) + #define IntToFixed(a) ((Fixed)(a) << 16) +@@ -208,8 +206,8 @@ + F26Dot6 *v, tv, vmin, vmax, ctr; + F26Dot6 xmin, xmax, ymin, ymax; + tt_int32 n; +- fastInt aPoint, startPoint, endPoint; +- fastInt firstTime = true; ++ short aPoint, startPoint, endPoint; ++ short firstTime = true; + tt_int32 numPts = 0; + + if (t->numberOfContours > 0) { |