From e53b4d1aa24705332be7fb905e7772b63d3aeaee Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sun, 6 Jan 2019 14:58:55 +0100
Subject: update: jansson, json-c, libcint, libidn2, liblo

---
 src/jansson.mk                          |  4 ++--
 src/json-c-1-patch-remove-rpl.patch     | 15 ---------------
 src/json-c-2-fix-wincrypt-include.patch | 20 --------------------
 src/json-c.mk                           |  6 +++---
 src/libcint.mk                          |  4 ++--
 src/libidn2.mk                          |  4 ++--
 src/liblo.mk                            |  4 ++--
 7 files changed, 11 insertions(+), 46 deletions(-)
 delete mode 100644 src/json-c-1-patch-remove-rpl.patch
 delete mode 100644 src/json-c-2-fix-wincrypt-include.patch

diff --git a/src/jansson.mk b/src/jansson.mk
index 2e3f126..7d599f6 100644
--- a/src/jansson.mk
+++ b/src/jansson.mk
@@ -4,8 +4,8 @@ PKG             := jansson
 $(PKG)_WEBSITE  := http://www.digip.org/jansson/
 $(PKG)_DESCR    := Jansson
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 2.7
-$(PKG)_CHECKSUM := 459f2b7cf22fb676286723f26169a17cf111fbfb6f54e3dc2ec6b6f9f4a97bdc
+$(PKG)_VERSION  := 2.12
+$(PKG)_CHECKSUM := 645d72cc5dbebd4df608d33988e55aa42a7661039e19a379fcbe5c79d1aee1d2
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.bz2
 $(PKG)_URL      := http://www.digip.org/$(PKG)/releases/$($(PKG)_FILE)
diff --git a/src/json-c-1-patch-remove-rpl.patch b/src/json-c-1-patch-remove-rpl.patch
deleted file mode 100644
index 0a2d211..0000000
--- a/src/json-c-1-patch-remove-rpl.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-This file is part of MXE. See LICENSE.md for licensing information.
-
-see http://lists.fedoraproject.org/pipermail/mingw/2009-May/001567.html
-
---- 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 strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp setlocale)
- AC_CHECK_DECLS([INFINITY], [], [], [[#include <math.h>]])
- AC_CHECK_DECLS([nan], [], [], [[#include <math.h>]])
diff --git a/src/json-c-2-fix-wincrypt-include.patch b/src/json-c-2-fix-wincrypt-include.patch
deleted file mode 100644
index 0911d60..0000000
--- a/src/json-c-2-fix-wincrypt-include.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-This file is part of MXE. See LICENSE.md for licensing information.
-
-mingw32 doesn't include wincrypt.h in windows.h, so the build fails.
-
-This is basically
-https://github.com/ams-cs/json-c/commit/ca0ebe0f71b806f73a20d5d5e0da78aba5de42be
-
---- a/random_seed.c	2014-04-11 02:41:08.000000000 +0200
-+++ b/random_seed.c	2014-10-12 20:07:32.419043270 +0200
-@@ -181,7 +181,10 @@
- #define HAVE_CRYPTGENRANDOM 1
- 
- #include <windows.h>
-+#include <wincrypt.h>
-+#ifndef __GNUC__
- #pragma comment(lib, "advapi32.lib")
-+#endif
- 
- static int get_cryptgenrandom_seed()
- {
diff --git a/src/json-c.mk b/src/json-c.mk
index bebfa59..08d0d51 100644
--- a/src/json-c.mk
+++ b/src/json-c.mk
@@ -3,8 +3,8 @@
 PKG             := json-c
 $(PKG)_WEBSITE  := https://github.com/json-c/json-c/wiki
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 0.12.1
-$(PKG)_CHECKSUM := 5a617da9aade997938197ef0f8aabd7f97b670c216dc173977e1d56eef9e1291
+$(PKG)_VERSION  := 0.13.1
+$(PKG)_CHECKSUM := 94a26340c0785fcff4f46ff38609cf84ebcd670df0c8efd75d039cc951d80132
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION)-nodoc.tar.gz
 $(PKG)_URL      := https://s3.amazonaws.com/$(PKG)_releases/releases/$($(PKG)_FILE)
@@ -26,7 +26,7 @@ define $(PKG)_BUILD
     $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_REMOVE_CRUFT)
 
     '$(TARGET)-gcc' \
-        -W -Wall -Werror -ansi -pedantic \
+        -W -Wall -Werror -pedantic \
         '$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-json-c.exe' \
         `'$(TARGET)-pkg-config' json-c --cflags --libs`
 endef
diff --git a/src/libcint.mk b/src/libcint.mk
index 49aa5bc..c049960 100644
--- a/src/libcint.mk
+++ b/src/libcint.mk
@@ -4,8 +4,8 @@ PKG             := libcint
 $(PKG)_WEBSITE  := https://github.com/sunqm/libcint
 $(PKG)_DESCR    := General GTO integrals for quantum chemistry
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 3.0.13
-$(PKG)_CHECKSUM := ee64f0bc7fb6073063ac3c9bbef8951feada141e197b1a5cc389c8cccf8dc360
+$(PKG)_VERSION  := 3.0.14
+$(PKG)_CHECKSUM := 2952d59203f011680c2039ddb1d7337cd669b12632386496ce2ba2afdafbfcad
 $(PKG)_GH_CONF  := sunqm/libcint/tags,v
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
 $(PKG)_DEPS     := cc blas
diff --git a/src/libidn2.mk b/src/libidn2.mk
index abd54fa..5960d54 100644
--- a/src/libidn2.mk
+++ b/src/libidn2.mk
@@ -4,8 +4,8 @@ PKG             := libidn2
 $(PKG)_WEBSITE  := https://www.gnu.org/software/libidn/\#libidn2
 $(PKG)_DESCR    := implementation of IDNA2008/TR46 internationalized domain names
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 2.0.5
-$(PKG)_CHECKSUM := 53f69170886f1fa6fa5b332439c7a77a7d22626a82ef17e2c1224858bb4ca2b8
+$(PKG)_VERSION  := 2.1.0
+$(PKG)_CHECKSUM := 032398dbaa9537af43f51a8d94e967e3718848547b1b2a4eb3138b20cad11d32
 $(PKG)_SUBDIR   := libidn2-$($(PKG)_VERSION)
 $(PKG)_FILE     := libidn2-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://ftp.gnu.org/gnu/libidn/$($(PKG)_FILE)
diff --git a/src/liblo.mk b/src/liblo.mk
index aa0b970..bb31966 100644
--- a/src/liblo.mk
+++ b/src/liblo.mk
@@ -3,8 +3,8 @@
 PKG             := liblo
 $(PKG)_WEBSITE  := https://liblo.sourceforge.io/
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 0.28
-$(PKG)_CHECKSUM := da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909
+$(PKG)_VERSION  := 0.29
+$(PKG)_CHECKSUM := ace1b4e234091425c150261d1ca7070cece48ee3c228a5612d048116d864c06a
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
-- 
cgit v0.12