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. Gbp-Pq: Topic debian Gbp-Pq: Name errno_ver.diff
This commit is contained in:
parent
f3b88dcbf5
commit
9744e548a4
|
@ -292,22 +292,6 @@ package Errno;
|
||||||
require Exporter;
|
require Exporter;
|
||||||
use strict;
|
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";
|
our \$VERSION = "$VERSION";
|
||||||
\$VERSION = eval \$VERSION;
|
\$VERSION = eval \$VERSION;
|
||||||
our \@ISA = 'Exporter';
|
our \@ISA = 'Exporter';
|
||||||
|
|
Loading…
Reference in New Issue