Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] flintlib: update to 2.8.1.
@ 2021-10-02 20:48 tornaria
  2021-10-03  4:53 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2021-10-02 20:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages flintlib
https://github.com/void-linux/void-packages/pull/33274

flintlib: update to 2.8.1.
Also: build without ntl when cross-compiling, since ntl is nocross.

A patch file from https://github.com/void-linux/void-packages/pull/33274.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flintlib-33274.patch --]
[-- Type: text/x-diff, Size: 1536 bytes --]

From db454ecf364852c8cd0e18ad0106776584ab619b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 2 Oct 2021 17:43:11 -0300
Subject: [PATCH] flintlib: update to 2.8.1.

Also: build without ntl when cross-compiling, since ntl is nocross.
---
 srcpkgs/flintlib/template | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/flintlib/template b/srcpkgs/flintlib/template
index 078ed5316427..831602166916 100644
--- a/srcpkgs/flintlib/template
+++ b/srcpkgs/flintlib/template
@@ -1,17 +1,24 @@
 # Template file for 'flintlib'
 pkgname=flintlib
-version=2.8.0
+version=2.8.1
 revision=1
 wrksrc="flint-${version}"
 build_style=configure
-configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr"
-makedepends="mpfr-devel ntl-devel"
+configure_args="--prefix=/usr --with-gmp=/usr --with-mpfr=/usr $(vopt_if ntl --with-ntl=/usr)"
+makedepends="mpfr-devel $(vopt_if ntl ntl-devel)"
 short_desc="Fast Library for Number Theory"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="LGPL-2.1-or-later"
 homepage="https://flintlib.org"
 distfiles="https://flintlib.org/flint-${version}.tar.gz"
-checksum=584235cdc39d779d9920eaef16fe084f3c26ffeeea003a3fff64a20a0f33449e
+checksum=edfdda7a7cb847db4e55e050349259cbc9778589686007fb45602d36ecfb427e
+
+build_options="ntl"
+desc_option_ntl="enable NTL support"
+
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+=" ntl"
+fi
 
 CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: flintlib: update to 2.8.1.
  2021-10-02 20:48 [PR PATCH] flintlib: update to 2.8.1 tornaria
@ 2021-10-03  4:53 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-10-03  4:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

There's a merged pull request on the void-packages repository

flintlib: update to 2.8.1.
https://github.com/void-linux/void-packages/pull/33274

Description:
Also: build without ntl when cross-compiling, since ntl is nocross.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-03  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-02 20:48 [PR PATCH] flintlib: update to 2.8.1 tornaria
2021-10-03  4:53 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).