Free42 supports both binary and decimal floats. The ebuild builds and installs the (default) binary version. I should build and install the decimal version. Free42 emulates a handheld calculator; those all use decimal. Binary’s only advantage is speed, but that is irrelevant for this application. At least on any hardware on which Gentoo runs. The fix is easy. Add BCD_MATH=1 to the emake and change to dobin from gtk/free42bin to gtk/free42dec: --- a/free42/free42-1.4.75.ebuild 2012-11-11 14:31:40.000000000 -0500 +++ b/free42/free42-1.4.75.ebuild 2012-11-12 14:00:31.995940676 -0500 @@ -41 +41 @@ - emake -j1 CXX="$(tc-getCXX)" ${myconf} -C "${S}/gtk" + emake -j1 CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C "${S}/gtk" @@ -46 +46 @@ - dobin gtk/free42bin + dobin gtk/free42dec
Thanks for reporting and providing patch. =app-emulation/free42-1.4.75 now builds and installs the decimal version. + 13 Nov 2012; Chema Alonso <nimiux@gentoo.org> free42-1.4.75.ebuild: + Fix bug #442908. Thanks to James Cloos for reporting and providing patch. +