Please add it to the tree. The following are the changes from calc version 2.12.5.4 to 2.12.5.6: Recompile to match current RHEL7.2 libc and friends. Added fix by Alexandre Fedotov <fedotov at mail dot desy dot de> to prepend ${T} in front of the CALCPATH path components ${CALC_SHAREDIR} and ${CUSTOMDIR}. Add ${T} in front of ${HELPDIR} and ${CUSTONHELPDIR} when making conf.h. Improved the jacobi help page. Rewrote gen_v1() in the lucas.cal resource file using the method based on a paper: "A note on primality tests for N = h*2^n-1", by Oystein J. Rodseth, Department of Mathematics, University of Bergen, BIT Numerical Mathematics. 34 (3): pp 451-454. http://folk.uib.no/nmaoy/papers/luc.pdf The improved gen_v1() function is capable of returning a value for all valid values of h and n. As a result, the trial tables used by gen_v1() have been changed to a short list of values to try, in order ot likelyhood of success, before doing an enhaustive search for a v1 value to return. Removed lucas_tbl.cal calc resource file. This file was made obsolete by the above rewrite of the lucas.cal resource file. This file will be removed from the local cal directory and from CALC_SHAREDIR during a 'make install', 'make cobber', and 'make uninstall'. Renamed gen_u0() to gen_u2() in lucas.cal. Provided a gen_u0() stub function that calls gen_u2() for backward compatibility. The old gen_v1() method used by the Amdahl 6 group has been renamed legacy_gen_v1() in lucas.cal. This function is no longer usde by the lucas(h, n) function to test the primality of h*2^n-1. It is preserved in lucas.cal for historical purposes. The 'make clobber' rule will attempt to remove all files that start with libcalc and start with libcustcalc. The 'man' command is now an alias for the 'help' command. Fixed extra /'s that were put into CALCPATH because of ${T}. Fixed extra /'s that were compiled into HELPDIR and CUSTOMHELPDIR. The fix in 2.12.5.4 to to prepend ${T} in front of the CALCPATH path components ${CALC_SHAREDIR} and ${CUSTOMDIR} broke the calc rpm build process. The check-buildroot tool discovered that the BUILDROOT directory had been improperly put into various paths and binaries. This has been fixed in 2.12.5.5. Fixed a crash that showed up on macOS (Darwin) that was reported by Richard Outerbridge <outer at interlog dot com> and fixed by Stuart Henderson <stu at spacehopper dot org>. Thanks goes to both!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e5fb57ef9445c508d7e2778d71bd68264cdb76 commit d4e5fb57ef9445c508d7e2778d71bd68264cdb76 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-04-28 20:16:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-04-28 20:24:06 +0000 sci-mathematics/calc: add 2.13.0.1 Closes: https://bugs.gentoo.org/732028 Closes: https://bugs.gentoo.org/725590 Closes: https://bugs.gentoo.org/620892 Signed-off-by: Sam James <sam@gentoo.org> sci-mathematics/calc/Manifest | 1 + sci-mathematics/calc/calc-2.13.0.1.ebuild | 62 +++++ .../calc/files/calc-2.12.5.4-as-needed.patch | 4 +- .../calc/files/calc-2.13.0.1-RPATH.patch | 199 +++++++++++++++ .../calc/files/calc-2.13.0.1-respect-LDFLAGS.patch | 267 +++++++++++++++++++++ 5 files changed, 531 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51d4bd1e9cdba157613f9ee49a2de5deb9114014 commit 51d4bd1e9cdba157613f9ee49a2de5deb9114014 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-04-28 20:24:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-04-28 20:24:43 +0000 sci-mathematics/calc: ~arch for 2.13 Closes: https://bugs.gentoo.org/732028 Closes: https://bugs.gentoo.org/725590 Closes: https://bugs.gentoo.org/620892 Signed-off-by: Sam James <sam@gentoo.org> sci-mathematics/calc/calc-2.13.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)