Commit FS#12188 - Fix perl scripts that used Switch by Sean Bartell.
commit354d8fbc63f861401b402f96975a5ab3e27d1dff
authorAlex Parker <rockbox@aeparker.com>
Tue, 19 Jul 2011 19:16:54 +0000 (19 19:16 +0000)
committerAlex Parker <rockbox@aeparker.com>
Tue, 19 Jul 2011 19:16:54 +0000 (19 19:16 +0000)
tree05360e385908b29fd3f788c6db04a4ab1433059c
parent31b7ecb09b31d7fb1e95758d5c7b3b40b38437ed
Commit FS#12188 - Fix perl scripts that used Switch by Sean Bartell.

Perl 5.14 removed Switch which means that Rockbox will no longer build
with the current release of Perl. The patch replaces Switch
with given/when which was introduced in Perl 5.10.0.

Debian stable has 5.10.1, cygwin 1.7 has 5.10.1 and Mac OSX 10.6 comes
with 5.10.0. I'm not sure what version older versions of OSX come with,
but newer versions are apparently available from Macports.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30169 a1c6a512-1295-4272-9138-f99709370657
tools/multigcc.pl
tools/voice.pl