pkgsrc-wip/jdk14/patches/patch-am
Geert Hendrickx a6227050d0 Update to jdk14 patchset 8.
Notable changes:
- DragonFly support (thanks to asmodai and joerg)
- Add DONT_ENABLE_IPV6 knob (turned into pkgsrc "inet6" option)
- Many small improvements and fixes
2005-12-19 13:32:01 +00:00

17 lines
732 B
Text

$NetBSD: patch-am,v 1.2 2005/12/19 13:32:01 ghen Exp $
--- j2se/src/solaris/native/sun/awt/fontpath.c.orig 2005-11-03 13:34:15.000000000 +0100
+++ j2se/src/solaris/native/sun/awt/fontpath.c
@@ -495,9 +495,9 @@ static char *getPlatformFontPathChars(JN
char *ptr;
#if defined(__linux__) || defined(_ALLBSD_SOURCE)
- ptr = "/usr/X11R6/lib/X11/fonts/Type1:"
- "/usr/X11R6/lib/X11/fonts/TrueType:"
- "/usr/X11R6/lib/X11/fonts/tt:"
+ ptr = "%%X11BASE%%/lib/X11/fonts/Type1:"
+ "%%X11BASE%%/lib/X11/fonts/TrueType:"
+ "%%X11BASE%%/lib/X11/fonts/tt:"
"/usr/share/fonts/ja/TrueType";
#elif defined( HEADLESS )
ptr = getSolarisFontLocations(env, (int) (noType1==JNI_TRUE));