Subject: CVS commit: pkgsrc/geography/opencpn
From: Manuel Bouyer
Date: 2017-09-12 19:31:20
Message id: 20170912173120.EF26CFA98@cvs.NetBSD.org

Log Message:
Fix opencpn on arm

For some reason ocpnDC::DrawEllipse is miscompiled on NetBSD 8.0_BETA earmv7hf:
for the tail call to dc->DrawEllipse() the compiler emits a bx instruction,
but forgets to load the address of the function in the register.
Add a memory barrier to works around this problem by avoiding the tail-call
optimisation.
Other similar functions in this file are properly compiled ...

Bump PKGREVISION

Files:
RevisionActionfile
1.17modifypkgsrc/geography/opencpn/Makefile
1.14modifypkgsrc/geography/opencpn/distinfo
1.1addpkgsrc/geography/opencpn/patches/patch-src_ocpndc.cpp