[libdata-hal-perl] 01/04: Add patch from new upstream's git repo

gregor herrmann gregoa at debian.org
Fri Dec 25 22:50:24 UTC 2015


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

gregoa pushed a commit to branch master
in repository libdata-hal-perl.

commit a1fa2fc45e5807eab078144244a075f8fb4b09ea
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Dec 25 23:39:52 2015 +0100

    Add patch from new upstream's git repo
    
    for compatibility with older and newer URI::NamespaceMap.
    
    Closes: #768687
---
 debian/patches/series                 |  1 +
 debian/patches/uri-namespacemap.patch | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6a79d37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+uri-namespacemap.patch
diff --git a/debian/patches/uri-namespacemap.patch b/debian/patches/uri-namespacemap.patch
new file mode 100644
index 0000000..1a68b72
--- /dev/null
+++ b/debian/patches/uri-namespacemap.patch
@@ -0,0 +1,29 @@
+Description: adjustment for (older and newer) URI::NamespaceMap
+Origin: new upstream's git repo
+ https://github.com/sipwise/data-hal
+ 85538c754b0274251319597d23d04ca135e7f463 and ac5f0bf5f72997fa3cbd84820e8aeb011e76bc3d
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=101827
+Forwarded: no, since patch is from new upstream
+Bug-Debian: https://bugs.debian.org/768687
+Author: Gerhard Jungwirth <gjungwirth at sipwise.com>
+ Rene Krenn <rkrenn at sipwise.com>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-12-25
+
+--- a/lib/Data/HAL/URI/NamespaceMap.pm
++++ b/lib/Data/HAL/URI/NamespaceMap.pm
+@@ -24,4 +24,14 @@
+     return;
+ }
+ 
++sub add_mapping {
++  my ($self,$name,$href) = @_;
++  my $map = $self->namespace_map;
++  if ($map) {
++    return $map->{$name} = $href;
++  } else {
++    return $self->SUPER::add_mapping($name,$href);
++  }
++}
++
+ 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-hal-perl.git



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