mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
. 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.
This commit is contained in:
parent
347e8d7da1
commit
dd3f6ed6e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196788
2 changed files with 26 additions and 0 deletions
13
java/jdk15/files/patch-j2se::ttHints::HintScan.c
Normal file
13
java/jdk15/files/patch-j2se::ttHints::HintScan.c
Normal file
|
@ -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)
|
13
java/jdk16/files/patch-j2se::ttHints::HintScan.c
Normal file
13
java/jdk16/files/patch-j2se::ttHints::HintScan.c
Normal file
|
@ -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)
|
Loading…
Add table
Reference in a new issue