From 9d9caaeb6fe057d9ad31cc48c9030552724ca68a Mon Sep 17 00:00:00 2001 From: Jerry James Date: Jan 25 2017 00:07:35 +0000 Subject: Temporary workaround for https://github.com/polyml/polyml/issues/77. --- diff --git a/polyml.spec b/polyml.spec index 91b84d0..cc5f708 100644 --- a/polyml.spec +++ b/polyml.spec @@ -23,11 +23,7 @@ Patch0: %{name}-fixes.patch BuildRequires: chrpath BuildRequires: gcc-c++ BuildRequires: gmp-devel -%if 0%{?fedora} >= 24 BuildRequires: motif-devel -%else -BuildRequires: lesstif-devel -%endif BuildRequires: libffi-devel BuildRequires: libX11-devel BuildRequires: libXext-devel @@ -61,6 +57,11 @@ Runtime libraries for Poly/ML. %setup -q %patch0 -p1 +%ifarch %{power64} +# Temporary workaround for https://github.com/polyml/polyml/issues/77 +sed -i 's/NOFLSH/(int)NOFLSH/' libpolyml/unix_specific.cpp +%endif + %build # Some hand-coded assembler is included. Because it does not contain an # explicit section marker stating that the stack section does not need the