You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
Index: JSON-DWIW-0.47/libjsonevt/fixup_config |
|
--- JSON-DWIW-0.47/libjsonevt/fixup_config.orig 2010-05-27 17:25:50.000000000 +0200 |
|
+++ JSON-DWIW-0.47/libjsonevt/fixup_config 2019-02-24 10:17:12.108493000 +0100 |
|
@@ -2,7 +2,7 @@ |
|
|
|
perl_run=$1 |
|
|
|
-if [ "x$perl_run" == "x" ]; then |
|
+if [ "x$perl_run" = "x" ]; then |
|
for p in /usr/local/bin/perl /usr/bin/perl; do |
|
if [ -e $p ]; then |
|
perl_run=$p |
|
Index: json-c-0.10/Makefile.in |
|
--- json-c-0.10/Makefile.in.orig 2012-05-31 04:31:35.000000000 +0200 |
|
+++ json-c-0.10/Makefile.in 2019-02-24 10:17:58.169625000 +0100 |
|
@@ -263,7 +263,7 @@ |
|
top_build_prefix = @top_build_prefix@ |
|
top_builddir = @top_builddir@ |
|
top_srcdir = @top_srcdir@ |
|
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT |
|
+AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE -D_REENTRANT |
|
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj |
|
SUBDIRS = . tests |
|
lib_LTLIBRARIES = libjson.la |
|
@@ -279,6 +279,7 @@ |
|
json_inttypes.h \ |
|
json_object.h \ |
|
json_object_private.h \ |
|
+ json_object_iterator.h \ |
|
json_tokener.h \ |
|
json_util.h \ |
|
linkhash.h \ |
|
Index: zzjson-1.1.0/src/zzjson_parse.c |
|
--- zzjson-1.1.0/src/zzjson_parse.c.orig 2009-08-16 02:49:38.000000000 +0200 |
|
+++ zzjson-1.1.0/src/zzjson_parse.c 2019-02-24 10:17:12.108836000 +0100 |
|
@@ -9,6 +9,7 @@ |
|
#include <math.h> |
|
#include <stdio.h> |
|
|
|
+#undef getchar |
|
#define GETC() config->getchar(config->ihandle) |
|
#define UNGETC(c) config->ungetchar(c, config->ihandle) |
|
#define SKIPWS() skipws(config)
|
|
|