blob: bcb59c69e02aff63a7d6cd5ebcd2bedc67de9d23 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 827eee225897c35ec97194a5971bf4bfcf250748 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 16 Dec 2005 01:32:14 +1100
4Subject: Remove Errno version check due to upgrade problems with long-running
5 processes.
6
7Bug-Debian: http://bugs.debian.org/343351
8
9Remove version check which can cause problems for long running
10processes embedding perl when upgrading to a newer version,
11compatible, but built on a different machine.
12
13Patch-Name: debian/errno_ver.diff
14---
15 ext/Errno/Errno_pm.PL | 5 -----
16 1 file changed, 5 deletions(-)
17
18diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
19index c6bfa06..519e5c7 100644
20--- a/ext/Errno/Errno_pm.PL
21+++ b/ext/Errno/Errno_pm.PL
22@@ -278,13 +278,8 @@ sub write_errno_pm {
23
24 package Errno;
25 require Exporter;
26-use Config;
27 use strict;
28
29-"\$Config{'archname'}-\$Config{'osvers'}" eq
30-"$archname-$Config{'osvers'}" or
31- die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
32-
33 our \$VERSION = "$VERSION";
34 \$VERSION = eval \$VERSION;
35 our \@ISA = 'Exporter';