$NetBSD: patch-aa,v 1.4 2004/09/16 15:09:01 minskim Exp $ --- Imakefile.orig Thu Mar 19 13:50:59 1998 +++ Imakefile @@ -51,14 +51,19 @@ SPRINTFDEF = -DVOID_SPRINTF # endif # endif #endif +#if HasStrlcat +STRLCATDEF = -DHAS_STRLCAT +#endif + #if defined(Win32Architecture) ZPIPEDEF = -DNO_ZPIPE #endif -DEFINES = $(STRDUPDEF) $(STRCASECMPDEF) $(SPRINTFDEF) $(ZPIPEDEF) +DEFINES = $(STRDUPDEF) $(STRCASECMPDEF) $(SPRINTFDEF) $(STRLCATDEF) $(ZPIPEDEF) XCOMM You can uncomment the following line to avoid building the shared lib XCOMM IMAKE_DEFINES = -DSharedLibXpm=NO +IMAKE_DEFINES = -DForceNormalLib=YES XCOMM