diff options
author | Michael Cummings <mcummings@gentoo.org> | 2007-07-06 13:13:05 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2007-07-06 13:13:05 +0000 |
commit | 0a18a6f60dfaf865d7135b475cc38727f196fa31 (patch) | |
tree | 6d2e041c13a3f8dab75e23bab6b578915d944aec /dev-libs/syck/files | |
parent | Stable on sparc wrt #184408 (diff) | |
download | historical-0a18a6f60dfaf865d7135b475cc38727f196fa31.tar.gz historical-0a18a6f60dfaf865d7135b475cc38727f196fa31.tar.bz2 historical-0a18a6f60dfaf865d7135b475cc38727f196fa31.zip |
Bug 180863, patch courtesy of David Leverton
Package-Manager: portage-2.1.3_rc5
Diffstat (limited to 'dev-libs/syck/files')
-rw-r--r-- | dev-libs/syck/files/digest-syck-0.55-r4 | 3 | ||||
-rw-r--r-- | dev-libs/syck/files/syck-0.55-64bit.patch | 41 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/syck/files/digest-syck-0.55-r4 b/dev-libs/syck/files/digest-syck-0.55-r4 new file mode 100644 index 000000000000..36797fd04fcc --- /dev/null +++ b/dev-libs/syck/files/digest-syck-0.55-r4 @@ -0,0 +1,3 @@ +MD5 a57b7c46d81170b9318e2f384f77910c syck-0.55.tar.gz 354205 +RMD160 ffd26db70cf743b90cbfecfe7402c6fb8d698ee8 syck-0.55.tar.gz 354205 +SHA256 ac881945c9dfe5dd6395a5db921e8256d1d359295bb66a1acbfe49fb637c1a3a syck-0.55.tar.gz 354205 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 */ |