[gcl] Add temporary fix for FTBFS with gmp 6.

Jerry James jjames at fedoraproject.org
Mon May 19 19:27:08 UTC 2014


commit b58c489a8c2434abe346ff24c8ef72797d826da5
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Mon May 19 13:27:04 2014 -0600

    Add temporary fix for FTBFS with gmp 6.

 gcl.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gcl.spec b/gcl.spec
index 3f959d5..e5b5713 100644
--- a/gcl.spec
+++ b/gcl.spec
@@ -7,7 +7,7 @@
 
 Name:           gcl
 Version:        2.6.10
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        GNU Common Lisp
 
 Group:          Development/Languages
@@ -204,6 +204,10 @@ chmod a+x add-defs add-defs1 config.guess config.sub configure install.sh
 chmod a+x bin/info bin/info1 gcl-tk/gcltksrv.in gcl-tk/ngcltksrv mp/gcclab
 chmod a+x o/egrep-def utils/replace xbin/*
 
+# Temporary hack: adapt to gmp 6 (already fixed upstream)
+sed -i 's/\(#if __GNU_MP_VERSION \)== 4 || __GNU_MP_VERSION == 5/\1>= 4/' \
+    configure
+
 
 %build
 %configure --enable-readline --enable-ansi --enable-dynsysgmp --enable-xgcl \
@@ -344,6 +348,9 @@ fi
 
 
 %changelog
+* Mon May 19 2014 Jerry James <loganjerry at gmail.com> - 2.6.10-3
+- Add temporary fix for FTBFS with gmp 6
+
 * Wed Feb  5 2014 Jerry James <loganjerry at gmail.com> - 2.6.10-2
 - Add -tcl8 patch to prepare for TCL 8.6
 


More information about the scm-commits mailing list