$NetBSD: patch-ag,v 1.1.1.1 2003/06/03 09:17:21 jmmv Exp $ --- src/UDPSocket.cpp.orig 2003-05-26 05:30:05.000000000 +0200 +++ src/UDPSocket.cpp 2003-06-01 11:36:08.000000000 +0200 @@ -25,7 +25,7 @@ static pthread_attr_t attr;//=PTHREAD_CREATE_DETACHED; #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) - static wxMutex *s_mutexProtectingGetHostByName; + static wxMutex s_mutexProtectingGetHostByName; static int convert (struct hostent *host, struct hostent *result, @@ -131,7 +131,7 @@ { struct hostent *host; - s_mutexProtectingGetHostByName->Lock(); + s_mutexProtectingGetHostByName.Lock(); host = gethostbyname (name); if (!host || @@ -140,7 +140,7 @@ result = NULL; } - s_mutexProtectingGetHostByName->Unlock(); + s_mutexProtectingGetHostByName.Unlock(); return result; }