From 96b4551ea47822b0d4c20caa775f29f5dc4c543d Mon Sep 17 00:00:00 2001 From: kirill Date: Thu, 10 Jul 2025 18:50:00 +0000 Subject: [PATCH] math/pari: update to 2.17.2 OK: sthen@ --- math/pari/Makefile | 7 +++---- math/pari/distinfo | 4 ++-- math/pari/patches/patch-config_Makefile_SH | 2 +- math/pari/patches/patch-config_get_cc | 2 +- math/pari/patches/patch-doc_gphelp_in | 2 +- math/pari/pkg/PLIST | 5 ++--- 6 files changed, 10 insertions(+), 12 deletions(-) diff --git a/math/pari/Makefile b/math/pari/Makefile index c877be9a5d9..bda6087015a 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -1,11 +1,10 @@ -COMMENT= number theory-oriented computer algebra system +COMMENT= number theory-oriented computer algebra system -V= 2.15.5 +V= 2.17.2 DISTNAME= pari-$V CATEGORIES= math -REVISION= 1 -SHARED_LIBS += pari-gmp 0.0 # 2.15.4 +SHARED_LIBS += pari-gmp 1.0 # 2.17.2 HOMEPAGE= https://pari.math.u-bordeaux.fr/ diff --git a/math/pari/distinfo b/math/pari/distinfo index 0da8aba9513..addd48c0711 100644 --- a/math/pari/distinfo +++ b/math/pari/distinfo @@ -1,2 +1,2 @@ -SHA256 (pari-2.15.5.tar.gz) = Dv3adRXZ2VT2MyTDSzTFYOYPc6gcOSSnEmCizJHV+YE= -SIZE (pari-2.15.5.tar.gz) = 5186798 +SHA256 (pari-2.17.2.tar.gz) = fTBXj1z5exN6KB9FSNExqvwM3oa8/RDMHhvXKoHmUGE= +SIZE (pari-2.17.2.tar.gz) = 5326642 diff --git a/math/pari/patches/patch-config_Makefile_SH b/math/pari/patches/patch-config_Makefile_SH index ff0597712b9..aa55f28de0e 100644 --- a/math/pari/patches/patch-config_Makefile_SH +++ b/math/pari/patches/patch-config_Makefile_SH @@ -1,7 +1,7 @@ Index: config/Makefile.SH --- config/Makefile.SH.orig +++ config/Makefile.SH -@@ -515,8 +515,6 @@ install-lib-dyn-base: +@@ -507,8 +507,6 @@ install-lib-dyn-base: install-lib-dyn-link: install-lib-dyn-base -if test "\$(LIBPARI_DYN)" != "\$(LIBDIR)/\$(LIBPARI_SO)"; then \ \$(LN) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SO); fi diff --git a/math/pari/patches/patch-config_get_cc b/math/pari/patches/patch-config_get_cc index 996d90d6eee..07824a93063 100644 --- a/math/pari/patches/patch-config_get_cc +++ b/math/pari/patches/patch-config_get_cc @@ -9,6 +9,6 @@ Index: config/get_cc ASMINLINE=yes - OPTFLAGS="$OPTFLAGS $warn" + OPTFLAGS="$CFLAGS $warn" - cmd="$CC $CFLAGS $extraflag -ffp-contract=off -o $exe gnu.c" + cmd="$CC $CFLAGS $extraflag -fno-strict-aliasing -o $exe gnu.c" . log_cmd if test -s $exe; then diff --git a/math/pari/patches/patch-doc_gphelp_in b/math/pari/patches/patch-doc_gphelp_in index cb9c575e9e9..46a06af2c2d 100644 --- a/math/pari/patches/patch-doc_gphelp_in +++ b/math/pari/patches/patch-doc_gphelp_in @@ -3,7 +3,7 @@ Fix path so gphelp will work. Index: doc/gphelp.in --- doc/gphelp.in.orig +++ doc/gphelp.in -@@ -134,7 +134,7 @@ sub get_docdir { +@@ -136,7 +136,7 @@ sub get_docdir { $d =~ s,doc/\.\./doc,doc,; } } diff --git a/math/pari/pkg/PLIST b/math/pari/pkg/PLIST index bae1631d798..18950d5961c 100644 --- a/math/pari/pkg/PLIST +++ b/math/pari/pkg/PLIST @@ -1,5 +1,5 @@ bin/gp -@bin bin/gp-2.15 +@bin bin/gp-2.17 bin/gphelp bin/tex2mail include/pari/ @@ -21,12 +21,11 @@ include/pari/paripriv.h include/pari/paristio.h include/pari/parisys.h include/pari/paritune.h -@comment lib/libpari.a @lib lib/libpari-gmp.so.${LIBpari-gmp_VERSION} @so lib/libpari.so lib/pari/ lib/pari/pari.cfg -@man man/man1/gp-2.15.1 +@man man/man1/gp-2.17.1 @man man/man1/gp.1 @man man/man1/gphelp.1 @man man/man1/pari.1