updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / syck / syck-0.55-64bit.patch
blob0f67563b15428cf6a52ebb297292647a33606dcd
1 --- ./lib/syck_st.c~ 2003-03-04 17:10:11.000000000 +0000
2 +++ ./lib/syck_st.c 2007-06-04 15:00:22.000000000 +0100
3 @@ -5,6 +5,7 @@
4 #include "config.h"
5 #include <stdio.h>
6 #include <stdlib.h>
7 +#include <string.h>
8 #include "syck_st.h"
10 #ifdef NT
11 @@ -54,7 +55,6 @@
12 numhash,
15 -extern int strcmp();
16 static int strhash();
17 static struct st_hash_type type_strhash = {
18 strcmp,
19 --- ./lib/syck.h~ 2005-04-13 07:27:54.000000000 +0100
20 +++ ./lib/syck.h 2007-06-04 14:26:32.000000000 +0100
21 @@ -17,6 +17,8 @@
22 #define YAML_DOMAIN "yaml.org,2002"
24 #include <stdio.h>
25 +#include <stdlib.h>
26 +#include <string.h>
27 #include <ctype.h>
28 #ifdef HAVE_ST_H
29 #include <st.h>
30 --- ./lib/emitter.c~ 2007-06-04 15:40:23.000000000 +0100
31 +++ ./lib/emitter.c 2007-06-04 15:51:03.000000000 +0100
32 @@ -378,7 +378,8 @@
34 SYMID oid;
35 char *anchor_name = NULL;
36 - int indent = 0, x = 0;
37 + int indent = 0;
38 + long x = 0;
39 SyckLevel *lvl = syck_emitter_current_level( e );
41 /* Add new level */