-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\3.56\ -DXS_VERSION=\3.56\ -fPIC
-I/home/zefram/usr/perl/perl_install/perl-5.8.0-i32-f52/lib/5.8.0/i386-linux-thread-multi/CORE
-DMARKED_SECTION Parser.c
Parser.xs: In function `dup_pstate':
Parser.xs:290: error: `CLONEf_JOIN_IN' undeclared
HTML::Parser doesn't compile with perl 5.8.0. Attached is a patch to fix it.
-zefram
--- HTML-Parser-3.56/Parser.xs 2007-01-12 10:18:39.0 +
+++ HTML-Parser-3.56/Parser.xs 2007-08-16 19:56:13.256271713 +0100
@@ -99,6 +99,10 @@
#define DOWARN PL_dowarn
#endif
+#ifndef
-5.808.mod0/lib/HTTP/Cookies.pm 2007-09-08 09:28:13.922627811
+0100
@@ -507,6 +507,7 @@
sub DESTROY
{
my $self = shift;
+local($., $@, $!, $^E, $?);
$self-save if $self-{'autosave'};
}
END_OF_PATCH
-zefram
cleanly to 3.59.
-zefram
--- HTML-Parser-3.56/Parser.xs 2007-01-12 10:18:39.0 +
+++ HTML-Parser-3.56/Parser.xs 2007-08-16 19:56:13.256271713 +0100
@@ -99,6 +99,10 @@
#define DOWARN PL_dowarn
#endif
+#ifndef CLONEf_JOIN_IN
+ #define CLONEf_JOIN_IN 0
+#endif
+
/*
* Include stuff
{
my $self = shift;
+local($., $@, $!, $^E, $?);
$self-save if $self-{'autosave'};
}
END_OF_PATCH
-zefram
return undef or die. (Currently in this situation it returns
undef even if raise_error is true.)
2. Skip that decoding test if Encode exhibits the bug.
The attached patch implements this.
-zefram
diff -ur libwww-perl-5.823.orig/Makefile.PL libwww-perl-5.823.mod0/Makefile.PL
--- libwww-perl-5.823