pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/openoffice/patches The getpwnam_r prototype appea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df114cffc2c4
branches:  trunk
changeset: 486821:df114cffc2c4
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Jan 03 22:51:01 2005 +0000

description:
The getpwnam_r prototype appeared in NetBSD in 2.99.10 or so

diffstat:

 misc/openoffice/patches/patch-ad |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 914043772aa5 -r df114cffc2c4 misc/openoffice/patches/patch-ad
--- a/misc/openoffice/patches/patch-ad  Mon Jan 03 22:50:50 2005 +0000
+++ b/misc/openoffice/patches/patch-ad  Mon Jan 03 22:51:01 2005 +0000
@@ -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 @@
  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 @@
 +#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)
  {



Home | Main Index | Thread Index | Old Index