Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [update]math/flintlib: update to 3.3.1
To:
wen heping <wenheping2000@hotmail.com>
Cc:
"jrick@openbsd.org" <jrick@openbsd.org>, "ports@openbsd.org" <ports@openbsd.org>
Date:
Mon, 28 Jul 2025 10:54:17 +0100

Download raw body.

Thread
On 2025/07/28 07:04, wen heping wrote:
> Hi,
> 
>    Here is a patch for math/flintlib to update to 3.3.1.
>    It build well and pass all tests on my amd64-current system.
> 
> 
> Cheers !
> wen

> Index: math/flintlib/Makefile
> ===================================================================
> RCS file: /cvs/ports/math/flintlib/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- math/flintlib/Makefile	5 Apr 2024 22:05:31 -0000	1.3
> +++ math/flintlib/Makefile	28 Jul 2025 07:02:10 -0000
> @@ -2,10 +2,10 @@ COMMENT =		fast library for number theor
>  
>  DPB_PROPERTIES =	parallel
>  
> -V =			3.1.2
> +V =			3.3.1

not fetchable, you need to update SITES as well

>  PKGNAME =		flintlib-${V}
>  DISTNAME =		flint-${V}
> -SHARED_LIBS =		flint		1.0	# 19.0.0
> +SHARED_LIBS =		flint		2.0	# 21.0.0
>  CATEGORIES =		math
>  
>  HOMEPAGE =		https://flintlib.org/
> Index: math/flintlib/distinfo
> ===================================================================
> RCS file: /cvs/ports/math/flintlib/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- math/flintlib/distinfo	5 Apr 2024 22:05:31 -0000	1.2
> +++ math/flintlib/distinfo	28 Jul 2025 07:02:10 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (flint-3.1.2.tar.gz) = /bOkMaN0ZINKz/O9wUX0/o0PlR3VMnxMb5P0y6xcJwA=
> -SIZE (flint-3.1.2.tar.gz) = 8098136
> +SHA256 (flint-3.3.1.tar.gz) = ZNcOUTB2z6lx4EELWMHaXTURKRPppWtE4saBtFnT6vs=
> +SIZE (flint-3.3.1.tar.gz) = 8400253
> Index: math/flintlib/patches/patch-Makefile_in
> ===================================================================
> RCS file: math/flintlib/patches/patch-Makefile_in
> diff -N math/flintlib/patches/patch-Makefile_in
> --- math/flintlib/patches/patch-Makefile_in	5 Apr 2024 22:05:31 -0000	1.2
> +++ /dev/null	1 Jan 1970 00:00:00 -0000
> @@ -1,186 +0,0 @@

this patch should stay, we want to see compiler command lines in build
log

>  include/flint/ulong_extras.h
>  @comment @so lib/libflint.so
>  @lib lib/libflint.so.${LIBflint_VERSION}
>  @comment lib/libflint.so.19
> +lib/libflint.so.21

libflint.so.21 shouldn't be installed