Commit graph

13 commits

Author SHA1 Message Date
wiz
cd2a4a8287 Updated json-c to 0.12.1.
0.12.1

  * Minimal changes to address compile issues.
2016-06-12 14:37:37 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
obache
4b34f49bc7 Add hack for using gcc builtin atomic function, missing for i386.
PR pkg/48990.

Bump PKGREVISION.
2014-07-17 09:18:27 +00:00
pho
ea49eb1507 Fix build errors on GCC < 4.2 2014-05-10 04:09:41 +00:00
ryoon
9bd870540f Add missing patch, fix PR pkg/48758 2014-04-20 02:29:49 +00:00
ryoon
66f01c082c Bump PKGREVISION
* Fix -Werror build failure
* Update ABI version, warned by pkglint
2014-04-20 00:26:15 +00:00
ryoon
5e6e3ff1a1 Update to 0.12
* Security update for CVE-2013-6370 and CVE-2013-6371
* Update API version

0.12

  * Address security issues:
    * CVE-2013-6371: hash collision denial of service
    * CVE-2013-6370: buffer overflow if size_t is larger than int

  * Avoid potential overflow in json_object_get_double

  * Eliminate the mc_abort() function and MC_ABORT macro.

  * Make the json_tokener_errors array local.  It has been deprecated for
     a while, and json_tokener_error_desc() should be used instead.

  * change the floating point output format to %.17g so values with
     more than 6 digits show up in the output.

  * Remove the old libjson.so name compatibility support.  The library is
      only created as libjson-c.so now and headers are only installed
      into the ${prefix}/json-c directory.

  * When supported by the linker, add the -Bsymbolic-functions flag.

  * Various changes to fix the build on MSVC.

  * Make strict mode more strict:
    * number must not start with 0
    * no single-quote strings
    * no comments
    * trailing char not allowed
    * only allow lowercase literals

  * Added a json_object_new_double_s() convenience function to allow
    an exact string representation of a double to be specified when
    creating the object and use it in json_tokener_parse_ex() so
    a re-serialized object more exactly matches the input.

  * Add support NaN and Infinity
2014-04-20 00:09:04 +00:00
wiz
4dc13bebb9 Remove PKGCONFIG_OVERRIDE for not-to-be-installed file. 2013-11-29 17:57:07 +00:00
wiz
4818026c97 Disable old name compat. Planned for next release anyway, and might fix
problems with relinking some people are seeing.

Bump PKGREVISION.

Wait with another recursive bump until I know that there's fallout.
2013-11-29 17:45:18 +00:00
ryoon
e76af45d94 Mark as MAKE_JOBS_SAFE=no, fix build on SmartOS 2013-11-27 11:29:33 +00:00
wiz
05ea55e0f1 Update to 0.11:
0.11

  * IMPORTANT: the name of the library has changed to libjson-c.so and
     the header files are now in include/json-c.
     The pkgconfig name has also changed from json to json-c.
     You should change your build to use appropriate -I and -l options.
     A compatibility shim is in place so builds using the old name will
     continue to work, but that will be removed in the next release.
  * Maximum recursion depth is now a runtime option.
     json_tokener_new() is provided for compatibility.
     json_tokener_new_ex(depth)
  * Include json_object_iterator.h in the installed headers.
  * Add support for building on Android.
  * Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid.
  * Make it safe to delete keys while iterating with the json_object_object_foreach macro.
  * Add a json_set_serializer() function to allow the string output of a json_object to be customized.
  * Make float parsing locale independent.
  * Add a json_tokener_set_flags() function and a JSON_TOKENER_STRICT flag.
  * Enable -Werror when building.
  * speed improvements to parsing 64-bit integers on systems with working sscanf
  * Add a json_object_object_length function.
  * Fix a bug (buffer overrun) when expanding arrays to more than 64 entries.
2013-11-25 11:59:08 +00:00
joerg
b2427e50de Disable two warnings for Clang to unbreak -Werror. 2012-10-26 20:16:44 +00:00
ryoon
8db49df6a7 Import json-c-0.10 as textproc/json-c.
JSON-C implements a reference counting object model that allows
you to easily construct JSON objects in C, output them as JSON
formatted strings and parse JSON formatted strings back into the
C representation of JSON objects.
2012-10-11 15:40:40 +00:00