diff options
Diffstat (limited to 'dev-lang/xsb/files/xsb-3.0.1-libwww.patch')
-rw-r--r-- | dev-lang/xsb/files/xsb-3.0.1-libwww.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-lang/xsb/files/xsb-3.0.1-libwww.patch b/dev-lang/xsb/files/xsb-3.0.1-libwww.patch new file mode 100644 index 000000000000..478df6b2115e --- /dev/null +++ b/dev-lang/xsb/files/xsb-3.0.1-libwww.patch @@ -0,0 +1,54 @@ +diff -ur XSB.orig/packages/libwww/cc/libwww_parse_html.c XSB/packages/libwww/cc/libwww_parse_html.c +--- XSB.orig/packages/libwww/cc/libwww_parse_html.c 2003-12-31 14:04:51.000000000 +1300 ++++ XSB/packages/libwww/cc/libwww_parse_html.c 2007-01-27 16:42:10.000000000 +1300 +@@ -138,7 +138,7 @@ + + /* put the text string into the elt term and then pop it */ + if (context->convert2list) +- c2p_chars(pcdata_buf.string+shift, p2p_arg(STACK_TOP(htext).elt_term,3)); ++ c2p_chars(pcdata_buf.string+shift, 4, p2p_arg(STACK_TOP(htext).elt_term,3)); + else + c2p_string(pcdata_buf.string+shift, p2p_arg(STACK_TOP(htext).elt_term,3)); + +diff -ur XSB.orig/packages/libwww/cc/libwww_parse_xml.c XSB/packages/libwww/cc/libwww_parse_xml.c +--- XSB.orig/packages/libwww/cc/libwww_parse_xml.c 2003-12-31 14:04:51.000000000 +1300 ++++ XSB/packages/libwww/cc/libwww_parse_xml.c 2007-01-27 16:42:44.000000000 +1300 +@@ -174,7 +174,7 @@ + + /* put the text string into the elt term and then pop it */ + if (context->convert2list) +- c2p_chars(pcdata_buf.string+shift, ++ c2p_chars(pcdata_buf.string+shift, 4, + p2p_arg(STACK_TOP(userdata_obj).elt_term,3)); + else + c2p_string(pcdata_buf.string+shift, +diff -ur XSB.orig/packages/libwww/cc/libwww_request.c XSB/packages/libwww/cc/libwww_request.c +--- XSB.orig/packages/libwww/cc/libwww_request.c 2005-02-27 08:19:51.000000000 +1300 ++++ XSB/packages/libwww/cc/libwww_request.c 2007-01-27 16:46:55.000000000 +1300 +@@ -959,7 +959,7 @@ + + if (result_as_string) { + if (context->convert2list) +- c2p_chars(result_as_string, context->request_result); ++ c2p_chars(result_as_string, 5, context->request_result); + else c2p_string(result_as_string, context->request_result); + } + /* Note: HTChunk_toCString frees the chunk, and here we free the chank +diff -ur XSB.orig/packages/libwww/configure XSB/packages/libwww/configure +--- XSB.orig/packages/libwww/configure 2003-09-29 20:26:50.000000000 +1200 ++++ XSB/packages/libwww/configure 2007-01-27 17:01:15.000000000 +1300 +@@ -562,10 +562,10 @@ + + + if test -z "$with_config"; then +-echo ' +-- You did not tell me what kind of host system you want to configure. +-- I will attempt to guess the kind of system this is. +-' 1>&6 ++#echo ' ++#- You did not tell me what kind of host system you want to configure. ++#- I will attempt to guess the kind of system this is. ++#' 1>&6 + + # Make sure we can run config.sub. + if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |