Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37704427
en ru br
Репозитории ALT
S:5.34.1-alt1
5.1: 5.8.9-alt3
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
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-5.24.0-alt-at-debian-Errno_pm.patch
Скачать


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";
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin