From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] flintlib: patch to fix test
Date: Wed, 15 Feb 2023 16:11:49 +0100 [thread overview]
Message-ID: <20230215151149.sFivPzLFzbAcKZE81qY3VTUyfb6ir641xkNZn1AHGWI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42271@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 319 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages flint
https://github.com/void-linux/void-packages/pull/42271
flintlib: patch to fix test
@tornaria
A patch file from https://github.com/void-linux/void-packages/pull/42271.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flint-42271.patch --]
[-- Type: text/x-diff, Size: 1427 bytes --]
From 1da544a6f83a084e9079fcfddc9f5139b79f403e Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Tue, 14 Feb 2023 18:19:36 -0500
Subject: [PATCH] flintlib: patch to fix test
---
.../patches/fix-test-t-sdiv_qrnnd.patch | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
diff --git a/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch b/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
new file mode 100644
index 000000000000..cfa109792892
--- /dev/null
+++ b/srcpkgs/flintlib/patches/fix-test-t-sdiv_qrnnd.patch
@@ -0,0 +1,23 @@
+From fb8ddbcc06afa2a8f25637032fbb8211f6c6c122 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Albin=20Ahlb=C3=A4ck?= <albin.ahlback@gmail.com>
+Date: Fri, 20 May 2022 14:16:38 +0200
+Subject: [PATCH] Fix bug in test code for GCC 12
+
+---
+ test/t-sdiv_qrnnd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/t-sdiv_qrnnd.c b/test/t-sdiv_qrnnd.c
+index 2e9822e848..2676903826 100644
+--- a/test/t-sdiv_qrnnd.c
++++ b/test/t-sdiv_qrnnd.c
+@@ -33,7 +33,7 @@ int main(void)
+ {
+ d = n_randtest_not_zero(state);
+ nh = n_randtest(state);
+- } while ((FLINT_ABS(nh) >= FLINT_ABS(d)/2) || (nh == WORD_MIN));
++ } while ((nh == WORD_MIN) || (FLINT_ABS(nh) >= FLINT_ABS(d)/2));
+
+ nl = n_randtest(state);
+
+
next prev parent reply other threads:[~2023-02-15 15:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-14 23:21 [PR PATCH] " dkwo
2023-02-15 14:47 ` tornaria
2023-02-15 15:11 ` dkwo [this message]
2023-02-15 15:12 ` dkwo
2023-02-15 19:29 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230215151149.sFivPzLFzbAcKZE81qY3VTUyfb6ir641xkNZn1AHGWI@z \
--to=dkwo@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).