diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-11 09:35:13 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-11 09:35:13 +0000 |
commit | befb870d9238bb74e49cba843ff5761338b52113 (patch) | |
tree | 2f6e4b83dcbf056abcd4528c6235df518ee62840 /devel/glib | |
parent | 30befad0bbe703db883927bf04b780c183b9d679 (diff) | |
download | pkgsrc-befb870d9238bb74e49cba843ff5761338b52113.tar.gz |
ISO C90 does not allow code intermixed with declarations. (hi tron!)
Diffstat (limited to 'devel/glib')
-rw-r--r-- | devel/glib/distinfo | 4 | ||||
-rw-r--r-- | devel/glib/patches/patch-af | 19 |
2 files changed, 12 insertions, 11 deletions
diff --git a/devel/glib/distinfo b/devel/glib/distinfo index d30992ee6b1..61894e59f80 100644 --- a/devel/glib/distinfo +++ b/devel/glib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2006/06/08 21:13:39 tron Exp $ +$NetBSD: distinfo,v 1.19 2006/07/11 09:35:13 rillig Exp $ SHA1 (glib-1.2.10.tar.gz) = e5a9361c594608d152d5d9650154c2e3260b87fa RMD160 (glib-1.2.10.tar.gz) = f19efe8c87ebeea979a4d36902d8a8209640cd95 @@ -8,7 +8,7 @@ SHA1 (patch-ab) = 56e5035d8c144733752e38e0c1e790dfe44f87b7 SHA1 (patch-ac) = 4ce393ab5cd08f8971faf7967f21669df0caae52 SHA1 (patch-ad) = 5fa5ea7cc11fdd8e2f14b6a05e7c77e8359e8ec4 SHA1 (patch-ae) = 222a1f4c470fd1123deb3b4dd918b036b3607e59 -SHA1 (patch-af) = e37c4c7257a439a3ed78cdcb5715ef993ebccd84 +SHA1 (patch-af) = 3e3caa294cc64dd13beb61f327f647c2ba0ca6f7 SHA1 (patch-ag) = efdff0d20a1c3280c9916405a8d89190c68b9604 SHA1 (patch-ah) = 1e6dec25db0c72601868bb0f7c465202ecead81b SHA1 (patch-ai) = 6f6e5727bcb52655865b689c923601843d8d453d diff --git a/devel/glib/patches/patch-af b/devel/glib/patches/patch-af index 62b22d5d340..2247d60a1a9 100644 --- a/devel/glib/patches/patch-af +++ b/devel/glib/patches/patch-af @@ -1,12 +1,13 @@ -$NetBSD: patch-af,v 1.6 2006/06/08 21:13:39 tron Exp $ +$NetBSD: patch-af,v 1.7 2006/07/11 09:35:13 rillig 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,7 @@ - # ifdef _SC_GETPW_R_SIZE_MAX - /* This reurns the maximum length */ - guint bufsize = sysconf (_SC_GETPW_R_SIZE_MAX); -+ if (bufsize == (guint) -1) bufsize = 64; /* XXX Correct for unimpelemented SC */ - # else /* _SC_GETPW_R_SIZE_MAX */ +--- gutils.c.orig 2000-08-09 20:12:31.000000000 +0200 ++++ gutils.c 2006-07-11 11:30:51.000000000 +0200 +@@ -487,6 +487,8 @@ g_get_any_init (void) guint bufsize = 64; # endif /* _SC_GETPW_R_SIZE_MAX */ + gint error; ++ ++ if (bufsize == (guint) -1) bufsize = 64; /* XXX Correct for unimpelemented SC */ + + do + { |