ports/140097: devel/json-glib

Corey Halpin chalpin at cs.wisc.edu
Fri Oct 30 04:20:02 UTC 2009


>Number:         140097
>Category:       ports
>Synopsis:       devel/json-glib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 30 04:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Corey Halpin
>Release:        FreeBSD 7.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD hobbes.home.crhalpin.org 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386



>Description:
	There's a new upstream version of json-glib.
>How-To-Repeat:
	NA
>Fix:

diff -ruN /usr/ports/devel/json-glib/Makefile json-glib/Makefile
--- /usr/ports/devel/json-glib/Makefile	2009-08-02 14:33:13.000000000 -0500
+++ json-glib/Makefile	2009-10-29 20:28:58.000000000 -0500
@@ -6,12 +6,10 @@
 #

 PORTNAME=	json-glib
-PORTVERSION=	0.6.2
+PORTVERSION=	0.8.2
 PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	http://folks.o-hand.com/~ebassi/sources/ \
-    		${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR=	marcus:local
+MASTER_SITES=	http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.8/

 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	JSON (RFC 4627) interface for Glib
diff -ruN /usr/ports/devel/json-glib/distinfo json-glib/distinfo
--- /usr/ports/devel/json-glib/distinfo	2008-12-25 19:47:45.000000000 -0600
+++ json-glib/distinfo	2009-10-29 20:27:11.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (json-glib-0.6.2.tar.gz) = d98f5580035ad0b37fa11896053a57af
-SHA256 (json-glib-0.6.2.tar.gz) = 7befca7f7d7d65cbb260eacd86eff2c1dcae8d859ae2c3e3002e2536d02b2c49
-SIZE (json-glib-0.6.2.tar.gz) = 453865
+MD5 (json-glib-0.8.2.tar.gz) = a4ce27469afdf0eb4dd4399d64dfbbf8
+SHA256 (json-glib-0.8.2.tar.gz) = 38f9b54f5010d3252fd1ef753dbf9cdb1ada12ff87be6bb338e02e69e34ff528
+SIZE (json-glib-0.8.2.tar.gz) = 505238
diff -ruN /usr/ports/devel/json-glib/files/patch-json-glib_json-object.c json-glib/files/patch-json-glib_json-object.c
--- /usr/ports/devel/json-glib/files/patch-json-glib_json-object.c	2008-12-26 12:38:37.000000000 -0600
+++ json-glib/files/patch-json-glib_json-object.c	1969-12-31 18:00:00.000000000 -0600
@@ -1,21 +0,0 @@
-diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
-index 15e9ed5..eeb571c 100644
---- json-glib/json-gobject.c
-+++ json-glib/json-gobject.c
-@@ -189,7 +189,7 @@ json_deserialize_pspec (GValue     *value,
-         {
-           JsonArray *array = json_node_get_array (node);
-           guint i, array_len = json_array_get_length (array);
--          GPtrArray *str_array = g_ptr_array_sized_new (array_len);
-+          GPtrArray *str_array = g_ptr_array_sized_new (array_len + 1);
-
-           for (i = 0; i < array_len; i++)
-             {
-@@ -201,6 +201,7 @@ json_deserialize_pspec (GValue     *value,
-               if (json_node_get_string (val) != NULL);
-                 g_ptr_array_add (str_array, (gpointer) json_node_get_string (val));
-             }
-+          g_ptr_array_add (str_array, NULL);
-
-           g_value_set_boxed (value, str_array->pdata);
-



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list