michael@356: Index: YAML-AppConfig-0.16/Makefile.PL michael@591: --- YAML-AppConfig-0.16/Makefile.PL.orig 2006-07-02 23:21:51.000000000 +0200 michael@591: +++ YAML-AppConfig-0.16/Makefile.PL 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -21,6 +21,7 @@ michael@356: eval "require $info->[0]; 0;"; michael@356: push @yamls, @$info unless $@; michael@356: } michael@356: - die "YAML >= 0.38 or YAML::Syck >= 0 required.\n" unless @yamls; michael@356: + # die "YAML >= 0.38 or YAML::Syck >= 0 required.\n" unless @yamls; michael@356: return @yamls; michael@356: } michael@356: + michael@356: Index: syck-0.70/lib/bytecode.c michael@591: --- syck-0.70/lib/bytecode.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/bytecode.c 2012-07-31 16:10:17.000000000 +0200 michael@591: @@ -7,11 +7,16 @@ michael@356: * michael@356: * Copyright (C) 2003 why the lucky stiff michael@356: */ michael@356: + michael@356: +#include michael@356: +#include michael@356: + michael@356: #include "syck.h" michael@356: michael@356: #if GRAM_FILES_HAVE_TAB_SUFFIX michael@591: #include "gram.tab.h" michael@591: #else michael@591: +#define YYPARSE_PARAM michael@591: #include "gram.h" michael@591: #endif michael@591: michael@591: Index: syck-0.70/lib/gram.y michael@591: --- syck-0.70/lib/gram.y.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/gram.y 2012-07-31 16:09:51.000000000 +0200 michael@591: @@ -19,14 +19,14 @@ michael@591: #define YYSTACK_USE_ALLOCA 0 michael@591: #endif michael@591: michael@591: +#define YYPARSE_PARAM parser michael@591: +#define YYLEX_PARAM parser michael@591: + michael@591: #include "syck.h" michael@591: #include "sycklex.h" michael@591: michael@591: void apply_seq_in_map( SyckParser *parser, SyckNode *n ); michael@591: michael@591: -#define YYPARSE_PARAM parser michael@591: -#define YYLEX_PARAM parser michael@591: - michael@591: #define NULL_NODE(parser, node) \ michael@591: SyckNode *node = syck_new_str( "", scalar_plain ); \ michael@591: if ( ((SyckParser *)parser)->taguri_expansion == 1 ) \ michael@356: Index: syck-0.70/lib/handler.c michael@591: --- syck-0.70/lib/handler.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/handler.c 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -7,6 +7,9 @@ michael@356: * Copyright (C) 2003 why the lucky stiff michael@356: */ michael@356: michael@356: +#include michael@356: +#include michael@356: + michael@356: #include "syck.h" michael@356: michael@356: SYMID michael@356: Index: syck-0.70/lib/implicit.c michael@591: --- syck-0.70/lib/implicit.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/implicit.c 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -8,6 +8,7 @@ michael@356: * Copyright (C) 2003 why the lucky stiff michael@356: */ michael@356: michael@356: +#include michael@356: #include "syck.h" michael@356: michael@356: #define YYCTYPE char michael@356: Index: syck-0.70/lib/node.c michael@591: --- syck-0.70/lib/node.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/node.c 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -7,6 +7,9 @@ michael@356: * Copyright (C) 2003 why the lucky stiff michael@356: */ michael@356: michael@356: +#include michael@356: +#include michael@356: + michael@356: #include "syck.h" michael@356: michael@356: /* michael@356: Index: syck-0.70/lib/syck.c michael@591: --- syck-0.70/lib/syck.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/syck.c 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -7,6 +7,7 @@ michael@356: * Copyright (C) 2003 why the lucky stiff michael@356: */ michael@356: #include michael@356: +#include michael@356: #include michael@356: michael@356: #include "syck.h" michael@356: @@ -67,12 +68,13 @@ michael@356: michael@356: ASSERT( str != NULL ); michael@356: beg = str->ptr; michael@356: + michael@356: if ( max_size >= 0 ) michael@356: { michael@356: max_size -= skip; michael@356: - if ( max_size <= 0 ) max_size = 0; michael@356: - else str->ptr += max_size; michael@356: + if ( max_size < 0 ) max_size = 0; michael@356: michael@356: + str->ptr += max_size; michael@356: if ( str->ptr > str->end ) michael@356: { michael@356: str->ptr = str->end; michael@356: Index: syck-0.70/lib/syck.h michael@591: --- syck-0.70/lib/syck.h.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/syck.h 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -36,6 +36,8 @@ michael@356: michael@356: #include michael@356: #include michael@356: +#include michael@356: +#include michael@356: #include michael@356: #ifdef HAVE_ST_H michael@356: #include michael@356: Index: syck-0.70/lib/token.c michael@591: --- syck-0.70/lib/token.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/token.c 2012-07-31 16:10:37.000000000 +0200 michael@591: @@ -7,11 +7,14 @@ michael@356: * michael@356: * Copyright (C) 2003 why the lucky stiff michael@356: */ michael@356: +#include michael@356: +#include michael@356: #include "syck.h" michael@356: michael@356: #if GRAM_FILES_HAVE_TAB_SUFFIX michael@591: #include "gram.tab.h" michael@591: #else michael@591: +#define YYPARSE_PARAM michael@591: #include "gram.h" michael@591: #endif michael@591: michael@356: Index: syck-0.70/lib/yaml2byte.c michael@591: --- syck-0.70/lib/yaml2byte.c.orig 2009-09-30 19:29:34.000000000 +0200 michael@591: +++ syck-0.70/lib/yaml2byte.c 2012-07-31 16:07:20.000000000 +0200 michael@356: @@ -11,6 +11,8 @@ michael@356: */ michael@356: #include "syck.h" michael@356: #include michael@356: +#include michael@356: +#include michael@356: #define YAMLBYTE_UTF8 michael@356: #include "yamlbyte.h" michael@356: