diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/errno_ver.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl/debian/errno_ver.diff | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl/debian/errno_ver.diff index bcb59c69e0..3d09229ed4 100644 --- a/meta/recipes-devtools/perl/perl/debian/errno_ver.diff +++ b/meta/recipes-devtools/perl/perl/debian/errno_ver.diff | |||
@@ -1,8 +1,8 @@ | |||
1 | From 827eee225897c35ec97194a5971bf4bfcf250748 Mon Sep 17 00:00:00 2001 | 1 | From 8e1efba7560d8d55524c7a0f1b0539ddce419b86 Mon Sep 17 00:00:00 2001 |
2 | From: Brendan O'Dea <bod@debian.org> | 2 | From: Brendan O'Dea <bod@debian.org> |
3 | Date: Fri, 16 Dec 2005 01:32:14 +1100 | 3 | Date: Fri, 16 Dec 2005 01:32:14 +1100 |
4 | Subject: Remove Errno version check due to upgrade problems with long-running | 4 | Subject: [PATCH 6/8] Remove Errno version check due to upgrade problems with |
5 | processes. | 5 | long-running processes. |
6 | 6 | ||
7 | Bug-Debian: http://bugs.debian.org/343351 | 7 | Bug-Debian: http://bugs.debian.org/343351 |
8 | 8 | ||
@@ -11,25 +11,27 @@ processes embedding perl when upgrading to a newer version, | |||
11 | compatible, but built on a different machine. | 11 | compatible, but built on a different machine. |
12 | 12 | ||
13 | Patch-Name: debian/errno_ver.diff | 13 | Patch-Name: debian/errno_ver.diff |
14 | |||
14 | --- | 15 | --- |
15 | ext/Errno/Errno_pm.PL | 5 ----- | 16 | ext/Errno/Errno_pm.PL | 5 ----- |
16 | 1 file changed, 5 deletions(-) | 17 | 1 file changed, 5 deletions(-) |
17 | 18 | ||
18 | diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL | 19 | diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL |
19 | index c6bfa06..519e5c7 100644 | 20 | index 6251a3c..eeed445 100644 |
20 | --- a/ext/Errno/Errno_pm.PL | 21 | --- a/ext/Errno/Errno_pm.PL |
21 | +++ b/ext/Errno/Errno_pm.PL | 22 | +++ b/ext/Errno/Errno_pm.PL |
22 | @@ -278,13 +278,8 @@ sub write_errno_pm { | 23 | @@ -294,11 +294,6 @@ EDQ |
23 | 24 | # they've already declared perl doesn't need to worry about this risk. | |
24 | package Errno; | 25 | if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) { |
25 | require Exporter; | 26 | print <<"CONFIG_CHECK_END"; |
26 | -use Config; | 27 | -use Config; |
27 | use strict; | ||
28 | |||
29 | -"\$Config{'archname'}-\$Config{'osvers'}" eq | 28 | -"\$Config{'archname'}-\$Config{'osvers'}" eq |
30 | -"$archname-$Config{'osvers'}" or | 29 | -"$archname-$Config{'osvers'}" or |
31 | - die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; | 30 | - die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; |
32 | - | 31 | - |
33 | our \$VERSION = "$VERSION"; | 32 | CONFIG_CHECK_END |
34 | \$VERSION = eval \$VERSION; | 33 | } |
35 | our \@ISA = 'Exporter'; | 34 | |
35 | -- | ||
36 | 2.1.4 | ||
37 | |||