pkgsrc/misc/openoffice3/patches/patch-ad
2009-05-09 18:43:41 +00:00

13 lines
507 B
Text

$NetBSD: patch-ad,v 1.2 2009/05/09 18:43:41 hira Exp $
--- sal/osl/unx/system.c.orig 2008-10-01 18:19:55.000000000 +0900
+++ sal/osl/unx/system.c 2009-05-09 13:52:08.000000000 +0900
@@ -35,7 +35,7 @@
static pthread_mutex_t getrtl_mutex = PTHREAD_MUTEX_INITIALIZER;
/* struct passwd differs on some platforms */
-#if defined NETBSD
+#if defined NETBSD && (__NetBSD_Version__ < 299001000)
struct passwd *getpwnam_r(const char* name, struct passwd* s, char* buffer, int size )
{
struct passwd* res;