From 2b218738662afddbaa2d08342e83a90042b4b3d6 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Oct 21 2016 04:57:12 +0000 Subject: Rebuild for ntl 10.1.0. Also, add -iszero patch to fix breakage with recent glibc versions. --- diff --git a/giac-iszero.patch b/giac-iszero.patch new file mode 100644 index 0000000..85a75fd --- /dev/null +++ b/giac-iszero.patch @@ -0,0 +1,11 @@ +--- src/vecteur.h.orig 2016-05-30 05:53:13.000000000 -0600 ++++ src/vecteur.h 2016-10-20 12:06:16.321062870 -0600 +@@ -27,6 +27,8 @@ + #include + #endif // HAVE_LIBGSL + ++#undef iszero ++ + #ifndef NO_NAMESPACE_GIAC + namespace giac { + #endif // ndef NO_NAMESPACE_GIAC diff --git a/giac-makesrc.sh b/giac-makesrc.sh old mode 100744 new mode 100755 diff --git a/giac.spec b/giac.spec index 5bb501b..eb4b9f2 100644 --- a/giac.spec +++ b/giac.spec @@ -11,7 +11,7 @@ ExcludeArch: aarch64 ppc64 ppc64le s390x Name: giac Summary: Computer Algebra System, Symbolic calculus, Geometry Version: 1.2.2 -Release: 10.%{subversion}%{?dist} +Release: 11.%{subversion}%{?dist} # LGPLv3+: src/Fl_GDI_Printer.cxx, src/Flv_List.cc, src/Flv_Table.cc # BSD: src/tinymt32* License: GPLv3+ @@ -23,6 +23,8 @@ URL: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html Source0: %{name}-%{version}.%{subversion}.tar.gz Source1: %{name}-makesrc.sh Source2: xcas.appdata.xml +# Recent math.h adds an iszero macro, but giac has an iszero function +Patch0: %{name}-iszero.patch BuildRequires: readline-devel BuildRequires: gettext-devel @@ -119,6 +121,7 @@ with Giac computations. %prep %setup -q +%patch0 # Remove local intl (already bundled in fedora) rm -rf intl/*.h @@ -402,6 +405,10 @@ make -C check check %{_datadir}/giac/examples/ %changelog +* Thu Oct 20 2016 Jerry James 1.2.2-11.85 +- Rebuild for ntl 10.1.0 +- Add -iszero patch to fix breakage with recent glibc versions + * Tue Sep 27 2016 Antonio Trande 1.2.2-10.85 - Update to subversion 85