From 5ee542c26c5d01404f63b8ac23b3e41c3bce863c Mon Sep 17 00:00:00 2001 From: Alexander Chernyakhovsky Date: Sun, 26 Mar 2017 17:16:37 -0400 Subject: [PATCH] Restore perl 5.8.8 support This is as variant of the patch I had in EL5 for a while, but forgot to upstream. It turns out that the changes we made to support 5.10.1 are actually sufficient for 5.8.8 if we remove unused imports, so remove them. --- scripts/mosh.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mosh.pl b/scripts/mosh.pl index 25745be..e6c890e 100755 --- a/scripts/mosh.pl +++ b/scripts/mosh.pl @@ -30,14 +30,14 @@ # this exception statement from all source files in the program, then # also delete it here. -use 5.10.0; +use 5.8.8; use warnings; use strict; use Getopt::Long; use IO::Socket; use Text::ParseWords; -use Socket qw( IPPROTO_IP IPPROTO_IPV6 IPPROTO_TCP IPPROTO_UDP ); +use Socket qw(IPPROTO_TCP); use Errno qw(EINTR); use POSIX qw(_exit);