Hello community, here is the log from the commit of package libfastjson for openSUSE:Factory checked in at 2016-03-16 10:35:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfastjson (Old) and /work/SRC/openSUSE:Factory/.libfastjson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfastjson" Changes: -------- --- /work/SRC/openSUSE:Factory/libfastjson/libfastjson.changes 2016-01-11 19:11:40.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libfastjson.new/libfastjson.changes 2016-03-16 10:36:09.000000000 +0100 @@ -1,0 +2,8 @@ +Sun Mar 13 06:35:51 UTC 2016 - [email protected] + +- update to 0.99.2 + * new API: json_object_get_member_count() + * make comaptible with autoconf < 2.64 + * 0.99.1 was not released + +------------------------------------------------------------------- Old: ---- libfastjson-0.99.0.tar.gz New: ---- libfastjson-0.99.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfastjson.spec ++++++ --- /var/tmp/diff_new_pack.TqtQF4/_old 2016-03-16 10:36:09.000000000 +0100 +++ /var/tmp/diff_new_pack.TqtQF4/_new 2016-03-16 10:36:09.000000000 +0100 @@ -18,7 +18,7 @@ %define somajor 3 Name: libfastjson -Version: 0.99.0 +Version: 0.99.2 Release: 0 Summary: Fast JSON parsing library, a fork of json-c License: MIT @@ -65,11 +65,10 @@ make %{?_smp_mflags} check %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make %{?_smp_mflags} DESTDIR=%{buildroot} install find %{buildroot} -type f -name "*.la" -delete -print %post -n libfastjson%{somajor} -p /sbin/ldconfig - %postun -n libfastjson%{somajor} -p /sbin/ldconfig %files -n libfastjson%{somajor} ++++++ libfastjson-0.99.0.tar.gz -> libfastjson-0.99.2.tar.gz ++++++ ++++ 2281 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/ChangeLog new/libfastjson-0.99.2/ChangeLog --- old/libfastjson-0.99.0/ChangeLog 2015-12-21 12:06:31.000000000 +0100 +++ new/libfastjson-0.99.2/ChangeLog 2016-03-07 15:27:43.000000000 +0100 @@ -1,3 +1,12 @@ +0.99.2 2016-03-07 +- new API: json_object_get_member_count() +- make comaptible with autoconf < 2.64 + +0.99.1 +was never released, but has accidently been used by some +Adiscon packages. In order to prevent confusion, we have decided +not to use this version number for any official version. + 0.99.0 2015-12-22 - bugfix: reference counting was not thread-safe diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/compile new/libfastjson-0.99.2/compile --- old/libfastjson-0.99.0/compile 2015-12-17 17:03:23.000000000 +0100 +++ new/libfastjson-0.99.2/compile 2016-01-13 08:19:06.000000000 +0100 @@ -3,7 +3,7 @@ scriptversion=2012-10-14.11; # UTC -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey <[email protected]>. # # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/configure.ac new/libfastjson-0.99.2/configure.ac --- old/libfastjson-0.99.0/configure.ac 2015-12-17 17:03:10.000000000 +0100 +++ new/libfastjson-0.99.2/configure.ac 2016-03-07 15:25:07.000000000 +0100 @@ -1,7 +1,7 @@ AC_PREREQ(2.52) # Process this file with autoconf to produce a configure script. -AC_INIT([libfastjson], 0.99.0, [[email protected]]) +AC_INIT([libfastjson], 0.99.2, [[email protected]]) AM_INIT_AUTOMAKE @@ -111,10 +111,10 @@ AC_SUBST(JSON_BSYMBOLIC_LDFLAGS) #AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wno-error=deprecated-declarations]) -AX_APPEND_COMPILE_FLAGS([-Wall -Wno-error=deprecated-declarations]) -AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-string -Wno-unused-parameter]) -AX_APPEND_COMPILE_FLAGS([-std=gnu99]) -AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE -D_REENTRANT]) +#AX_APPEND_COMPILE_FLAGS([-Wall -Wno-error=deprecated-declarations]) +#AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-string -Wno-unused-parameter]) +#AX_APPEND_COMPILE_FLAGS([-std=gnu99]) +#AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE -D_REENTRANT]) AC_CONFIG_FILES([ Makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/json_object.c new/libfastjson-0.99.2/json_object.c --- old/libfastjson-0.99.0/json_object.c 2015-12-16 17:15:25.000000000 +0100 +++ new/libfastjson-0.99.2/json_object.c 2016-03-05 11:20:17.000000000 +0100 @@ -1039,3 +1039,7 @@ return (struct json_object*)array_list_get_idx(jso->o.c_array, idx); } +int json_object_get_member_count(struct json_object *jso) +{ + return jso->o.c_object->count; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/json_object.h new/libfastjson-0.99.2/json_object.h --- old/libfastjson-0.99.0/json_object.h 2015-12-16 17:15:25.000000000 +0100 +++ new/libfastjson-0.99.2/json_object.h 2016-03-05 11:20:17.000000000 +0100 @@ -4,7 +4,7 @@ * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd. * Michael Clark <[email protected]> * Copyright (c) 2009 Hewlett-Packard Development Company, L.P. - * Copyright (c) 2015 Rainer Gerhards + * Copyright (c) 2015-2016 Rainer Gerhards * * This library is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See COPYING for details. @@ -684,6 +684,13 @@ */ extern int json_object_get_string_len(struct json_object *obj); + +/** Get the number of direct members inside a json object. + * + * @param obj the json_object instance + * @returns int + */ +int json_object_get_member_count(struct json_object *jso); #ifdef __cplusplus } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/linkhash.h new/libfastjson-0.99.2/linkhash.h --- old/libfastjson-0.99.0/linkhash.h 2015-11-19 11:44:47.000000000 +0100 +++ new/libfastjson-0.99.2/linkhash.h 2016-03-05 11:20:17.000000000 +0100 @@ -21,6 +21,7 @@ /** * golden prime used in hash functions + * internal functionality - NOT PART OF THE API */ #define LH_PRIME 0x9e370001UL @@ -28,16 +29,19 @@ * The fraction of filled hash buckets until an insert will cause the table * to be resized. * This can range from just above 0 up to 1.0. + * internal functionality - NOT PART OF THE API */ #define LH_LOAD_FACTOR 0.66 /** * sentinel pointer value for empty slots + * internal functionality - NOT PART OF THE API */ #define LH_EMPTY (void*)-1 /** * sentinel pointer value for freed slots + * internal functionality - NOT PART OF THE API */ #define LH_FREED (void*)-2 @@ -75,6 +79,7 @@ /** * An entry in the hash table + * internal functionality - NOT PART OF THE API */ struct lh_entry { /** @@ -99,6 +104,7 @@ /** * The hash table structure. + * internal functionality - NOT PART OF THE API */ struct lh_table { /** @@ -140,12 +146,14 @@ /** * Convenience list iterator. + * internal functionality - NOT PART OF THE API */ #define lh_foreach(table, entry) \ for(entry = table->head; entry; entry = entry->next) /** * lh_foreach_safe allows calling of deletion routine while iterating. + * internal functionality - NOT PART OF THE API */ #define lh_foreach_safe(table, entry, tmp) \ for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp) @@ -167,6 +175,7 @@ * lh_ptr_hash and lh_char_hash for comparing pointer values * and C strings respectively. * @return a pointer onto the linkhash table. + * internal functionality - NOT PART OF THE API */ extern struct lh_table* lh_table_new(int size, lh_entry_free_fn *free_fn, @@ -180,6 +189,7 @@ * @param name table name. * @param free_fn callback function used to free memory for entries. * @return a pointer onto the linkhash table. + * internal functionality - NOT PART OF THE API */ extern struct lh_table* lh_kchar_table_new(int size, lh_entry_free_fn *free_fn); @@ -192,6 +202,7 @@ * @param name table name. * @param free_fn callback function used to free memory for entries. * @return a pointer onto the linkhash table. + * internal functionality - NOT PART OF THE API */ extern struct lh_table* lh_kptr_table_new(int size, lh_entry_free_fn *free_fn); @@ -202,6 +213,7 @@ * If a callback free function is provided then it is called for all * entries in the table. * @param t table to free. + * internal functionality - NOT PART OF THE API */ extern void lh_table_free(struct lh_table *t); @@ -211,6 +223,7 @@ * @param t the table to insert into. * @param k a pointer to the key to insert. * @param v a pointer to the value to insert. + * internal functionality - NOT PART OF THE API */ extern int lh_table_insert(struct lh_table *t, void *k, const void *v); @@ -226,6 +239,7 @@ * @param v a pointer to the value to insert. * @param h hash value of the key to insert * @param opts opts, a subset of JSON_OBJECT_ADD_* flags is supported + * internal functionality - NOT PART OF THE API */ extern int lh_table_insert_w_hash(struct lh_table *t, void *k, const void *v, const unsigned long h, const unsigned opts); @@ -235,6 +249,7 @@ * @param t the table to lookup * @param k a pointer to the key to lookup * @return a pointer to the record structure of the value or NULL if it does not exist. + * internal functionality - NOT PART OF THE API */ extern struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k); @@ -248,6 +263,7 @@ * @param k a pointer to the key to lookup * @param h hash value of the key to lookup * @return a pointer to the record structure of the value or NULL if it does not exist. + * internal functionality - NOT PART OF THE API */ extern struct lh_entry* lh_table_lookup_entry_w_hash(struct lh_table *t, const void *k, const unsigned long h); @@ -257,6 +273,7 @@ * @param k a pointer to the key to lookup * @return a pointer to the found value or NULL if it does not exist. * @deprecated Use lh_table_lookup_ex instead. + * internal functionality - NOT PART OF THE API */ THIS_FUNCTION_IS_DEPRECATED(extern const void* lh_table_lookup(struct lh_table *t, const void *k)); @@ -266,6 +283,7 @@ * @param k a pointer to the key to lookup * @param v a pointer to a where to store the found value (set to NULL if it doesn't exist). * @return whether or not the key was found + * internal functionality - NOT PART OF THE API */ extern json_bool lh_table_lookup_ex(struct lh_table *t, const void *k, void **v); @@ -277,6 +295,7 @@ * @param e a pointer to the entry to delete. * @return 0 if the item was deleted. * @return -1 if it was not found. + * internal functionality - NOT PART OF THE API */ extern int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e); @@ -289,6 +308,7 @@ * @param k a pointer to the key to delete. * @return 0 if the item was deleted. * @return -1 if it was not found. + * internal functionality - NOT PART OF THE API */ extern int lh_table_delete(struct lh_table *t, const void *k); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/m4/ax_append_compile_flags.m4 new/libfastjson-0.99.2/m4/ax_append_compile_flags.m4 --- old/libfastjson-0.99.0/m4/ax_append_compile_flags.m4 2015-12-16 17:15:25.000000000 +0100 +++ new/libfastjson-0.99.2/m4/ax_append_compile_flags.m4 1970-01-01 01:00:00.000000000 +0100 @@ -1,65 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS]) -# -# DESCRIPTION -# -# For every FLAG1, FLAG2 it is checked whether the compiler works with the -# flag. If it does, the flag is added FLAGS-VARIABLE -# -# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. -# CFLAGS) is used. During the check the flag is always added to the -# current language's flags. -# -# If EXTRA-FLAGS is defined, it is added to the current language's default -# flags (e.g. CFLAGS) when the check is done. The check is thus made with -# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to -# force the compiler to issue an error when a bad flag is given. -# -# NOTE: This macro depends on the AX_APPEND_FLAG and -# AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with -# AX_APPEND_LINK_FLAGS. -# -# LICENSE -# -# Copyright (c) 2011 Maarten Bosmans <[email protected]> -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 4 - -AC_DEFUN([AX_APPEND_COMPILE_FLAGS], -[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) -AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) -for flag in $1; do - AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3]) -done -])dnl AX_APPEND_COMPILE_FLAGS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/m4/ax_append_flag.m4 new/libfastjson-0.99.2/m4/ax_append_flag.m4 --- old/libfastjson-0.99.0/m4/ax_append_flag.m4 2015-12-16 17:15:25.000000000 +0100 +++ new/libfastjson-0.99.2/m4/ax_append_flag.m4 1970-01-01 01:00:00.000000000 +0100 @@ -1,71 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) -# -# DESCRIPTION -# -# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space -# added in between. -# -# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. -# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains -# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly -# FLAG. -# -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim <[email protected]> -# Copyright (c) 2011 Maarten Bosmans <[email protected]> -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 6 - -AC_DEFUN([AX_APPEND_FLAG], -[dnl -AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF -AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) -AS_VAR_SET_IF(FLAGS,[ - AS_CASE([" AS_VAR_GET(FLAGS) "], - [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], - [ - AS_VAR_APPEND(FLAGS,[" $1"]) - AC_RUN_LOG([: FLAGS="$FLAGS"]) - ]) - ], - [ - AS_VAR_SET(FLAGS,[$1]) - AC_RUN_LOG([: FLAGS="$FLAGS"]) - ]) -AS_VAR_POPDEF([FLAGS])dnl -])dnl AX_APPEND_FLAG diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/m4/ax_check_compile_flag.m4 new/libfastjson-0.99.2/m4/ax_check_compile_flag.m4 --- old/libfastjson-0.99.0/m4/ax_check_compile_flag.m4 2015-12-16 17:15:25.000000000 +0100 +++ new/libfastjson-0.99.2/m4/ax_check_compile_flag.m4 1970-01-01 01:00:00.000000000 +0100 @@ -1,74 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) -# -# DESCRIPTION -# -# Check whether the given FLAG works with the current language's compiler -# or gives an error. (Warnings, however, are ignored) -# -# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on -# success/failure. -# -# If EXTRA-FLAGS is defined, it is added to the current language's default -# flags (e.g. CFLAGS) when the check is done. The check is thus made with -# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to -# force the compiler to issue an error when a bad flag is given. -# -# INPUT gives an alternative input source to AC_COMPILE_IFELSE. -# -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this -# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim <[email protected]> -# Copyright (c) 2011 Maarten Bosmans <[email protected]> -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see <http://www.gnu.org/licenses/>. -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 4 - -AC_DEFUN([AX_CHECK_COMPILE_FLAG], -[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF -AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl -AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ - ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS - _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" - AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], - [AS_VAR_SET(CACHEVAR,[yes])], - [AS_VAR_SET(CACHEVAR,[no])]) - _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) -AS_VAR_IF(CACHEVAR,yes, - [m4_default([$2], :)], - [m4_default([$3], :)]) -AS_VAR_POPDEF([CACHEVAR])dnl -])dnl AX_CHECK_COMPILE_FLAGS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/m4/ax_require_defined.m4 new/libfastjson-0.99.2/m4/ax_require_defined.m4 --- old/libfastjson-0.99.0/m4/ax_require_defined.m4 2015-12-16 17:15:25.000000000 +0100 +++ new/libfastjson-0.99.2/m4/ax_require_defined.m4 1970-01-01 01:00:00.000000000 +0100 @@ -1,37 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_REQUIRE_DEFINED(MACRO) -# -# DESCRIPTION -# -# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have -# been defined and thus are available for use. This avoids random issues -# where a macro isn't expanded. Instead the configure script emits a -# non-fatal: -# -# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found -# -# It's like AC_REQUIRE except it doesn't expand the required macro. -# -# Here's an example: -# -# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) -# -# LICENSE -# -# Copyright (c) 2014 Mike Frysinger <[email protected]> -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 1 - -AC_DEFUN([AX_REQUIRE_DEFINED], [dnl - m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) -])dnl AX_REQUIRE_DEFINED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/missing new/libfastjson-0.99.2/missing --- old/libfastjson-0.99.0/missing 2015-12-17 17:03:23.000000000 +0100 +++ new/libfastjson-0.99.2/missing 2016-01-13 08:19:06.000000000 +0100 @@ -3,7 +3,7 @@ scriptversion=2013-10-28.13; # UTC -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libfastjson-0.99.0/random_seed.c new/libfastjson-0.99.2/random_seed.c --- old/libfastjson-0.99.0/random_seed.c 2015-11-18 17:07:13.000000000 +0100 +++ new/libfastjson-0.99.2/random_seed.c 2016-03-07 15:26:41.000000000 +0100 @@ -9,6 +9,7 @@ * */ +#define _GNU_SOURCE #include <stdio.h> #include "config.h" #include "random_seed.h"
