$OpenBSD: patch-j2se_src_solaris_native_sun_awt_awt_Font_c,v 1.1 2007/09/06 15:46:19 kurt Exp $
--- j2se/src/solaris/native/sun/awt/awt_Font.c.orig	Thu Jul  5 05:03:39 2007
+++ j2se/src/solaris/native/sun/awt/awt_Font.c	Fri Jul 27 18:25:14 2007
@@ -334,7 +334,7 @@ loadFont(Display * display, char *name, int32_t pointS
             if (strcmp(style, "regular") == 0) {
                 altstyle = "roman";
             }
-#ifdef __linux__
+#if defined(__linux__) || defined(_ALLBSD_SOURCE)
             if (!strcmp(family, "lucidasans")) {
                 family = "lucida";
 	    }
