Index: syck-0.55/ext/php/phpext.c --- syck-0.55/ext/php/phpext.c.orig 2003-09-24 16:36:09 +0200 +++ syck-0.55/ext/php/phpext.c 2006-11-26 18:01:20 +0100 @@ -177,6 +177,8 @@ unsigned int i; MAKE_STD_ZVAL(o); + TSRMLS_FETCH(); + switch (n->kind) { case syck_str_kind: Index: syck-0.55/ext/python/ydump.py --- syck-0.55/ext/python/ydump.py.orig 2004-03-01 19:36:47 +0100 +++ syck-0.55/ext/python/ydump.py 2006-11-26 18:01:20 +0100 @@ -358,6 +358,11 @@ return 1 if data[0] == '"': return 1 + # patch from debian bug #286173: Ken Harris + if data in ['yes','no','true','false','on','off', + 'YES','NO','TRUE','FALSE','ON','OFF', + 'Yes','No','True','False','On','Off']: + return 1 return (re.search(r'[-:]', data) or re.search(r'(\d\.){2}', data)) def hasSpecialChar(data): Index: syck-0.55/lib/bytecode.c --- syck-0.55/lib/bytecode.c.orig 2005-04-13 08:27:54 +0200 +++ syck-0.55/lib/bytecode.c 2006-11-26 18:01:20 +0100 @@ -8,6 +8,10 @@ * * Copyright (C) 2003 why the lucky stiff */ + +#include +#include + #include "syck.h" #include "gram.h" Index: syck-0.55/lib/handler.c --- syck-0.55/lib/handler.c.orig 2005-01-08 22:44:00 +0100 +++ syck-0.55/lib/handler.c 2006-11-26 18:01:20 +0100 @@ -7,6 +7,9 @@ * Copyright (C) 2003 why the lucky stiff */ +#include +#include + #include "syck.h" SYMID Index: syck-0.55/lib/implicit.c --- syck-0.55/lib/implicit.c.orig 2005-04-06 19:18:59 +0200 +++ syck-0.55/lib/implicit.c 2006-11-26 18:01:20 +0100 @@ -9,6 +9,7 @@ * Copyright (C) 2003 why the lucky stiff */ +#include #include "syck.h" #define YYCTYPE char Index: syck-0.55/lib/node.c --- syck-0.55/lib/node.c.orig 2005-04-13 08:27:54 +0200 +++ syck-0.55/lib/node.c 2006-11-26 18:01:20 +0100 @@ -7,6 +7,9 @@ * Copyright (C) 2003 why the lucky stiff */ +#include +#include + #include "syck.h" /* Index: syck-0.55/lib/syck.c --- syck-0.55/lib/syck.c.orig 2005-01-01 03:06:25 +0100 +++ syck-0.55/lib/syck.c 2006-11-26 18:01:20 +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.55/lib/syck.h --- syck-0.55/lib/syck.h.orig 2005-04-13 08:27:54 +0200 +++ syck-0.55/lib/syck.h 2006-11-26 18:01:20 +0100 @@ -17,6 +17,8 @@ #define YAML_DOMAIN "yaml.org,2002" #include +#include +#include #include #ifdef HAVE_ST_H #include Index: syck-0.55/lib/token.c --- syck-0.55/lib/token.c.orig 2005-04-13 08:27:54 +0200 +++ syck-0.55/lib/token.c 2006-11-26 18:01:20 +0100 @@ -8,6 +8,8 @@ * * Copyright (C) 2003 why the lucky stiff */ +#include +#include #include "syck.h" #include "gram.h" Index: syck-0.55/lib/yaml2byte.c --- syck-0.55/lib/yaml2byte.c.orig 2004-08-02 19:32:35 +0200 +++ syck-0.55/lib/yaml2byte.c 2006-11-26 18:02:03 +0100 @@ -9,6 +9,8 @@ * WARNING WARNING WARNING --- THIS IS *NOT JUST* PLAYING * ANYMORE! -- WHY HAS EMBRACED THIS AS THE REAL THING! */ +#include +#include #include #include #define YAMLBYTE_UTF8