HTML::Parser on older perl versions

2007-01-21 Thread Zefram
-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 on 5.8.0

2007-08-17 Thread Zefram
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

HTTP::Cookies destructor

2007-09-08 Thread Zefram
-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

HTML::Parser on 5.8.0

2009-02-08 Thread 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

HTTP::Cookies destructor

2009-02-12 Thread Zefram
{ my $self = shift; +local($., $@, $!, $^E, $?); $self-save if $self-{'autosave'}; } END_OF_PATCH -zefram

Re: Encode dependency

2009-02-13 Thread 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