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