Skip to contentSkip to conversation

json-c: Add json_object_iterator.h to installed headers

PATCH New Gilles Talis 3 participants 3 messages Mar 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 json-c: Add json_object_iterator.h to installed headers

json_object_iterator.h is not installed in staging directory. This leads to an error during pulseaudio build process:

fatal error: json_object_iterator.h: No such file or directory

Fixes autobuild failures like:
http://autobuild.buildroot.org/results/079f9265cd768f88ad57f6f7b794641c845f3079

---
 ...n-c-add-missing-file-to-installed-headers.patch |   43 ++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 package/json-c/json-c-add-missing-file-to-installed-headers.patch
package/json-c/json-c-add-missing-file-to-installed-headers.patch new file +43 -0
new file mode 100644
index 0000000..12ef855
@@ -0,0 +1,43 @@
+From 2ab6524ca0cfaab7feb42f7c328db8fca7b111fc Mon Sep 17 00:00:00 2001
+From: Gilles Talis <[email protected]>
+Date: Tue, 5 Mar 2013 21:59:11 -0800
+Subject: [PATCH] Add json_object_iterator.h to installed headers
+
+Backported from: 4154c55edae6f6b34d6ef4fcc331055fdf8e1a23
+
+In addition to original patch, applied the same change to Makefile.in
+to avoid having the package to be autoreconfigured.
+
+Signed-off-by: Gilles Talis <[email protected]>
+---
+ Makefile.am |    1 +
+ Makefile.in |    1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index d4a7bbb..8f09ca8 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -17,6 +17,7 @@ libjsoninclude_HEADERS = \
+ 	json_config.h \
+ 	json_inttypes.h \
+ 	json_object.h \
++	json_object_iterator.h \
+ 	json_object_private.h \
+ 	json_tokener.h \
+ 	json_util.h \
+diff --git a/Makefile.in b/Makefile.in
+index c06db3e..9d924cd 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -278,6 +278,7 @@ libjsoninclude_HEADERS = \
+ 	json_config.h \
+ 	json_inttypes.h \
+ 	json_object.h \
++	json_object_iterator.h \
+ 	json_object_private.h \
+ 	json_tokener.h \
+ 	json_util.h \
+-- 
+1.7.10.4
+
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 json-c: Add json_object_iterator.h to installed headers

Dear Gilles Talis,

Quoted 9 lines · Gilles Talis

json_object_iterator.h is not installed in staging directory. This leads to an error during pulseaudio build process:

fatal error: json_object_iterator.h: No such file or directory

Fixes autobuild failures like:
http://autobuild.buildroot.org/results/079f9265cd768f88ad57f6f7b794641c845f3079

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 json-c: Add json_object_iterator.h to installed headers

In reply to Gilles Talis
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gilles" == Gilles Talis <[email protected]> writes:

Gilles> json_object_iterator.h is not installed in staging directory. Gilles> This leads to an error during pulseaudio build process:

Gilles> fatal error: json_object_iterator.h: No such file or directory

Gilles> Fixes autobuild failures like:
Gilles> http://autobuild.buildroot.org/results/079f9265cd768f88ad57f6f7b794641c845f3079

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard