diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/errno_ver.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/debian/errno_ver.diff | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/errno_ver.diff new file mode 100644 index 0000000000..de73ed549a --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/errno_ver.diff | |||
@@ -0,0 +1,34 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | Subject: Remove Errno version check due to upgrade problems with long-running processes. | ||
4 | Bug-Debian: http://bugs.debian.org/343351 | ||
5 | |||
6 | Remove version check which can cause problems for long running | ||
7 | processes embedding perl when upgrading to a newer version, | ||
8 | compatible, but built on a different machine. | ||
9 | |||
10 | |||
11 | --- | ||
12 | ext/Errno/Errno_pm.PL | 5 ----- | ||
13 | 1 files changed, 0 insertions(+), 5 deletions(-) | ||
14 | |||
15 | diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL | ||
16 | index 124b8fc..b554cd4 100644 | ||
17 | --- a/ext/Errno/Errno_pm.PL | ||
18 | +++ b/ext/Errno/Errno_pm.PL | ||
19 | @@ -341,13 +341,8 @@ EOF | ||
20 | package Errno; | ||
21 | our (\@EXPORT_OK,\%EXPORT_TAGS,\@ISA,\$VERSION,\%errno,\$AUTOLOAD); | ||
22 | use Exporter (); | ||
23 | -use Config; | ||
24 | use strict; | ||
25 | |||
26 | -"\$Config{'archname'}-\$Config{'osvers'}" eq | ||
27 | -"$Config{'archname'}-$Config{'osvers'}" or | ||
28 | - die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; | ||
29 | - | ||
30 | \$VERSION = "$VERSION"; | ||
31 | \$VERSION = eval \$VERSION; | ||
32 | \@ISA = qw(Exporter); | ||
33 | -- | ||
34 | tg: (a508b62..) debian/errno_ver (depends on: upstream) | ||