summaryrefslogtreecommitdiff
path: root/debian/patches/05_external-yajl.diff
diff options
context:
space:
mode:
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"));