summaryrefslogtreecommitdiff
path: root/misc/openoffice
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-01-03 22:51:01 +0000
committeragc <agc@pkgsrc.org>2005-01-03 22:51:01 +0000
commit1e90d6ac785cd1e87de3001e57a5fa99029bc99c (patch)
tree4fe0b09644af4e4cada5fca31b61dfd4966df228 /misc/openoffice
parentf386be1e2a0ef443f64fe20b00891eebdf5e7ecc (diff)
downloadpkgsrc-1e90d6ac785cd1e87de3001e57a5fa99029bc99c.tar.gz
The getpwnam_r prototype appeared in NetBSD in 2.99.10 or so
Diffstat (limited to 'misc/openoffice')
-rw-r--r--misc/openoffice/patches/patch-ad8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/openoffice/patches/patch-ad b/misc/openoffice/patches/patch-ad
index 56988e42715..34fab94f80b 100644
--- a/misc/openoffice/patches/patch-ad
+++ b/misc/openoffice/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.3 2005/01/03 08:07:26 agc Exp $
+$NetBSD: patch-ad,v 1.4 2005/01/03 22:51:01 agc Exp $
Patch from Rui-Xiang Guo for building on NetBSD-current
@@ -8,11 +8,11 @@ Patch from Rui-Xiang Guo for building on NetBSD-current
struct passwd *getpwnam_r(const char* name, struct passwd* s, char* buffer, int size )
#endif /* BUILD_OS_APPLEOSX */
#else /* MACOSX */
-+#if (__NetBSD_Version__ < 200000000)
++#if (__NetBSD_Version__ < 299001000)
struct passwd *getpwnam_r(const char* name, struct passwd* s, char* buffer, int size )
+#endif
#endif /* MACOSX */
-+#if (__NetBSD_Version__ < 200000000)
++#if (__NetBSD_Version__ < 299001000)
{
struct passwd* res;
@@ -23,7 +23,7 @@ Patch from Rui-Xiang Guo for building on NetBSD-current
+#endif
-#if defined(NETBSD) || defined(MACOSX)
-+#if defined(NETBSD) && (__NetBSD_Version__ < 200000000) || defined(MACOSX)
++#if defined(NETBSD) && (__NetBSD_Version__ < 299001000) || defined(MACOSX)
int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer,
size_t buflen, struct passwd **result)
{