1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

. Fix the main build for gcc 3.4. The HotSpot build may need some

additional patches.

  This patch is taken almost verbatim from PR 69853 which was
  submitted by Jake Hamby <jhamby@anobject.com>.  I've applied it to
  jdk13 rather than jdk14 though.
This commit is contained in:
Greg Lewis 2004-08-10 20:30:30 +00:00
parent 8342797c35
commit 16df5ea99e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115872

View File

@ -0,0 +1,13 @@
$FreeBSD$
--- ../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp 12 Jul 2001 21:54:30 -0000 1.2
+++ ../src/share/native/sun/awt/font/fontmanager/fontobjects/t2kScalerContext.cpp 10 Aug 2004 14:29:24 -0000
@@ -784,7 +784,7 @@
CMAPMapper::CharsToGlyphs(
int count, const Unicode unicodes[], UInt32 glyphs[]) const
{
- ConvertUnicodeToGlyphs(*font, (unsigned char *)cmap, count, unicodes, glyphs);
+ ConvertUnicodeToGlyphs(*font, (byte*&)cmap, count, unicodes, glyphs);
}
//////////////////////////////////////////////////////////////////////////////