diff --git a/e-antic-negative-int.patch b/e-antic-negative-int.patch new file mode 100644 index 0000000..27730a9 --- /dev/null +++ b/e-antic-negative-int.patch @@ -0,0 +1,11 @@ +--- a/libeantic/test/renfxx/t-cmp.cpp 2021-06-25 08:06:12.000000000 -0600 ++++ b/libeantic/test/renfxx/t-cmp.cpp 2021-07-16 11:49:56.363242945 -0600 +@@ -94,7 +94,7 @@ TEMPLATE_TEST_CASE("Relational Operators + const auto& K = GENERATE_REF(take(16, renf_classs(state))); + + auto a = GENERATE_REF(take(8, renf_elem_classs(state, K))); +- T b = GENERATE(0, std::numeric_limits::min(), std::numeric_limits::max()); ++ T b = GENERATE(0, 0, std::numeric_limits::max()); + + check_relop(a, b); + } diff --git a/e-antic.spec b/e-antic.spec index c605ac1..36d9195 100644 --- a/e-antic.spec +++ b/e-antic.spec @@ -10,6 +10,9 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz # have already been incorporated into the Fedora versions. Make e-antic skip # attempts to build the patched files. Patch0: %{name}-unpatch.patch +# Work around a comparison bug with negative integers on 32-bit platforms. +# https://github.com/flatsurf/e-antic/issues/194 +Patch1: %{name}-negative-int.patch BuildRequires: antic-devel BuildRequires: arb-devel @@ -124,6 +127,7 @@ LD_LIBRARY_PATH=$PWD/.libs make check * Thu Jul 15 2021 Jerry James - 1.0.1-1 - Version 1.0.1 - Add the python3-pyeantic subpackage +- Add -unpatch and -negative-int patches * Tue Jan 26 2021 Fedora Release Engineering - 0.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild