Thank you for your help, I'e ve been working on this for two days now and my brain is fried.

Unfortunately, according to all the bitbake recipe files, the patch is already applied.  I have also looked through the Makefile.shared file myself and the changes are in there. The program is still not compiling however and I am not sure where to consider looking.

Any advice appreciated!

Cheers