[sympol] Add -DBLISS_USE_GMP to CFLAGS to avoid segfaults.

Jerry James jjames at fedoraproject.org
Wed Dec 5 17:30:09 UTC 2012


commit d2db419398464b30e1bf5bdd2058cce869c96f9e
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Wed Dec 5 10:29:50 2012 -0700

    Add -DBLISS_USE_GMP to CFLAGS to avoid segfaults.

 sympol.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sympol.spec b/sympol.spec
index 99df6fe..658f119 100644
--- a/sympol.spec
+++ b/sympol.spec
@@ -3,7 +3,7 @@
 
 Name:           sympol
 Version:        0.1.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Symmetric polyhedra tool
 
 Group:          Applications/Engineering
@@ -56,7 +56,7 @@ cp -p %{SOURCE1} .
 # Do not use the bundled cddlib, lrslib, or permlib
 rm -fr external/{cddlib-094f,lrslib-042c,permlib}
 sed -e "/(external/d" \
-    -e "s|-O3 -g|-I%{_includedir}/cddlib -I%{_includedir}/lrslib|" \
+    -e "s|-O3 -g|-I%{_includedir}/cddlib -I%{_includedir}/lrslib -DBLISS_USE_GMP|" \
     -i CMakeLists.txt
 
 %build
@@ -93,6 +93,9 @@ done
 %{_includedir}/%{name}/
 
 %changelog
+* Wed Dec  5 2012 Jerry James <loganjerry at gmail.com> - 0.1.8-2
+- Add -DBLISS_USE_GMP to CFLAGS to avoid segfaults
+
 * Thu Sep 27 2012 Jerry James <loganjerry at gmail.com> - 0.1.8-1
 - New upstream release
 


More information about the scm-commits mailing list