Add patch for successful macos compilation.

Avoid the multiple definition of lrcalc_panic_frame which is fatal on
OS X