summaryrefslogtreecommitdiff
path: root/debian/patches/05_external-yajl.diff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
commit22f703cab05b7cd368f4de9e03991b7664dc5022 (patch)
tree6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /debian/patches/05_external-yajl.diff
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'debian/patches/05_external-yajl.diff')
-rw-r--r--debian/patches/05_external-yajl.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/05_external-yajl.diff b/debian/patches/05_external-yajl.diff
new file mode 100644
index 0000000..b77135a
--- /dev/null
+++ b/debian/patches/05_external-yajl.diff
@@ -0,0 +1,19 @@
+--- a/jcnf/jcnf.c
++++ b/jcnf/jcnf.c
+@@ -989,14 +989,15 @@ static jc_error jcnf_write(
+ }
+ }
+
++#ifdef NEVER
+ if (p->keys[i]->cpp_comment != NULL) {
+ yajl_gen_cpp_comment(g, p->keys[i]->cpp_comment, strlen(p->keys[i]->cpp_comment));
+ }
++
+ if (p->keys[i]->c_comment != NULL) {
+ yajl_gen_c_comment(g, p->keys[i]->c_comment, strlen(p->keys[i]->c_comment), 1);
+ }
+
+-#ifdef NEVER
+ yajl_gen_map_open(g);
+ yajl_gen_string(g, "test", strlen("test"));
+ yajl_gen_string(g, "test value", strlen("test value"));