Script which patches the ltib folder on Ubuntu 12.04.
Steps:
$ cp patch-ltib-ubuntu12.04.sh <your ltib folder>
$ cd <your ltib folder>
$ chmod +x patch-ltib-ubuntu12.04.sh
$ ./patch-ltib-ubuntu12.04.sh