summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/debian/errno_ver.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/errno_ver.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/debian/errno_ver.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/errno_ver.diff
new file mode 100644
index 0000000..c7b0531
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/errno_ver.diff
@@ -0,0 +1,36 @@
1Upstream-Status:Inappropriate [debian patches]
2From 973bed42db538804179f39d66dab37c82c6ade24 Mon Sep 17 00:00:00 2001
3From: Brendan O'Dea <bod@debian.org>
4Date: Fri, 16 Dec 2005 01:32:14 +1100
5Subject: Remove Errno version check due to upgrade problems with long-running
6 processes.
7
8Bug-Debian: http://bugs.debian.org/343351
9
10Remove version check which can cause problems for long running
11processes embedding perl when upgrading to a newer version,
12compatible, but built on a different machine.
13
14Patch-Name: debian/errno_ver.diff
15---
16 ext/Errno/Errno_pm.PL | 5 -----
17 1 files changed, 0 insertions(+), 5 deletions(-)
18
19diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
20index 56bc815..01f510a 100644
21--- a/ext/Errno/Errno_pm.PL
22+++ b/ext/Errno/Errno_pm.PL
23@@ -332,13 +332,8 @@ EOF
24
25 package Errno;
26 require Exporter;
27-use Config;
28 use strict;
29
30-"\$Config{'archname'}-\$Config{'osvers'}" eq
31-"$Config{'archname'}-$Config{'osvers'}" or
32- die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
33-
34 our \$VERSION = "$VERSION";
35 \$VERSION = eval \$VERSION;
36 our \@ISA = 'Exporter';