I just made some changes to the repository which should affect this issue. Not sure if it's fixed by this, but it should at least be "different" now ;).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Revsion 27600 build log
Logged In: YES
user_id=1731419
Originator: YES
Attached proposed patch seems to solve the problem.
It's a 5 minutes hack, should be heavily controlled.
File Added: scummvm-27600-keycodes.patch
Proposed patch
Logged In: YES
user_id=12935
Originator: NO
I just made some changes to the repository which should affect this issue. Not sure if it's fixed by this, but it should at least be "different" now ;).
Second build log
Logged In: YES
user_id=1731419
Originator: YES
It does change indeed, but there are other errors now (maybe a cast is required?), attaching the build log. :)
File Added: build2.log
Logged In: YES
user_id=634621
Originator: NO
Fixed in SVN trunk as of r27632. Thanks for reporting.