Hi,
This is a bugfix update for jansson.
All consumers are building fine.
Changelog:
https://jansson.readthedocs.io/en/2.13/changes.html#version-2-13-1
SEPARATE_BUILD set after it was dropped when switching from cmake
to autotools.
Runtime tests are welcome.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/jansson/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile    11 Jul 2021 22:52:40 -0000      1.16
+++ Makefile    13 Jul 2021 09:08:24 -0000
@@ -2,10 +2,9 @@

 COMMENT =              library for manipulating JSON data

-DISTNAME =             jansson-2.12
-REVISION =             1
+DISTNAME =             jansson-2.13.1

-SHARED_LIBS =          jansson 4.0
+SHARED_LIBS =          jansson 5.0

 CATEGORIES =           devel

@@ -18,6 +17,7 @@ PERMIT_PACKAGE =      Yes

 MASTER_SITES =         https://digip.org/jansson/releases/

+SEPARATE_BUILD =       Yes
 CONFIGURE_STYLE =      gnu

 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/jansson/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo    12 Dec 2018 15:09:14 -0000      1.6
+++ distinfo    13 Jul 2021 09:08:24 -0000
@@ -1,2 +1,2 @@
-SHA256 (jansson-2.12.tar.gz) = X43sdlBI76xdkZre1RsmoyoFOX6iB6p2n/a1PHAn0sk=
-SIZE (jansson-2.12.tar.gz) = 489154
+SHA256 (jansson-2.13.1.tar.gz) = 9PN32hexAgGmDBEIYT547hXfaxIBaxFrbeQiCfR6R08=
+SIZE (jansson-2.13.1.tar.gz) = 531924
Index: patches/patch-src_hashtable_seed_c
===================================================================
RCS file: /cvs/ports/devel/jansson/patches/patch-src_hashtable_seed_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_hashtable_seed_c
--- patches/patch-src_hashtable_seed_c  6 Feb 2017 11:44:56 -0000       1.1
+++ patches/patch-src_hashtable_seed_c  13 Jul 2021 09:08:24 -0000
@@ -1,9 +1,10 @@
 $OpenBSD: patch-src_hashtable_seed_c,v 1.1 2017/02/06 11:44:56 sthen Exp $
---- src/hashtable_seed.c.orig  Sat Mar  7 07:02:39 2015
-+++ src/hashtable_seed.c       Mon Feb  6 10:35:05 2017
-@@ -45,6 +45,11 @@
- #include "jansson.h"
+Index: src/hashtable_seed.c
+--- src/hashtable_seed.c.orig
++++ src/hashtable_seed.c
+@@ -44,6 +44,11 @@

+ #include "jansson.h"

 +#if defined(__OpenBSD__)
 +static uint32_t generate_seed() {
@@ -13,11 +14,11 @@ $OpenBSD: patch-src_hashtable_seed_c,v 1
  static uint32_t buf_to_uint32(char *data) {
      size_t i;
      uint32_t result = 0;
-@@ -189,6 +194,7 @@ static uint32_t generate_seed() {
+@@ -190,6 +195,7 @@ static uint32_t generate_seed() {

      return seed;
  }
 +#endif /* OpenBSD */

-
  volatile uint32_t hashtable_seed = 0;
+


Reply via email to