ports/140097: update to devel/json-glib
Armin Pirkovitsch
armin at frozen-zone.org
Fri Oct 30 21:50:03 UTC 2009
The following reply was made to PR ports/140097; it has been noted by GNATS.
From: Armin Pirkovitsch <armin at frozen-zone.org>
To: bug-followup at FreeBSD.org, chalpin at cs.wisc.edu
Cc:
Subject: Re: ports/140097: update to devel/json-glib
Date: Fri, 30 Oct 2009 22:40:37 +0100
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Fixed the patch to get a correct plist file.
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-json-glib.txt"
diff -urN json-glib.old/Makefile json-glib/Makefile
--- json-glib.old/Makefile 2009-08-02 21:33:13.000000000 +0200
+++ json-glib/Makefile 2009-10-30 19:11:22.000000000 +0100
@@ -6,12 +6,9 @@
#
PORTNAME= json-glib
-PORTVERSION= 0.6.2
-PORTREVISION= 1
+PORTVERSION= 0.8.2
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 -urN json-glib.old/distinfo json-glib/distinfo
--- json-glib.old/distinfo 2008-12-26 02:47:45.000000000 +0100
+++ json-glib/distinfo 2009-10-30 19:09:23.000000000 +0100
@@ -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 -urN json-glib.old/files/patch-json-glib_json-object.c json-glib/files/patch-json-glib_json-object.c
--- json-glib.old/files/patch-json-glib_json-object.c 2008-12-26 19:38:37.000000000 +0100
+++ json-glib/files/patch-json-glib_json-object.c 1970-01-01 01:00:00.000000000 +0100
@@ -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);
-
diff -urN json-glib.old/pkg-plist json-glib/pkg-plist
--- json-glib.old/pkg-plist 2008-12-26 02:47:45.000000000 +0100
+++ json-glib/pkg-plist 2009-10-30 22:30:41.000000000 +0100
@@ -15,17 +15,22 @@
%%DOCSDIR%%/ch01.html
%%DOCSDIR%%/ch02.html
%%DOCSDIR%%/ch03.html
+%%DOCSDIR%%/ch04.html
%%DOCSDIR%%/home.png
%%DOCSDIR%%/index.html
%%DOCSDIR%%/index.sgml
%%DOCSDIR%%/ix01.html
%%DOCSDIR%%/ix02.html
+%%DOCSDIR%%/ix03.html
+%%DOCSDIR%%/ix04.html
+%%DOCSDIR%%/ix05.html
%%DOCSDIR%%/json-advanced.html
+%%DOCSDIR%%/annotation-glossary.html
+%%DOCSDIR%%/json-glib-JSON-Array.html
+%%DOCSDIR%%/json-glib-JSON-Node.html
+%%DOCSDIR%%/json-glib-JSON-Object.html
%%DOCSDIR%%/json-base.html
%%DOCSDIR%%/json-glib-GObject-integration.html
-%%DOCSDIR%%/json-glib-JsonArray.html
-%%DOCSDIR%%/json-glib-JsonNode.html
-%%DOCSDIR%%/json-glib-JsonObject.html
%%DOCSDIR%%/json-glib-Versioning-information.html
%%DOCSDIR%%/json-glib.devhelp
%%DOCSDIR%%/json-glib.devhelp2
--UugvWAfsgieZRqgk--
More information about the freebsd-gnome
mailing list