[libxml-sax-writer-perl] 03/06: Remove all patches, all of them were applied by upstream in the latest version

Lucas Kanashiro kanashiro at moszumanska.debian.org
Sun Jul 30 04:15:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

kanashiro pushed a commit to branch master
in repository libxml-sax-writer-perl.

commit a05ec8e393e2c42f13936cedf63a18b853cfa53a
Author: Lucas Kanashiro <kanashiro at debian.org>
Date:   Sun Jul 30 01:03:58 2017 -0300

    Remove all patches, all of them were applied by upstream in the latest version
---
 debian/changelog                            |  2 ++
 debian/patches/duplicate_name_section.patch | 26 ----------------------
 debian/patches/file_consumer_encoding.patch | 34 -----------------------------
 debian/patches/quote_xml_version.patch      | 26 ----------------------
 debian/patches/series                       |  3 ---
 5 files changed, 2 insertions(+), 89 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cfa6394..bdba37c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ libxml-sax-writer-perl (0.57-1) UNRELEASED; urgency=medium
 
   [ Lucas Kanashiro ]
   * Import upstream version 0.57
+  * Remove all patches, all of them were applied by upstream in the latest
+    version
 
  -- Lucas Kanashiro <kanashiro at debian.org>  Sun, 30 Jul 2017 00:58:45 -0300
 
diff --git a/debian/patches/duplicate_name_section.patch b/debian/patches/duplicate_name_section.patch
deleted file mode 100644
index f7bbcca..0000000
--- a/debian/patches/duplicate_name_section.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: Fix duplicate manpage sections
-Author: Florian Schlichting <fsfs at debian.org> 
-Forwarded: https://github.com/perigrin/xml-sax-writer/issues/4
---- a/lib/XML/SAX/Writer/XML.pm
-+++ b/lib/XML/SAX/Writer/XML.pm
-@@ -556,20 +556,6 @@ version 0.56
- 
- ...
- 
--=head1 NAME
--
--XML::SAX::Writer::XML - SAX2 XML Writer
--
--=head1 AUTHOR
--
--Robin Berjon, robin at knowscape.com
--
--=head1 COPYRIGHT
--
--Copyright (c) 2001-2006 Robin Berjon and Perl XML project. All rights reserved. 
--This program is free software; you can redistribute it and/or modify it under 
--the same terms as Perl itself.
--
- =head1 SEE ALSO
- 
- XML::SAX::*
diff --git a/debian/patches/file_consumer_encoding.patch b/debian/patches/file_consumer_encoding.patch
deleted file mode 100644
index e09c52a..0000000
--- a/debian/patches/file_consumer_encoding.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Subject: Defensive to encoding of output in FileConsumer
- * Add '>:encoding(EncodeTo)' line discipline to FileConsumer to defeat 
- perl's automatic charset conversion.
-Author: Florian Ragwitz <rafl at debian.org>
-Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
-Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=93623
-Last-Update: 2010-08-22
---- a/lib/XML/SAX/Writer.pm
-+++ b/lib/XML/SAX/Writer.pm
-@@ -332,7 +332,10 @@ $XML::SAX::Writer::FileConsumer::VERSION
- # new
- #-------------------------------------------------------------------#
- sub new {
--    my ( $proto, $file ) = ( shift, shift );
-+    my ( $proto, $file, $opt ) = @_;
-+    my $enc_to = (defined $opt and ref $opt eq 'HASH'
-+                  and defined $opt->{EncodeTo}) ? $opt->{EncodeTo}
-+                                                : 'utf-8';
- 
-     XML::SAX::Writer::Exception->throw(
-         Message => "No filename provided to " . ref( $proto || $proto )
-@@ -340,9 +343,10 @@ sub new {
- 
-     local *XFH;
- 
--    open XFH, ">$file" or XML::SAX::Writer::Exception->throw(
-+    open XFH, ">:encoding($enc_to)", $file
-+      or XML::SAX::Writer::Exception->throw(
-         Message => "Error opening file $file: $!"
--    );
-+      );
- 
-     return $proto->SUPER::new( *{XFH}{IO}, @_ );
- }
diff --git a/debian/patches/quote_xml_version.patch b/debian/patches/quote_xml_version.patch
deleted file mode 100644
index 6a4a5dd..0000000
--- a/debian/patches/quote_xml_version.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Subject: use double quotes in xml declarations
-Author: Florian Ragwitz <rafl at debian.org>
-Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
-Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=93623
-Last-Update: 2010-08-22
---- a/lib/XML/SAX/Writer/XML.pm
-+++ b/lib/XML/SAX/Writer/XML.pm
-@@ -479,14 +479,14 @@ sub xml_decl {
-     # also, there's order in the pseudo-attr
-     my $xd = '';
-     if ($data->{Version}) {
--        $xd .= "<?xml version='$data->{Version}'";
-+        $xd .= "<?xml version=\"$data->{Version}\"";
-         if ($data->{Encoding}) {
--            $xd .= " encoding='$data->{Encoding}'";
-+            $xd .= " encoding=\"$data->{Encoding}\"";
-         }
-         if ($data->{Standalone}) {
--            $xd .= " standalone='$data->{Standalone}'";
-+            $xd .= " standalone=\"$data->{Standalone}\"";
-         }
--        $xd .= '?>';
-+        $xd .= "?>\n";
-     }
- 
-     #$xd = $self->{Encoder}->convert($xd); # this may blow up
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index b96d005..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,3 +0,0 @@
-quote_xml_version.patch
-file_consumer_encoding.patch
-duplicate_name_section.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-sax-writer-perl.git



More information about the Pkg-perl-cvs-commits mailing list