Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for FLINT C library #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions recipes/flint
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Package: flint
Version: 3.1.3-p1
Source-URL: https://github.com/flintlib/flint/releases/download/v${ver}/flint-${ver}.tar.gz
Source-SHA256: 96637ba9de43397d06657deefe8e6dee9d226992b5526bb1c9a9d563b983e027
Depends: mpfr (>= 4.1.0), gmp (>= 6.2.1)
Special: in-sources
11 changes: 11 additions & 0 deletions recipes/flint.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -ruN flint-3.1.3-p1/src/double_interval.h flint-3.1.3-p1-patched/src/double_interval.h
--- flint-3.1.3-p1/src/double_interval.h 2024-04-25 17:00:25
+++ flint-3.1.3-p1-patched/src/double_interval.h 2024-08-28 10:47:50
@@ -183,6 +183,7 @@
di_t arb_get_di(const arb_t x);
void arb_set_di(arb_t res, di_t x, slong prec);

+static
DOUBLE_INTERVAL_INLINE
double d_randtest2(flint_rand_t state)
{