Add a patch to fix the perl path in const-c.inc.
authorgregor herrmann <gregoa@debian.org>
Mon, 14 Apr 2014 19:12:07 +0000 (21:12 +0200)
committergregor herrmann <gregoa@debian.org>
Mon, 14 Apr 2014 19:13:41 +0000 (21:13 +0200)
debian/patches/perl-path.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/patches/perl-path.patch b/debian/patches/perl-path.patch
new file mode 100644 (file)
index 0000000..9335779
--- /dev/null
@@ -0,0 +1,20 @@
+Description: Fix perl path in const-c.inc
+ Reverts a change that happened somewhere between the 2.08 and 2.11 releases.
+ Probably harmless but still ...
+Origin: vendor
+Bug: https://github.com/Sereal/Sereal/issues/51
+Forwarded: https://github.com/Sereal/Sereal/issues/51
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2014-04-14
+
+--- a/const-c.inc
++++ b/const-c.inc
+@@ -673,7 +673,7 @@
+      Regenerate these constant functions by feeding this entire source file to
+      perl -x
+-#!/home/yorton/perl5/perlbrew/perls/perl-5.18.2/bin/perl -w
++#!/usr/bin/perl -w
+ use ExtUtils::Constant qw (constant_types C_constant XS_constant);
+ my $types = {map {($_, 1)} qw(IV)};
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..60c14a3
--- /dev/null
@@ -0,0 +1 @@
+perl-path.patch