summaryrefslogtreecommitdiff
path: root/textproc/json-c
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-06-12 14:37:37 +0000
committerwiz <wiz@pkgsrc.org>2016-06-12 14:37:37 +0000
commit0905d7737fbb4b6f8270a790e93e835bd7e9c274 (patch)
treeaf3e6305f30deaa2d7b958392df4bc75886f94fb /textproc/json-c
parent9287d8d05ac9841b8961e86c458dc8b35626e09b (diff)
downloadpkgsrc-0905d7737fbb4b6f8270a790e93e835bd7e9c274.tar.gz
Updated json-c to 0.12.1.
0.12.1 * Minimal changes to address compile issues.
Diffstat (limited to 'textproc/json-c')
-rw-r--r--textproc/json-c/Makefile5
-rw-r--r--textproc/json-c/distinfo11
-rw-r--r--textproc/json-c/patches/patch-json__tokener.c19
3 files changed, 7 insertions, 28 deletions
diff --git a/textproc/json-c/Makefile b/textproc/json-c/Makefile
index 25eeade564d..ddb372a8ec0 100644
--- a/textproc/json-c/Makefile
+++ b/textproc/json-c/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2014/07/17 09:18:27 obache Exp $
+# $NetBSD: Makefile,v 1.11 2016/06/12 14:37:37 wiz Exp $
-DISTNAME= json-c-0.12
-PKGREVISION= 2
+DISTNAME= json-c-0.12.1
CATEGORIES= textproc
MASTER_SITES= https://s3.amazonaws.com/json-c_releases/releases/
diff --git a/textproc/json-c/distinfo b/textproc/json-c/distinfo
index 65f05faa0da..c3e4ac0001d 100644
--- a/textproc/json-c/distinfo
+++ b/textproc/json-c/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 01:59:37 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/06/12 14:37:37 wiz Exp $
-SHA1 (json-c-0.12.tar.gz) = 5580aad884076c219d41160cbd8bc12213d12c37
-RMD160 (json-c-0.12.tar.gz) = dd6b6560185dddca9b072a3d07af7899bd64cc45
-SHA512 (json-c-0.12.tar.gz) = c959804362386f6b77e9d04b5fedf6d6aff1fcd0ab50250edb25f759b510b402e7ad4b33d1cbadc3337b63a3145d19f310812a9ee351748348304b384dc2dc35
-Size (json-c-0.12.tar.gz) = 501419 bytes
-SHA1 (patch-json__tokener.c) = 9f32a54060d7569f70c6892209e749cfea5b512d
+SHA1 (json-c-0.12.1.tar.gz) = e7fcdbe41f1f3307c036f4e9e04b715de533896e
+RMD160 (json-c-0.12.1.tar.gz) = fe4c2a4cf45ab4a74e74512fe6c6ea365e46a66c
+SHA512 (json-c-0.12.1.tar.gz) = 038676a0ce815e5174161fbd4339524feadc294d517f732fb408ad6aa7c4906423451c13386107569d9f24746a1a101564ca511e92e8276c5bf5b8c022ca42ed
+Size (json-c-0.12.1.tar.gz) = 535086 bytes
SHA1 (patch-linkhash.c) = cb56e1f6eaaa58170e26a9cfb4c87dfe73730c4c
diff --git a/textproc/json-c/patches/patch-json__tokener.c b/textproc/json-c/patches/patch-json__tokener.c
deleted file mode 100644
index edef26293cd..00000000000
--- a/textproc/json-c/patches/patch-json__tokener.c
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-json__tokener.c,v 1.1 2014/04/20 02:29:49 ryoon Exp $
-
-https://github.com/json-c/json-c/pull/132
-
---- json_tokener.c.orig 2014-04-11 00:41:08.000000000 +0000
-+++ json_tokener.c
-@@ -352,12 +352,10 @@ struct json_object* json_tokener_parse_e
-
- case json_tokener_state_inf: /* aka starts with 'i' */
- {
-- int size;
- int size_inf;
- int is_negative = 0;
-
- printbuf_memappend_fast(tok->pb, &c, 1);
-- size = json_min(tok->st_pos+1, json_null_str_len);
- size_inf = json_min(tok->st_pos+1, json_inf_str_len);
- char *infbuf = tok->pb->buf;
- if (*infbuf == '-')