On Thu, Apr 26 2018, Peter Hessler <phess...@theapt.org> wrote:
> ...
> 0.13.1 (up to commit 0f814e5, 2018/03/04)
> =========================================
>
> * Bump the major version of the .so library generated up to 4.0 to avoid 
>   conflicts because some downstream packagers of json-c had already done
>   their own bump to ".so.3" for a much older 0.12 release.
> * Add const size_t json_c_object_sizeof()
> * Avoid invalid free (and thus a segfault) when ref_count gets < 0
> * PR#394: fix handling of custom double formats that include a ".0"
> * Avoid uninitialized variable warnings in json_object_object_foreach
> * Issue #396: fix build for certain uClibc based systems.
> * Add a top level fuzz directory for fuzzers run by OSS-Fuzz
> ...
>
> ...
> $ make regress
> Testsuite summary for json-c 0.13.1
> ============================================================================
> # TOTAL: 21
> # PASS:  21
> ...
>
> OK?

Not ok unless you add a minor bump (updated diff below), since upstream
added a symbol, as spotted by /usr/src/lib/check_sym:

--8<--
russell /usr/ports/devel/json-c$ /usr/src/lib/check_sym 
/usr/local/lib/libjson-c.so.1.0 
/usr/ports/pobj/json-c-0.13.1/fake-amd64/usr/local/lib/libjson-c.so.1.0
/usr/local/lib/libjson-c.so.1.0 --> 
/usr/ports/pobj/json-c-0.13.1/fake-amd64/usr/local/lib/libjson-c.so.1.0
Dynamic export changes:
added:
        json_c_object_sizeof

External reference changes:
removed:
        modf

-->8--

Hopefully this will help consumers which are now hardcoding the size of
those objects depending on the json-c version, and help us with more
maintainable patches.

The update looks pretty safe/good overall.


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/json-c/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile    18 Feb 2018 19:55:05 -0000      1.18
+++ Makefile    26 Apr 2018 18:10:03 -0000
@@ -2,10 +2,10 @@
 
 COMMENT=               JSON implementation in C
 
-DISTNAME=              json-c-0.13
+DISTNAME=              json-c-0.13.1
 CATEGORIES=            devel
 
-SHARED_LIBS=           json-c  1.0     # 3.1
+SHARED_LIBS=           json-c  1.1     # 4.0
 
 HOMEPAGE=              https://github.com/json-c/json-c/wiki
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/json-c/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    18 Feb 2018 19:55:05 -0000      1.5
+++ distinfo    26 Apr 2018 18:03:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (json-c-0.13.tar.gz) = AxZ4C+mtFsQtfCawFaeE/V30sJCf7wq6Uc+xPkkqwk0=
-SIZE (json-c-0.13.tar.gz) = 634720
+SHA256 (json-c-0.13.1.tar.gz) = uH5gjU0/e/3TbveNVtU8dOZqsnjTGLceYAKjadNvSHM=
+SIZE (json-c-0.13.1.tar.gz) = 639425

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to