summaryrefslogtreecommitdiffstats
path: root/package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch
diff options
context:
space:
mode:
authorClayton Shotwell <clshotwe@rockwellcollins.com>2014-03-12 12:51:09 -0500
committerPeter Korsgaard <peter@korsgaard.com>2014-03-15 23:53:02 +0100
commit9b4696a49f35d64dfae5bcdc11a5a6fb2d0a76cf (patch)
tree84814e4133529da4dac6d631478ea3ad90218f60 /package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch
parent95d58377227d0986d59dbe2c25cb1b31d14e4b55 (diff)
downloadbuildroot-9b4696a49f35d64dfae5bcdc11a5a6fb2d0a76cf.tar.gz
buildroot-9b4696a49f35d64dfae5bcdc11a5a6fb2d0a76cf.zip
rsyslog: bump to version 7.6.0
Bumping version of rsyslog and adding new dependencies of liblogging and libestr. The first patch has be submitted to the upstream mailing list and the second patch is a backport from the development branch of the upstream. [Peter: needs libuuid / host-pkgconf, fix comment] Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch')
-rw-r--r--package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch b/package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch
new file mode 100644
index 0000000000..9d3bc5d07e
--- /dev/null
+++ b/package/rsyslog/rsyslog-0002-backport-json-include-path-fix.patch
@@ -0,0 +1,52 @@
+commit 99620810e5245f319986d58a49ff13067814ef5a
+Author: Michael Biebl <biebl@debian.org>
+Date: Thu Feb 13 23:01:47 2014 +0100
+
+ Fix json includes
+
+ Rely on the include paths set by json-c.pc instead of hardcoding
+ the include to be <json/json.h> since this breaks with newer versions of
+ json-c where the files are installed in /usr/include/json-c.
+
+ While at it, remove a duplicate include.
+
+diff --git a/plugins/mmcount/mmcount.c b/plugins/mmcount/mmcount.c
+index 56a4de5..8a40e38 100644
+--- a/plugins/mmcount/mmcount.c
++++ b/plugins/mmcount/mmcount.c
+@@ -30,7 +30,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <stdint.h>
+-#include <json/json.h>
++#include <json.h>
+ #include "conf.h"
+ #include "syslogd-types.h"
+ #include "srUtils.h"
+diff --git a/plugins/mmsequence/mmsequence.c b/plugins/mmsequence/mmsequence.c
+index 20a8537..47e9d5f 100644
+--- a/plugins/mmsequence/mmsequence.c
++++ b/plugins/mmsequence/mmsequence.c
+@@ -35,7 +35,7 @@
+ #include <stdint.h>
+ #include <time.h>
+ #include <limits.h>
+-#include <json/json.h>
++#include <json.h>
+ #include <pthread.h>
+ #include "conf.h"
+ #include "syslogd-types.h"
+diff --git a/runtime/lookup.c b/runtime/lookup.c
+index bc3b1a9..f2af17b 100644
+--- a/runtime/lookup.c
++++ b/runtime/lookup.c
+@@ -26,8 +26,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+-#include <json/json.h>
+-#include <json/json.h>
++#include <json.h>
+ #include <assert.h>
+
+ #include "rsyslog.h"
OpenPOWER on IntegriCloud