summaryrefslogtreecommitdiffstats
path: root/src/json-c-1-patch-remove-rpl.patch
diff options
context:
space:
mode:
authorTobias Gruetzmacher <tobias-git@23.gs>2014-10-12 18:11:10 (GMT)
committerTobias Gruetzmacher <tobias-git@23.gs>2014-10-12 18:11:10 (GMT)
commit847683cd5cc43f0aa6852882df631f2d42962e7c (patch)
treeca48289fd17edef1b20c6b1a1a6a6dd96ce73284 /src/json-c-1-patch-remove-rpl.patch
parent3c2562b8d294c549ae5110b00de463a9898e5be1 (diff)
downloadmxe-847683cd5cc43f0aa6852882df631f2d42962e7c.zip
mxe-847683cd5cc43f0aa6852882df631f2d42962e7c.tar.gz
mxe-847683cd5cc43f0aa6852882df631f2d42962e7c.tar.bz2
json-c: Update, enable shared & refresh patch.
This fixes CVE-2013-6371 and CVE-2013-6370.
Diffstat (limited to 'src/json-c-1-patch-remove-rpl.patch')
-rw-r--r--src/json-c-1-patch-remove-rpl.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/json-c-1-patch-remove-rpl.patch b/src/json-c-1-patch-remove-rpl.patch
index 2217b2a..153ce11 100644
--- a/src/json-c-1-patch-remove-rpl.patch
+++ b/src/json-c-1-patch-remove-rpl.patch
@@ -3,14 +3,14 @@ See index.html for further information.
see http://lists.fedoraproject.org/pipermail/mingw/2009-May/001567.html
---- a/configure.in 2012-07-12 01:57:09.000000000 +0200
-+++ b/configure.in 2012-07-12 01:59:06.000000000 +0200
-@@ -25,8 +25,6 @@
+--- a/configure.ac 2014-04-11 03:47:07.000000000 +0200
++++ b/configure.ac 2014-10-12 19:44:52.809838565 +0200
+@@ -40,8 +40,6 @@
# Checks for library functions.
AC_FUNC_VPRINTF
AC_FUNC_MEMCMP
-AC_FUNC_MALLOC
-AC_FUNC_REALLOC
- 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)
+ 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>]])