2006-12-08 23:36:16 +01:00
|
|
|
$FreeBSD$
|
|
|
|
|
|
|
|
--- ../../j2se/src/solaris/native/sun/awt/fontpath.c.orig Fri Dec 8 11:59:25 2006
|
|
|
|
+++ ../../j2se/src/solaris/native/sun/awt/fontpath.c Fri Dec 8 12:00:06 2006
|
|
|
|
@@ -495,10 +495,10 @@
|
|
|
|
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:"
|
|
|
|
- "/usr/share/fonts/ja/TrueType";
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
+ ptr = "%%LOCALBASE%%/lib/X11/fonts/Type1:"
|
|
|
|
+ "%%LOCALBASE%%/lib/X11/fonts/TrueType:"
|
|
|
|
+ "%%LOCALBASE%%/lib/X11/fonts/tt:"
|
|
|
|
+ "%%LOCALBASE%%/fonts/ja/TrueType";
|
2006-12-08 23:36:16 +01:00
|
|
|
#elif defined( HEADLESS )
|
|
|
|
ptr = getSolarisFontLocations(env, (int) (noType1==JNI_TRUE));
|
|
|
|
#elif SCAN_FONT_DIRS
|