$OpenBSD: patch-jdk_src_solaris_native_sun_awt_awt_Font_c,v 1.1 2008/03/19 18:05:46 kurt Exp $
--- jdk/src/solaris/native/sun/awt/awt_Font.c.orig	Tue Dec  4 04:05:26 2007
+++ jdk/src/solaris/native/sun/awt/awt_Font.c	Thu Feb 14 17:16:39 2008
@@ -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";
             }
