[libimager-perl] 02/03: Add patch from CPAN RT to work with old and new Inline(::C).

gregor herrmann gregoa at debian.org
Sat Jul 12 14:19:07 UTC 2014


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

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

commit 4888ea7cc9b686542eb73aacd81dbb009c2ad997
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jul 12 16:18:03 2014 +0200

    Add patch from CPAN RT to work with old and new Inline(::C).
---
 debian/patches/inline.patch | 18 ++++++++++++++++++
 debian/patches/series       |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/inline.patch b/debian/patches/inline.patch
new file mode 100644
index 0000000..e910166
--- /dev/null
+++ b/debian/patches/inline.patch
@@ -0,0 +1,18 @@
+Description: work with new and old Inline(::C)
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=97110#txn-1385073
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=97108
+Author: ETJ [...] cpan.org
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-07-12
+
+--- a/Imager.pm
++++ b/Imager.pm
+@@ -4196,7 +4196,7 @@
+ }
+ 
+ sub Inline {
+-  my ($lang) = @_;
++  my ($lang) = $_[-1];
+ 
+   $lang eq 'C'
+     or die "Only C language supported";
diff --git a/debian/patches/series b/debian/patches/series
index 0ed19bd..26c9ee4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 nonfree_tests.patch
 no_t1lib.patch
+inline.patch

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



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