Commit FS#12188 - Fix perl scripts that used Switch by Sean Bartell.
commit85e1e753b0a0bccb6039411d7fdee240ced54dac
authoralex <alex@a1c6a512-1295-4272-9138-f99709370657>
Tue, 19 Jul 2011 19:16:54 +0000 (19 19:16 +0000)
committeralex <alex@a1c6a512-1295-4272-9138-f99709370657>
Tue, 19 Jul 2011 19:16:54 +0000 (19 19:16 +0000)
tree05360e385908b29fd3f788c6db04a4ab1433059c
parentb7ab61fbcd9642ebbd4c1fdffcc5df933eb89e0e
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