summaryrefslogtreecommitdiff
path: root/devel/glib/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib/patches/patch-af')
-rw-r--r--devel/glib/patches/patch-af6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/glib/patches/patch-af b/devel/glib/patches/patch-af
index 5dad7127fe6..62b22d5d340 100644
--- a/devel/glib/patches/patch-af
+++ b/devel/glib/patches/patch-af
@@ -1,14 +1,12 @@
-$NetBSD: patch-af,v 1.5 2004/02/08 23:22:45 mjl Exp $
+$NetBSD: patch-af,v 1.6 2006/06/08 21:13:39 tron Exp $
--- gutils.c.orig 2003-09-04 22:39:55.000000000 +0200
+++ gutils.c 2003-09-04 22:41:06.000000000 +0200
-@@ -483,6 +483,9 @@
+@@ -483,6 +483,7 @@
# ifdef _SC_GETPW_R_SIZE_MAX
/* This reurns the maximum length */
guint bufsize = sysconf (_SC_GETPW_R_SIZE_MAX);
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
+ if (bufsize == (guint) -1) bufsize = 64; /* XXX Correct for unimpelemented SC */
-+#endif /* __FreeBSD__ */
# else /* _SC_GETPW_R_SIZE_MAX */
guint bufsize = 64;
# endif /* _SC_GETPW_R_SIZE_MAX */