On Sat, Mar 31, 2018 at 12:25 AM, Rosen Penev <ros...@gmail.com> wrote: > From: Daniel Engberg <daniel.engberg.li...@pyret.net> > > Update (lib)json-c to 0.13 What are the changes? Is there any size increase ? Please be a bit more verbose in the git commit description
Hans > > Signed-off-by: Daniel Engberg <daniel.engberg.li...@pyret.net> > Signed-off-by: Rosen Penev <ros...@gmail.com> > --- > package/libs/libjson-c/Makefile | 4 +-- > package/libs/libjson-c/patches/000-libm.patch | 50 > --------------------------- > 2 files changed, 2 insertions(+), 52 deletions(-) > delete mode 100644 package/libs/libjson-c/patches/000-libm.patch > > diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile > index eeb7870f07..72b41e9fb8 100644 > --- a/package/libs/libjson-c/Makefile > +++ b/package/libs/libjson-c/Makefile > @@ -8,12 +8,12 @@ > include $(TOPDIR)/rules.mk > > PKG_NAME:=json-c > -PKG_VERSION:=0.12.1 > +PKG_VERSION:=0.13 > PKG_RELEASE:=1 > > PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nodoc.tar.gz > PKG_SOURCE_URL:=https://s3.amazonaws.com/json-c_releases/releases/ > -PKG_HASH:=5a617da9aade997938197ef0f8aabd7f97b670c216dc173977e1d56eef9e1291 > +PKG_HASH:=8572760646e9d23ee68f967ca62fa134a97b931665fd9af562192b7788c95a06 > PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) > PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) > > diff --git a/package/libs/libjson-c/patches/000-libm.patch > b/package/libs/libjson-c/patches/000-libm.patch > deleted file mode 100644 > index 45adb0597f..0000000000 > --- a/package/libs/libjson-c/patches/000-libm.patch > +++ /dev/null > @@ -1,50 +0,0 @@ > ---- a/configure.ac > -+++ b/configure.ac > -@@ -43,12 +43,6 @@ > - AC_FUNC_MALLOC > - AC_FUNC_REALLOC > - AC_CHECK_FUNCS(strcasecmp strdup strerror snprintf vsnprintf vasprintf open > vsyslog strncasecmp setlocale) > --AC_CHECK_DECLS([INFINITY], [], [], [[#include <math.h>]]) > --AC_CHECK_DECLS([nan], [], [], [[#include <math.h>]]) > --AC_CHECK_DECLS([isnan], [], [], [[#include <math.h>]]) > --AC_CHECK_DECLS([isinf], [], [], [[#include <math.h>]]) > --AC_CHECK_DECLS([_isnan], [], [], [[#include <float.h>]]) > --AC_CHECK_DECLS([_finite], [], [], [[#include <float.h>]]) > - > - #check if .section.gnu.warning accepts long strings (for __warn_references) > - AC_LANG_PUSH([C]) > ---- a/math_compat.h > -+++ b/math_compat.h > -@@ -1,28 +1,9 @@ > - #ifndef __math_compat_h > - #define __math_compat_h > - > --/* Define isnan and isinf on Windows/MSVC */ > -- > --#ifndef HAVE_DECL_ISNAN > --# ifdef HAVE_DECL__ISNAN > --#include <float.h> > --#define isnan(x) _isnan(x) > --# endif > --#endif > -- > --#ifndef HAVE_DECL_ISINF > --# ifdef HAVE_DECL__FINITE > --#include <float.h> > --#define isinf(x) (!_finite(x)) > --# endif > --#endif > -- > --#ifndef HAVE_DECL_NAN > --#error This platform does not have nan() > --#endif > -- > --#ifndef HAVE_DECL_INFINITY > --#error This platform does not have INFINITY > --#endif > -+#undef isnan > -+#define isnan(x) __builtin_isnan(x) > -+#undef isinf > -+#define isinf(x) __builtin_isinf(x) > - > - #endif > -- > 2.16.3 > > > _______________________________________________ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev