Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 22:50:16 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486069 - in head/devel/jansson: . files
Message-ID:  <201811272250.wARMoGoF032251@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Nov 27 22:50:16 2018
New Revision: 486069
URL: https://svnweb.freebsd.org/changeset/ports/486069

Log:
  Update to 2.12.

Modified:
  head/devel/jansson/Makefile
  head/devel/jansson/distinfo
  head/devel/jansson/files/patch-src_hashtable.c
  head/devel/jansson/files/patch-src_jansson.h
  head/devel/jansson/files/patch-src_value.c
  head/devel/jansson/pkg-plist

Modified: head/devel/jansson/Makefile
==============================================================================
--- head/devel/jansson/Makefile	Tue Nov 27 22:31:52 2018	(r486068)
+++ head/devel/jansson/Makefile	Tue Nov 27 22:50:16 2018	(r486069)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	jansson
-PORTVERSION=	2.11
+PORTVERSION=	2.12
 CATEGORIES=	devel
 MASTER_SITES=	http://www.digip.org/jansson/releases/
 

Modified: head/devel/jansson/distinfo
==============================================================================
--- head/devel/jansson/distinfo	Tue Nov 27 22:31:52 2018	(r486068)
+++ head/devel/jansson/distinfo	Tue Nov 27 22:50:16 2018	(r486069)
@@ -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

Modified: head/devel/jansson/files/patch-src_hashtable.c
==============================================================================
--- head/devel/jansson/files/patch-src_hashtable.c	Tue Nov 27 22:31:52 2018	(r486068)
+++ head/devel/jansson/files/patch-src_hashtable.c	Tue Nov 27 22:50:16 2018	(r486069)
@@ -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);

Modified: head/devel/jansson/files/patch-src_jansson.h
==============================================================================
--- head/devel/jansson/files/patch-src_jansson.h	Tue Nov 27 22:31:52 2018	(r486068)
+++ head/devel/jansson/files/patch-src_jansson.h	Tue Nov 27 22:50:16 2018	(r486069)
@@ -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);

Modified: head/devel/jansson/files/patch-src_value.c
==============================================================================
--- head/devel/jansson/files/patch-src_value.c	Tue Nov 27 22:31:52 2018	(r486068)
+++ head/devel/jansson/files/patch-src_value.c	Tue Nov 27 22:50:16 2018	(r486069)
@@ -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);
  

Modified: head/devel/jansson/pkg-plist
==============================================================================
--- head/devel/jansson/pkg-plist	Tue Nov 27 22:31:52 2018	(r486068)
+++ head/devel/jansson/pkg-plist	Tue Nov 27 22:50:16 2018	(r486069)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811272250.wARMoGoF032251>