Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
math/pari: update to 2.17.2
To:
OpenBSD ports <ports@openbsd.org>
Date:
Thu, 29 May 2025 19:32:15 +0200

Download raw body.

Thread
ports@,

I'd like to update math/pari to 2.17.2

Tested on -current/amd64, no regression discovered.

Ok?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/math/pari/Makefile,v
diff -u -p -r1.26 Makefile
--- Makefile	15 Apr 2024 11:38:53 -0000	1.26
+++ Makefile	29 May 2025 17:29:19 -0000
@@ -1,11 +1,10 @@
 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/
 
@@ -19,6 +18,8 @@ SITES=			https://pari.math.u-bordeaux.fr
 
 BUILD_DEPENDS=		print/texlive/base
 LIB_DEPENDS=		devel/gmp
+
+DPB_PROPERTIES=		parallel
 
 USE_GMAKE=		Yes
 
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/math/pari/distinfo,v
diff -u -p -r1.7 distinfo
--- distinfo	25 Feb 2024 17:00:25 -0000	1.7
+++ distinfo	29 May 2025 16:09:38 -0000
@@ -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
Index: patches/patch-config_Makefile_SH
===================================================================
RCS file: /home/cvs/ports/math/pari/patches/patch-config_Makefile_SH,v
diff -u -p -r1.1 patch-config_Makefile_SH
--- patches/patch-config_Makefile_SH	3 Sep 2023 14:19:51 -0000	1.1
+++ patches/patch-config_Makefile_SH	29 May 2025 16:11:06 -0000
@@ -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
Index: patches/patch-config_get_cc
===================================================================
RCS file: /home/cvs/ports/math/pari/patches/patch-config_get_cc,v
diff -u -p -r1.3 patch-config_get_cc
--- patches/patch-config_get_cc	3 Sep 2023 14:19:51 -0000	1.3
+++ patches/patch-config_get_cc	29 May 2025 16:11:06 -0000
@@ -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
Index: patches/patch-doc_gphelp_in
===================================================================
RCS file: /home/cvs/ports/math/pari/patches/patch-doc_gphelp_in,v
diff -u -p -r1.4 patch-doc_gphelp_in
--- patches/patch-doc_gphelp_in	15 Apr 2024 11:38:53 -0000	1.4
+++ patches/patch-doc_gphelp_in	29 May 2025 16:11:06 -0000
@@ -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,;
      }
    }
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/math/pari/pkg/PLIST,v
diff -u -p -r1.5 PLIST
--- pkg/PLIST	3 Sep 2023 14:19:51 -0000	1.5
+++ pkg/PLIST	29 May 2025 16:51:30 -0000
@@ -1,5 +1,5 @@
 bin/gp
-@bin bin/gp-2.15
+@bin bin/gp-2.17
 bin/gphelp
 bin/tex2mail
 include/pari/
@@ -26,7 +26,7 @@ include/pari/paritune.h
 @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


--
wbr, Kirill