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