From 9c404d4b1c3607e827fb56b5ae4f8fbbdb52cd0b Mon Sep 17 00:00:00 2001
From: Brendan O'Dea <bod@debian.org>
Date: Fri, 16 Dec 2005 01:32:14 +1100
Subject: [PATCH] Remove Errno version check due to upgrade problems with
 long-running processes.

Bug-Debian: http://bugs.debian.org/343351

Remove version check which can cause problems for long running
processes embedding perl when upgrading to a newer version,
compatible, but built on a different machine.

Patch-Name: debian/errno_ver.diff
Upstream-Status: Pending
---
 ext/Errno/Errno_pm.PL | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 77aa19b..4bdbef1 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -295,11 +295,6 @@ EDQ
     # they've already declared perl doesn't need to worry about this risk.
     if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) {
         print <<"CONFIG_CHECK_END";
-use Config;
-"\$Config{'archname'}-\$Config{'osvers'}" eq
-"$archname-$osvers" or
-	die "Errno architecture ($archname-$osvers) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
-
 CONFIG_CHECK_END
 }
 
