json/json.patch

Tue, 28 Aug 2012 19:00:30 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 19:00:30 +0200
changeset 627
aba05e03de0f
permissions
-rw-r--r--

Patch to conform to current ISO C++ standard, resulting in a successful build.
Additionally modernize packaging in accordance with current OpenPKG boilerplate.

     1 Index: zzjson-1.1.0/src/zzjson_parse.c
     2 --- zzjson-1.1.0/src/zzjson_parse.c.orig	2009-08-16 02:49:38 +0200
     3 +++ zzjson-1.1.0/src/zzjson_parse.c	2009-11-18 19:49:55 +0100
     4 @@ -9,6 +9,7 @@
     5  #include <math.h>
     6  #include <stdio.h>
     8 +#undef getchar
     9  #define GETC()          config->getchar(config->ihandle)
    10  #define UNGETC(c)       config->ungetchar(c, config->ihandle)
    11  #define SKIPWS()        skipws(config)

mercurial