ALT Linux repos
S: | 5.34.1-alt1 |
5.0: | 5.8.9-alt2 |
4.1: | 5.8.8-alt19.M41.1 |
4.0: | 5.8.8-alt14 |
+updates: | 5.8.8-alt14 |
3.0: | 5.8.7-alt2 |
Group :: Development/Perl
RPM: perl
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: perl-5.24.0-alt-at-debian-Errno_pm.patch
Download
Download
commit 5db36b6559ba0eaede42318f5e3a5fbee4afe753
Author: Alexey Tourbin <at@altlinux.ru>
Date: Sun Apr 24 23:01:22 2011 +0400
Errno.pm: removed version check (debian)
Note by viy@: can be now replaced with
ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'} in spec
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 6251a3c..134cd6e 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -289,18 +289,6 @@ 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
-}
print <<"EDQ";
our \$VERSION = "$VERSION";