$NetBSD: patch-ah,v 1.1 2003/03/08 03:15:51 jmc Exp $ --- windows/WSprintf.c.orig Fri Apr 5 20:42:48 2002 +++ windows/WSprintf.c Fri Apr 5 20:43:47 2002 @@ -56,6 +56,14 @@ int WINAPI wvsprintf(LPSTR buf, LPCSTR fmt, void *args) { +#ifdef __NetBSD__ +#ifdef __powerpc__ + va_list *ap = args; + + vsprintf(buf,fmt,*ap); +#endif +#else vsprintf(buf,fmt,args); +#endif return strlen(buf); }