diff options
author | glewis <glewis@FreeBSD.org> | 2004-08-11 04:30:30 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-08-11 04:30:30 +0800 |
commit | 14b39dd445f5f37fe94a1b4bc195db82b4c04293 (patch) | |
tree | b5c2110231c63183958ef347f4e764ff8bca5e41 /java/jdk13 | |
parent | 98d22b67459983509f320a3cc99809828222c5ce (diff) | |
download | freebsd-ports-gnome-14b39dd445f5f37fe94a1b4bc195db82b4c04293.tar.gz freebsd-ports-gnome-14b39dd445f5f37fe94a1b4bc195db82b4c04293.tar.zst freebsd-ports-gnome-14b39dd445f5f37fe94a1b4bc195db82b4c04293.zip |
. 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.
Diffstat (limited to 'java/jdk13')
-rw-r--r-- | java/jdk13/files/patch-t2kScalerContext.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-t2kScalerContext.cpp b/java/jdk13/files/patch-t2kScalerContext.cpp new file mode 100644 index 000000000000..53034bc3b8e5 --- /dev/null +++ b/java/jdk13/files/patch-t2kScalerContext.cpp @@ -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); + } + + ////////////////////////////////////////////////////////////////////////////// |