Rockbox mail archiveSubject: FS#12188 - Fix perl scripts that used Switch by Sean Bartell
FS#12188 - Fix perl scripts that used Switch by Sean Bartell
From: Alex Parker <rockbox_at_aeparker.com>
Date: Sat, 16 Jul 2011 11:54:39 +0200
I'd like to commit FS#12188 - Fix perl scripts that used Switch by Sean
Perl 5.14 removed Switch which means that Rockbox will no longer build
with the current release of Perl. This is already a problem on very
up-to-date distros such as Arch, and will be more so in the future as
other distros update.
The patch in FS#12188 replaces switch with given/when which was
introduced in Perl 5.10.0 , with an enhanced version in 5.10.1 . I
think that 5.10.0 should be adequate, but I'm not 100% sure, I'm no
Debian stable has 5.10.1, so if that has a recent enough version I'm
pretty confident any other linux distro will too.
Cygwin 1.7 has 5.10.1 so that should be fine, and Mac OSX 10.6 comes
with 5.10.0. For this and older versions of OSX, newer perl versions
are apparently readily available in Macports.
Any objections? If you think you might be affected please check, if not
I'd like to commit this in a few days.
Received on 2011-07-16