diff -r 6aa415912c9b -r 14df3eec63f9 yaml/yaml.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/yaml/yaml.patch Thu Sep 15 17:10:15 2011 +0200 @@ -0,0 +1,126 @@ +Index: YAML-AppConfig-0.16/Makefile.PL +--- YAML-AppConfig-0.16/Makefile.PL.orig 2006-07-02 23:21:51 +0200 ++++ YAML-AppConfig-0.16/Makefile.PL 2009-11-27 13:24:07 +0100 +@@ -21,6 +21,7 @@ + eval "require $info->[0]; 0;"; + push @yamls, @$info unless $@; + } +- die "YAML >= 0.38 or YAML::Syck >= 0 required.\n" unless @yamls; ++ # die "YAML >= 0.38 or YAML::Syck >= 0 required.\n" unless @yamls; + return @yamls; + } ++ +Index: syck-0.70/lib/bytecode.c +--- syck-0.70/lib/bytecode.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/bytecode.c 2009-11-27 13:24:07 +0100 +@@ -7,6 +7,10 @@ + * + * Copyright (C) 2003 why the lucky stiff + */ ++ ++#include ++#include ++ + #include "syck.h" + + #if GRAM_FILES_HAVE_TAB_SUFFIX +Index: syck-0.70/lib/handler.c +--- syck-0.70/lib/handler.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/handler.c 2009-11-27 13:24:07 +0100 +@@ -7,6 +7,9 @@ + * Copyright (C) 2003 why the lucky stiff + */ + ++#include ++#include ++ + #include "syck.h" + + SYMID +Index: syck-0.70/lib/implicit.c +--- syck-0.70/lib/implicit.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/implicit.c 2009-11-27 13:24:07 +0100 +@@ -8,6 +8,7 @@ + * Copyright (C) 2003 why the lucky stiff + */ + ++#include + #include "syck.h" + + #define YYCTYPE char +Index: syck-0.70/lib/node.c +--- syck-0.70/lib/node.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/node.c 2009-11-27 13:24:07 +0100 +@@ -7,6 +7,9 @@ + * Copyright (C) 2003 why the lucky stiff + */ + ++#include ++#include ++ + #include "syck.h" + + /* +Index: syck-0.70/lib/syck.c +--- syck-0.70/lib/syck.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/syck.c 2009-11-27 13:24:07 +0100 +@@ -7,6 +7,7 @@ + * Copyright (C) 2003 why the lucky stiff + */ + #include ++#include + #include + + #include "syck.h" +@@ -67,12 +68,13 @@ + + ASSERT( str != NULL ); + beg = str->ptr; ++ + if ( max_size >= 0 ) + { + max_size -= skip; +- if ( max_size <= 0 ) max_size = 0; +- else str->ptr += max_size; ++ if ( max_size < 0 ) max_size = 0; + ++ str->ptr += max_size; + if ( str->ptr > str->end ) + { + str->ptr = str->end; +Index: syck-0.70/lib/syck.h +--- syck-0.70/lib/syck.h.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/syck.h 2009-11-27 13:24:07 +0100 +@@ -36,6 +36,8 @@ + + #include + #include ++#include ++#include + #include + #ifdef HAVE_ST_H + #include +Index: syck-0.70/lib/token.c +--- syck-0.70/lib/token.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/token.c 2009-11-27 13:24:07 +0100 +@@ -7,6 +7,8 @@ + * + * Copyright (C) 2003 why the lucky stiff + */ ++#include ++#include + #include "syck.h" + + #if GRAM_FILES_HAVE_TAB_SUFFIX +Index: syck-0.70/lib/yaml2byte.c +--- syck-0.70/lib/yaml2byte.c.orig 2009-09-30 19:29:34 +0200 ++++ syck-0.70/lib/yaml2byte.c 2009-11-27 13:24:31 +0100 +@@ -11,6 +11,8 @@ + */ + #include "syck.h" + #include ++#include ++#include + #define YAMLBYTE_UTF8 + #include "yamlbyte.h" +