ALT
:: /Perl
: perl-XML-Parser
Sources Gear Bugs and FR Repocop
: perl-XML-Parser-2.46-alt1.patch
.gear/rules | 2 +
.../tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa | 12 ++
.gear/tags/list | 1 +
Expat/Expat.pm | 14 +-
Expat/Expat.xs | 2 +-
Parser/Encodings/iso-8859-10.enc | Bin 0 -> 1072 bytes
Parser/Encodings/iso-8859-10.xml | 67 ++++++++++
Parser/Encodings/iso-8859-11.enc | Bin 0 -> 1072 bytes
Parser/Encodings/iso-8859-11.xml | 5 +
Parser/Encodings/iso-8859-13.enc | Bin 0 -> 1072 bytes
Parser/Encodings/iso-8859-13.xml | 78 +++++++++++
Parser/Encodings/iso-8859-14.enc | Bin 0 -> 1072 bytes
Parser/Encodings/iso-8859-14.xml | 40 ++++++
Parser/Encodings/iso-8859-15.xml | 16 +++
Parser/Encodings/iso-8859-16.enc | Bin 0 -> 1072 bytes
Parser/Encodings/iso-8859-16.xml | 60 +++++++++
Parser/Encodings/iso-8859-2.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/iso-8859-2.xml | 87 ++++++++++++
Parser/Encodings/iso-8859-3.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/iso-8859-3.xml | 50 +++++++
Parser/Encodings/iso-8859-4.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/iso-8859-4.xml | 72 ++++++++++
Parser/Encodings/iso-8859-5.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/iso-8859-5.xml | 10 ++
Parser/Encodings/iso-8859-6.enc | Bin 0 -> 1072 bytes
Parser/Encodings/iso-8859-6.xml | 10 ++
Parser/Encodings/iso-8859-7.xml | 20 +++
Parser/Encodings/iso-8859-8.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/iso-8859-8.xml | 11 ++
Parser/Encodings/iso-8859-9.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/iso-8859-9.xml | 13 ++
Parser/Encodings/koi8-r.xml | 75 +++++++++++
Parser/Encodings/update-encodings | 25 ++++
Parser/Encodings/windows-1250.enc | Bin 1072 -> 1072 bytes
Parser/Encodings/windows-1250.xml | 100 ++++++++++++++
Parser/Encodings/windows-1251.xml | 54 ++++++++
Parser/Encodings/windows-1252.xml | 26 ++++
Parser/Encodings/windows-1253.enc | Bin 0 -> 1072 bytes
Parser/Encodings/windows-1253.xml | 30 +++++
Parser/Encodings/windows-1254.enc | Bin 0 -> 1072 bytes
Parser/Encodings/windows-1254.xml | 34 +++++
Parser/Encodings/windows-1255.xml | 30 +++++
Parser/Encodings/windows-1256.enc | Bin 0 -> 1072 bytes
Parser/Encodings/windows-1256.xml | 59 +++++++++
Parser/Encodings/windows-1257.enc | Bin 0 -> 1072 bytes
Parser/Encodings/windows-1257.xml | 92 +++++++++++++
Parser/Encodings/windows-1258.enc | Bin 0 -> 1072 bytes
Parser/Encodings/windows-1258.xml | 48 +++++++
perl-XML-Parser.spec | 146 +++++++++++++++++++++
49 files changed, 1276 insertions(+), 13 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..4cdcf32
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=XML-Parser-@version@
+diff: @version@:. . name=perl-XML-Parser-@version@-@release@.patch
diff --git a/.gear/tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa b/.gear/tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa
new file mode 100644
index 0000000..a9e1001
--- /dev/null
+++ b/.gear/tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa
@@ -0,0 +1,12 @@
+object b4b87dbd11381e3847290206f2b75643988ed820
+type commit
+tag 2.46
+tagger Igor Vlasenko <viy@altlinux.org> 1607957423 +0200
+
+2.46
+-----BEGIN PGP SIGNATURE-----
+
+iEYEABECAAYFAl/Xe68ACgkQDX9MpIRaJ2MrlwCgpv8aJENd4VUK8RxznVRlS3XH
+cKcAn0YqNT7v1VH6F/t9P5TgZaqmGn+O
+=CC5v
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..58184a2
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa 2.46
diff --git a/Expat/Expat.pm b/Expat/Expat.pm
index cb35445..f2925e5 100644
--- a/Expat/Expat.pm
+++ b/Expat/Expat.pm
@@ -9,23 +9,17 @@ use Carp;
our $VERSION = '2.46';
-our ( %Encoding_Table, @Encoding_Path, $have_File_Spec );
+our ( %Encoding_Table, @Encoding_Path );
use File::Spec ();
%Encoding_Table = ();
-if ($have_File_Spec) {
@Encoding_Path = (
grep( -d $_,
map( File::Spec->catdir( $_, qw(XML Parser Encodings) ),
@INC ) ),
File::Spec->curdir
);
-}
-else {
- @Encoding_Path = ( grep( -d $_, map( $_ . '/XML/Parser/Encodings', @INC ) ), '.' );
-}
-
XSLoader::load( 'XML::Parser::Expat', $VERSION );
our %Handler_Setters = (
@@ -77,11 +71,7 @@ sub load_encoding {
$file .= '.enc' unless $file =~ /\.enc$/;
unless ( $file =~ m!^/! ) {
foreach (@Encoding_Path) {
- my $tmp = (
- $have_File_Spec
- ? File::Spec->catfile( $_, $file )
- : "$_/$file"
- );
+ my $tmp = File::Spec->catfile( $_, $file);
if ( -e $tmp ) {
$file = $tmp;
last;
diff --git a/Expat/Expat.xs b/Expat/Expat.xs
index dbad380..f04a0cf 100644
--- a/Expat/Expat.xs
+++ b/Expat/Expat.xs
@@ -499,7 +499,7 @@ startElement(void *userData, const char *name, const char **atts)
}
}
- if (cbv->st_serial_stackptr >= cbv->st_serial_stacksize) {
+ if (cbv->st_serial_stackptr + 1 >= cbv->st_serial_stacksize) {
unsigned int newsize = cbv->st_serial_stacksize + 512;
Renew(cbv->st_serial_stack, newsize, unsigned int);
diff --git a/Parser/Encodings/iso-8859-10.enc b/Parser/Encodings/iso-8859-10.enc
new file mode 100644
index 0000000..43250ba
--- /dev/null
+++ b/Parser/Encodings/iso-8859-10.enc
@@ -0,0 +1,2 @@
+ISO-8859-10
+ ! "