diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /sci-mathematics/flint/files/flint-2.5.2-memory_message.patch | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'sci-mathematics/flint/files/flint-2.5.2-memory_message.patch')
-rw-r--r-- | sci-mathematics/flint/files/flint-2.5.2-memory_message.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-mathematics/flint/files/flint-2.5.2-memory_message.patch b/sci-mathematics/flint/files/flint-2.5.2-memory_message.patch new file mode 100644 index 000000000000..65638aa7790b --- /dev/null +++ b/sci-mathematics/flint/files/flint-2.5.2-memory_message.patch @@ -0,0 +1,16 @@ +This fixes a Python 3 doctest failure in +rings/polynomial/polynomial_integer_dense_flint.pyx: see #28334. +See https://github.com/wbhart/flint2/pull/585 for upstream PR + +diff --git a/memory_manager.c b/memory_manager.c +index 04abf8a..bece9f5 100644 +--- a/memory_manager.c ++++ b/memory_manager.c +@@ -41,6 +41,7 @@ pthread_mutex_t register_lock; + static void flint_memory_error() + { + flint_printf("Exception (FLINT memory_manager). Unable to allocate memory.\n"); ++ fflush(stdout); + abort(); + } + |