aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/errno_ver.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/errno_ver.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/debian/errno_ver.diff40
1 files changed, 24 insertions, 16 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl/debian/errno_ver.diff
index a965fbeeec..1c7e9c194c 100644
--- a/meta/recipes-devtools/perl/perl/debian/errno_ver.diff
+++ b/meta/recipes-devtools/perl/perl/debian/errno_ver.diff
@@ -1,7 +1,7 @@
-From 8e1efba7560d8d55524c7a0f1b0539ddce419b86 Mon Sep 17 00:00:00 2001
+From e055c5df42111f672a66f314a86d0068a24c070c 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 6/8] Remove Errno version check due to upgrade problems with
+Subject: [PATCH] Remove Errno version check due to upgrade problems with
long-running processes.
Bug-Debian: http://bugs.debian.org/343351
@@ -11,27 +11,35 @@ 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(-)
+ ext/Errno/Errno_pm.PL | 16 ----------------
+ 1 file changed, 16 deletions(-)
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
-index 6251a3c..eeed445 100644
+index d345e98..4464706 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
-@@ -294,11 +294,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";
+@@ -288,22 +288,6 @@ package Errno;
+ require Exporter;
+ use strict;
+
+-EDQ
+-
+- # Errno only needs Config to make sure it hasn't changed platforms.
+- # If someone set $ENV{PERL_BUILD_EXPAND_CONFIG_VARS} at build time,
+- # 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-$Config{'osvers'}" or
- die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
-
- CONFIG_CHECK_END
- }
-
---
-2.1.4
-
+-CONFIG_CHECK_END
+-}
+-
+- print <<"EDQ";
+ our \$VERSION = "$VERSION";
+ \$VERSION = eval \$VERSION;
+ our \@ISA = 'Exporter';