diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-11-27 22:50:16 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-11-27 22:50:16 +0000 |
commit | dad90c94857e4cc40a15fd6daa41165c8a15bb69 (patch) | |
tree | d34a4e677c1578911ac3fcbe35421a765b556ee9 | |
parent | Update to 0.1.b120 (diff) |
Update to 2.12.
-rw-r--r-- | devel/jansson/Makefile | 2 | ||||
-rw-r--r-- | devel/jansson/distinfo | 6 | ||||
-rw-r--r-- | devel/jansson/files/patch-src_hashtable.c | 12 | ||||
-rw-r--r-- | devel/jansson/files/patch-src_jansson.h | 10 | ||||
-rw-r--r-- | devel/jansson/files/patch-src_value.c | 14 | ||||
-rw-r--r-- | devel/jansson/pkg-plist | 2 |
6 files changed, 23 insertions, 23 deletions
diff --git a/devel/jansson/Makefile b/devel/jansson/Makefile index 09f401d03f19..ccc70dee486e 100644 --- a/devel/jansson/Makefile +++ b/devel/jansson/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= jansson -PORTVERSION= 2.11 +PORTVERSION= 2.12 CATEGORIES= devel MASTER_SITES= http://www.digip.org/jansson/releases/ diff --git a/devel/jansson/distinfo b/devel/jansson/distinfo index 7d14bd5f996b..09299780d92c 100644 --- a/devel/jansson/distinfo +++ b/devel/jansson/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1518421709 -SHA256 (jansson-2.11.tar.bz2) = 783132e2fc970feefc2fa54199ef65ee020bd8e0e991a78ea44b8586353a0947 -SIZE (jansson-2.11.tar.bz2) = 399179 +TIMESTAMP = 1543358593 +SHA256 (jansson-2.12.tar.bz2) = 645d72cc5dbebd4df608d33988e55aa42a7661039e19a379fcbe5c79d1aee1d2 +SIZE (jansson-2.12.tar.bz2) = 404669 diff --git a/devel/jansson/files/patch-src_hashtable.c b/devel/jansson/files/patch-src_hashtable.c index fb57b4d9246f..6f97889ce76e 100644 --- a/devel/jansson/files/patch-src_hashtable.c +++ b/devel/jansson/files/patch-src_hashtable.c @@ -1,6 +1,6 @@ ---- src/hashtable.c.orig 2016-08-25 17:21:36 UTC +--- src/hashtable.c.orig 2018-02-08 09:05:40 UTC +++ src/hashtable.c -@@ -108,10 +108,10 @@ static int hashtable_do_del(hashtable_t +@@ -108,10 +108,10 @@ static int hashtable_do_del(hashtable_t *hashtable, { pair_t *pair; bucket_t *bucket; @@ -14,7 +14,7 @@ pair = hashtable_find_pair(hashtable, bucket, key, hash); if(!pair) -@@ -154,7 +154,7 @@ static int hashtable_do_rehash(hashtable +@@ -154,7 +154,7 @@ static int hashtable_do_rehash(hashtable_t *hashtable) { list_t *list, *next; pair_t *pair; @@ -23,7 +23,7 @@ struct hashtable_bucket *new_buckets; new_order = hashtable->order + 1; -@@ -180,8 +180,8 @@ static int hashtable_do_rehash(hashtable +@@ -180,8 +180,8 @@ static int hashtable_do_rehash(hashtable_t *hashtable) for(; list != &hashtable->list; list = next) { next = list->next; pair = list_to_pair(list); @@ -34,7 +34,7 @@ } return 0; -@@ -220,7 +220,7 @@ int hashtable_set(hashtable_t *hashtable +@@ -220,7 +220,7 @@ int hashtable_set(hashtable_t *hashtable, const char * { pair_t *pair; bucket_t *bucket; @@ -43,7 +43,7 @@ /* rehash if the load ratio exceeds 1 */ if(hashtable->size >= hashsize(hashtable->order)) -@@ -228,8 +228,8 @@ int hashtable_set(hashtable_t *hashtable +@@ -228,8 +228,8 @@ int hashtable_set(hashtable_t *hashtable, const char * return -1; hash = hash_str(key); diff --git a/devel/jansson/files/patch-src_jansson.h b/devel/jansson/files/patch-src_jansson.h index edca944cf86f..5a788d2bdd06 100644 --- a/devel/jansson/files/patch-src_jansson.h +++ b/devel/jansson/files/patch-src_jansson.h @@ -1,6 +1,6 @@ ---- src/jansson.h.orig 2016-08-26 17:37:02 UTC +--- src/jansson.h.orig 2018-11-26 08:10:21 UTC +++ src/jansson.h -@@ -159,10 +159,10 @@ int json_object_iter_set_new(json_t *obj +@@ -219,10 +219,10 @@ int json_object_iter_set_new(json_t *object, void *ite key = json_object_iter_key(n), \ n = json_object_iter_next(object, json_object_key_to_iter(key))) @@ -15,13 +15,13 @@ static JSON_INLINE int json_object_set(json_t *object, const char *key, json_t *value) -@@ -183,11 +183,11 @@ int json_object_iter_set(json_t *object, +@@ -243,11 +243,11 @@ int json_object_iter_set(json_t *object, void *iter, j } size_t json_array_size(const json_t *array); --json_t *json_array_get(const json_t *array, size_t index); +-json_t *json_array_get(const json_t *array, size_t index) JANSSON_ATTRS(warn_unused_result); -int json_array_set_new(json_t *array, size_t index, json_t *value); -+json_t *json_array_get(const json_t *array, size_t idx); ++json_t *json_array_get(const json_t *array, size_t idx) JANSSON_ATTRS(warn_unused_result); +int json_array_set_new(json_t *array, size_t idx, json_t *value); int json_array_append_new(json_t *array, json_t *value); -int json_array_insert_new(json_t *array, size_t index, json_t *value); diff --git a/devel/jansson/files/patch-src_value.c b/devel/jansson/files/patch-src_value.c index 1879d3aad9ed..1f6d76e48d71 100644 --- a/devel/jansson/files/patch-src_value.c +++ b/devel/jansson/files/patch-src_value.c @@ -1,6 +1,6 @@ ---- src/value.c.orig 2016-08-25 17:21:36 UTC +--- src/value.c.orig 2018-11-26 08:10:21 UTC +++ src/value.c -@@ -375,20 +375,20 @@ size_t json_array_size(const json_t *jso +@@ -374,20 +374,20 @@ size_t json_array_size(const json_t *json) return json_to_array(json)->entries; } @@ -25,7 +25,7 @@ { json_array_t *array; -@@ -402,14 +402,14 @@ int json_array_set_new(json_t *json, siz +@@ -401,14 +401,14 @@ int json_array_set_new(json_t *json, size_t index, jso } array = json_to_array(json); @@ -43,7 +43,7 @@ return 0; } -@@ -481,7 +481,7 @@ int json_array_append_new(json_t *json, +@@ -480,7 +480,7 @@ int json_array_append_new(json_t *json, json_t *value) return 0; } @@ -52,7 +52,7 @@ { json_array_t *array; json_t **old_table; -@@ -495,7 +495,7 @@ int json_array_insert_new(json_t *json, +@@ -494,7 +494,7 @@ int json_array_insert_new(json_t *json, size_t index, } array = json_to_array(json); @@ -61,7 +61,7 @@ json_decref(value); return -1; } -@@ -507,21 +507,21 @@ int json_array_insert_new(json_t *json, +@@ -506,21 +506,21 @@ int json_array_insert_new(json_t *json, size_t index, } if(old_table != array->table) { @@ -89,7 +89,7 @@ { json_array_t *array; -@@ -529,14 +529,14 @@ int json_array_remove(json_t *json, size +@@ -528,14 +528,14 @@ int json_array_remove(json_t *json, size_t index) return -1; array = json_to_array(json); diff --git a/devel/jansson/pkg-plist b/devel/jansson/pkg-plist index 8a86cfa4e427..c327173d10a3 100644 --- a/devel/jansson/pkg-plist +++ b/devel/jansson/pkg-plist @@ -3,5 +3,5 @@ include/jansson_config.h lib/libjansson.a lib/libjansson.so lib/libjansson.so.4 -lib/libjansson.so.4.11.0 +lib/libjansson.so.4.11.1 libdata/pkgconfig/jansson.pc |