diff options
Diffstat (limited to 'meta/recipes-devtools/perl-sanity/files/errno_ver.diff')
| -rw-r--r-- | meta/recipes-devtools/perl-sanity/files/errno_ver.diff | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-sanity/files/errno_ver.diff b/meta/recipes-devtools/perl-sanity/files/errno_ver.diff new file mode 100644 index 0000000000..a965fbeeec --- /dev/null +++ b/meta/recipes-devtools/perl-sanity/files/errno_ver.diff | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From 8e1efba7560d8d55524c7a0f1b0539ddce419b86 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: [PATCH 6/8] Remove Errno version check due to upgrade problems with | ||
| 5 | long-running 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 | Upstream-Status: Pending | ||
| 15 | --- | ||
| 16 | ext/Errno/Errno_pm.PL | 5 ----- | ||
| 17 | 1 file changed, 5 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL | ||
| 20 | index 6251a3c..eeed445 100644 | ||
| 21 | --- a/ext/Errno/Errno_pm.PL | ||
| 22 | +++ b/ext/Errno/Errno_pm.PL | ||
| 23 | @@ -294,11 +294,6 @@ EDQ | ||
| 24 | # they've already declared perl doesn't need to worry about this risk. | ||
| 25 | if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) { | ||
| 26 | print <<"CONFIG_CHECK_END"; | ||
| 27 | -use Config; | ||
| 28 | -"\$Config{'archname'}-\$Config{'osvers'}" eq | ||
| 29 | -"$archname-$Config{'osvers'}" or | ||
| 30 | - die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; | ||
| 31 | - | ||
| 32 | CONFIG_CHECK_END | ||
| 33 | } | ||
| 34 | |||
| 35 | -- | ||
| 36 | 2.1.4 | ||
| 37 | |||
