$NetBSD: patch-aa,v 1.2 2016/05/30 13:27:04 mef Exp $ Fixed the build for sunpro on Solaris 10. --- portable.h.orig 2004-08-09 15:04:02.000000000 +0200 +++ portable.h 2007-01-14 17:05:21.524063100 +0100 @@ -148,5 +148,13 @@ int vsnprintf(char *str, size_t count, c } #endif +#if !defined(__GNUC__) && !defined(__PRETTY_FUNCTION__) +# define __PRETTY_FUNCTION__ __func__ +#endif + +#if !defined(__GNUC__) && !defined(__attribute__) +# define __attribute__(x) /**/ +#endif + #endif