Here is the patch, which should make the code Ogre 1.8.0 compatible. It's a small change, but useful.
Note that I've only tested this on my machine, which runs Gentoo Linux, amd64.
Also, the patch does remove the code that loads the OpenDungeonsEditorToolBox.layout file, because it doesn't exist, and I'm using the most recent GIT and SVN versions of OpenDungeons. Feel free to look in the file called Gui.cpp, in the source/ folder, and uncomment the line that mentions that file.
EDIT: I'm not allowed to upload the patch to the forums. I assume it's because this is my first post on these forums, so for now just copy the paste of the file found at this link http://sprunge.us/cCHB
EDIT2: Ok, I have now been approved as legit user here, but I still can't upload the patch file, so the link is the only way to get it currently.