This is a follow-up post from Development Talk (ogre 1.x) where the changes where accepted and merged in 1.x, but they were not added to 2.x (and 3.0). There in that thread I posted link to pull request for 2.3 and here I added link for 3.0 (there were some merge conflicts already when I tried to just take the changes from the mentioned pull request so I rather created new one).
Here is the link for 3.0 branch: https://github.com/OGRECave/ogre-next/pull/455
I based the changes on the https://github.com/OGRECave/ogre/pull/830 - please review it carefully as I didn't verify the changes - I just went file by file from the pull request targeted ogre 1.x and ported the changes which were possible to port so the OGRE is compiling.
