components/jansson/patches/002-usr-include-jansson.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 11 Oct 2016 11:08:35 -0700
changeset 7086 bad5d0bc7457
parent 3507 b3ef79838e0b
permissions -rw-r--r--
24829846 libxklavier upgrade broke keyboard gnome-keyboard-properties
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3507
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     1
Tomas Heran <[email protected]>
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     2
Reported upstream as https://github.com/akheron/jansson/issues/209
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     3
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     4
diff -r 10395313a7ae -r 1834d7632071 src/jansson.h
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     5
--- a/src/jansson.h	Tue Oct 28 17:05:35 2014 +0100
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     6
+++ b/src/jansson.h	Thu Nov 27 11:50:46 2014 +0100
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     7
@@ -12,7 +12,7 @@
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     8
 #include <stdlib.h>  /* for size_t */
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
     9
 #include <stdarg.h>
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    10
 
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    11
-#include <jansson_config.h>
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    12
+#include "jansson_config.h"
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    13
 
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    14
 #ifdef __cplusplus
b3ef79838e0b 20102088 Include of jansson.h can't find jansson_config.h
Tomas Heran <tomas.heran@oracle.com>
parents:
diff changeset
    15
 extern "C" {