summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/syck/files/syck-0.55-64bit.patch')
-rw-r--r--dev-libs/syck/files/syck-0.55-64bit.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/syck/files/syck-0.55-64bit.patch b/dev-libs/syck/files/syck-0.55-64bit.patch
new file mode 100644
index 000000000000..dc77ddb4c118
--- /dev/null
+++ b/dev-libs/syck/files/syck-0.55-64bit.patch
@@ -0,0 +1,41 @@
+--- ./lib/syck_st.c~ 2003-03-04 17:10:11.000000000 +0000
++++ ./lib/syck_st.c 2007-06-04 15:00:22.000000000 +0100
+@@ -5,6 +5,7 @@
+ #include "config.h"
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "syck_st.h"
+
+ #ifdef NT
+@@ -54,7 +55,6 @@
+ numhash,
+ };
+
+-extern int strcmp();
+ static int strhash();
+ static struct st_hash_type type_strhash = {
+ strcmp,
+--- ./lib/syck.h~ 2005-04-13 07:27:54.000000000 +0100
++++ ./lib/syck.h 2007-06-04 14:26:32.000000000 +0100
+@@ -17,6 +17,8 @@
+ #define YAML_DOMAIN "yaml.org,2002"
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <ctype.h>
+ #ifdef HAVE_ST_H
+ #include <st.h>
+--- ./lib/emitter.c~ 2007-06-04 15:40:23.000000000 +0100
++++ ./lib/emitter.c 2007-06-04 15:51:03.000000000 +0100
+@@ -378,7 +378,8 @@
+ {
+ SYMID oid;
+ char *anchor_name = NULL;
+- int indent = 0, x = 0;
++ int indent = 0;
++ long x = 0;
+ SyckLevel *lvl = syck_emitter_current_level( e );
+
+ /* Add new level */