Luckily it was very easy to recreate the patch. I have submitted the patches today. They are here:
https://sourceforge.net/p/lxde/patches/474/
It is easier to download, patch, and compile the version 0.6.2 than the latest code from git repository.
I have created a BASH shell script than can automatically download the patch and lxpanel v0.6.2, apply the patch, install build dependencies, compile the code, install the custom lxpanel, and restart lxpanel. I have uploaded that script to my website. The usage instructions are:
1) Download the script from
http://www.vladpride.cz/res/install-lxp ... -patch-474
2) Open terminal and go to directory with that file (with cd command)
3) Make that script executable with: chmod a+x install-lxpanel-with-patch-474
4) Run it with: ./install-lxpanel-with-patch-474
Should the script fail, then you can read the error message, google for it, fix the script and rerun the script. It is tested on Ubuntu 12.04.
The script creates folder lxpanel-with-patch-474 in the working directory. The custom lxpanel is then installed to subdirectories of /usr/local/, but that folder lxpanel-with-patch-474 is needed for uninstallation, so it is not automatically deleted.
The script creates uninstaller script uninstall in folder lxpanel-with-patch-474. The uninstaller can uninstall your custom version of lxpanel, delete folder lxpanel-with-patch-474 (the path to that folder is in the uninstaller, so it can be run from any working directory), and restart lxpanel.