diff options
author | Thomas Mayer <thomas@residuum.org> | 2013-04-25 22:21:09 (GMT) |
---|---|---|
committer | Thomas Mayer <thomas@residuum.org> | 2013-04-25 22:21:09 (GMT) |
commit | 8b5ef44806dd60dd0877b7856b06e4df709fb93f (patch) | |
tree | 5dc7aa6d1f00f6fbedd1722d45c906bd8e706e13 /src | |
parent | 464ae2132295002f271c7ebbc90e147963ee4754 (diff) | |
download | mxe-8b5ef44806dd60dd0877b7856b06e4df709fb93f.zip mxe-8b5ef44806dd60dd0877b7856b06e4df709fb93f.tar.gz mxe-8b5ef44806dd60dd0877b7856b06e4df709fb93f.tar.bz2 |
json-c update to 0.11
Diffstat (limited to 'src')
-rw-r--r-- | src/json-c-1-patch-missingfile.patch | 15 | ||||
-rw-r--r-- | src/json-c-1-patch-remove-rpl.patch (renamed from src/json-c-2-patch-remove-rpl.patch) | 6 | ||||
-rw-r--r-- | src/json-c-3-fix-am-header.patch | 18 | ||||
-rw-r--r-- | src/json-c-test.c | 2 | ||||
-rw-r--r-- | src/json-c.mk | 5 |
5 files changed, 7 insertions, 39 deletions
diff --git a/src/json-c-1-patch-missingfile.patch b/src/json-c-1-patch-missingfile.patch deleted file mode 100644 index f1cfb0a..0000000 --- a/src/json-c-1-patch-missingfile.patch +++ /dev/null @@ -1,15 +0,0 @@ -This file is part of MXE. -See index.html for further information. - -Contains a fix for issue 35 on json-c (https://github.com/json-c/json-c/issues/35) - ---- a/Makefile.am 2012-07-17 22:52:19.000000000 +0200 -+++ b/Makefile.am 2012-07-17 22:54:09.000000000 +0200 -@@ -17,6 +17,7 @@ - json_config.h \ - json_inttypes.h \ - json_object.h \ -+ json_object_iterator.h \ - json_object_private.h \ - json_tokener.h \ - json_util.h \ diff --git a/src/json-c-2-patch-remove-rpl.patch b/src/json-c-1-patch-remove-rpl.patch index 6a5df01..2217b2a 100644 --- a/src/json-c-2-patch-remove-rpl.patch +++ b/src/json-c-1-patch-remove-rpl.patch @@ -11,6 +11,6 @@ see http://lists.fedoraproject.org/pipermail/mingw/2009-May/001567.html AC_FUNC_MEMCMP -AC_FUNC_MALLOC -AC_FUNC_REALLOC - AC_CHECK_FUNCS(strndup strerror vsnprintf vasprintf open vsyslog strncasecmp) - - AM_PROG_LIBTOOL + AC_CHECK_FUNCS(strcasecmp strdup strndup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp setlocale) + + #check if .section.gnu.warning accepts long strings (for __warn_references) diff --git a/src/json-c-3-fix-am-header.patch b/src/json-c-3-fix-am-header.patch deleted file mode 100644 index 88686ea..0000000 --- a/src/json-c-3-fix-am-header.patch +++ /dev/null @@ -1,18 +0,0 @@ -This file is part of MXE. -See index.html for further information. - -diff -ur json-c-0.10.orig/configure.in json-c-0.10/configure.in ---- json-c-0.10.orig/configure.in 2013-03-23 18:58:41.000000000 +1100 -+++ json-c-0.10/configure.in 2013-03-23 18:59:33.000000000 +1100 -@@ -12,8 +12,8 @@ - # Checks for libraries. - - # Checks for header files. --AM_CONFIG_HEADER(config.h) --AM_CONFIG_HEADER(json_config.h) -+AC_CONFIG_HEADERS(config.h) -+AC_CONFIG_HEADERS(json_config.h) - AC_HEADER_STDC - AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/param.h] stdarg.h) - AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])]) - diff --git a/src/json-c-test.c b/src/json-c-test.c index cb5a3c9..967beca 100644 --- a/src/json-c-test.c +++ b/src/json-c-test.c @@ -3,7 +3,7 @@ * See index.html for further information. */ -#include <json/json.h> +#include <json-c/json.h> #include <stdio.h> int main(int argc, char *argv[]) diff --git a/src/json-c.mk b/src/json-c.mk index dec4f7c..33d635a 100644 --- a/src/json-c.mk +++ b/src/json-c.mk @@ -3,7 +3,7 @@ PKG := json-c $(PKG)_IGNORE := -$(PKG)_CHECKSUM := f495481641a3a014decc58f935b112d07347fb05 +$(PKG)_CHECKSUM := 4bae2468bfd73a2b2eec7419c75c262b5833f567 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-nodoc.tar.gz $(PKG)_URL := https://s3.amazonaws.com/$(PKG)_releases/releases/$($(PKG)_FILE) @@ -13,7 +13,8 @@ define $(PKG)_UPDATE $(WGET) -q -O- 'https://s3.amazonaws.com/json-c_releases' | \ $(SED) -r 's,<Key>,\n<Key>,g' | \ $(SED) -n 's,.*releases/json-c-\([0-9.]*\).tar.gz.*,\1,p' | \ - head -1 + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD |