Commit 7945448b authored by YianIris's avatar YianIris 💬
Browse files

upgpkg: 3.31.2

parent a8ff2b30
Pipeline #409939 passed with stages
in 4 minutes and 18 seconds
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Maintainer : YianIris <yianiris At disroot Dot org>
# PkgSource : url="https://framagit.org/pkg/obextra/syslog-ng"
#-----------------------------------------------------------------------------------------------
......@@ -10,7 +11,7 @@ pkgname=syslog-ng
pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
pkgver=3.30.1
pkgver=3.31.2
pkgrel=2
url="https://www.syslog-ng.com/products/open-source-log-management/"
......@@ -118,6 +119,6 @@ replaces=('eventlog')
license=('GPL2' 'LGPL2.1')
sha1sums=('b083081bca113c1779ef8c5ef4eef20a3690be2a'
'a9b54de3e91921966562bd458db26dea135888ba'
'949128fe3d7f77a7aab99048061f885bc758000c')
sha512sums=('22a647c37f87fb1a45c8c69c2b0a022d1886cde5b0d585c3384b606d967c3f320a18e34810655174e82c797c0dc23c481732ecefd5be16da8fba4983b2ed0385'
'29beb12baa60b959d7cbc105545a5334bcee200e49f2b5d12ce51139a7e916fe2afcd505a265ce402e7f88b8cbb42e98a6b06cff1b641368dd9ee459177bf9cc'
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
From 1b824dd6389e209eab752d5a698c6093f311e3e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Mon, 11 Dec 2017 15:46:06 +0100
Subject: [PATCH] modules/json: Adaptions for json-c v0.13
---
modules/json/json-parser.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/json/json-parser.c b/modules/json/json-parser.c
index 0368ed8f7f..356df48b9f 100644
--- a/modules/json/json-parser.c
+++ b/modules/json/json-parser.c
@@ -20,6 +20,8 @@
* COPYING for details.
*/
+#define JSON_C_VER_013 (13 << 8)
+
#include "json-parser.h"
#include "dot-notation.h"
#include "scratch-buffers.h"
@@ -28,7 +30,10 @@
#include <ctype.h>
#include <json.h>
+
+#if (!defined(JSON_C_VERSION_NUM)) || (JSON_C_VERSION_NUM < JSON_C_VER_013)
#include <json_object_private.h>
+#endif
typedef struct _JSONParser
{
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment