summaryrefslogtreecommitdiff
path: root/textproc/json-c/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2016-06-12Updated json-c to 0.12.1.wiz1-3/+2
0.12.1 * Minimal changes to address compile issues.
2014-07-17Add hack for using gcc builtin atomic function, missing for i386.obache1-2/+2
PR pkg/48990. Bump PKGREVISION.
2014-05-10Fix build errors on GCC < 4.2pho1-1/+6
2014-04-20Bump PKGREVISIONryoon1-4/+2
* Fix -Werror build failure * Update ABI version, warned by pkglint
2014-04-20Update to 0.12ryoon1-3/+5
* 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
2013-11-29Remove PKGCONFIG_OVERRIDE for not-to-be-installed file.wiz1-2/+1
2013-11-29Disable old name compat. Planned for next release anyway, and might fixwiz1-1/+4
problems with relinking some people are seeing. Bump PKGREVISION. Wait with another recursive bump until I know that there's fallout.
2013-11-27Mark as MAKE_JOBS_SAFE=no, fix build on SmartOSryoon1-1/+3
2013-11-25Update to 0.11:wiz1-8/+4
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.
2012-10-26Disable two warnings for Clang to unbreak -Werror.joerg1-1/+6
2012-10-11Import json-c-0.10 as textproc/json-c.ryoon1-0/+23
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.