Macaulay2/linbox-1.6.3.patch
Jerry James 1690102d4b Version 1.16.
- Drop upstreamed patch: -xdg_open.
- Add -ulimit patch for the slower builders.
- Add -format and -rightarrow patches.
- Bundle packages due to garbage collector crashes: linbox, memtailor, mathic.
- Drop the XEmacs subpackage; XEmacs support no longer works.
2020-08-31 21:19:59 -06:00

35 lines
1.3 KiB
Diff

--- linbox-1.6.3/configure.ac.orig 2019-06-07 07:22:08.000000000 -0600
+++ linbox-1.6.3/configure.ac 2020-06-05 12:24:32.920910975 -0600
@@ -65,9 +65,8 @@ AC_PROG_CXX
AC_COMPILER_NAME
-STDFLAG=${CXXFLAGS}
+STDFLAG=""
-CXXFLAGS=""
# We need a C++11 compiler now - AB 2014-12-12
# clang-3.8 does not support __float128 without explicitly passing it -std=c++11
@@ -187,10 +186,6 @@ echo "----------------------------------
echo " START LINBOX CONFIG "
echo "-----------------------------------------------"
-# Checks which SIMD optimization flags to use and set SIMD_CFLAGS accordingly
-INSTR_SET
-AC_SUBST(SIMD_FLAGS)
-
dnl gcc-4.9.2 bug See https://trac.sagemath.org/ticket/17635#comment:178
AS_IF([ test "x$CCNAM" = "xgcc492" ],[CXXFLAGS="${CXXFLAGS} -fpermissive"],[])
--- linbox-1.6.3/linbox/algorithms/gauss/gauss-solve-gf2.inl.orig 2019-06-07 07:22:08.000000000 -0600
+++ linbox-1.6.3/linbox/algorithms/gauss/gauss-solve-gf2.inl 2020-02-01 16:19:20.692143829 -0700
@@ -72,7 +72,7 @@ namespace LinBox
Vector1 w(F2, A.coldim());
- for(typename Vector1::iterator it=w.begin()+(ptrdiff_t)Rank;it!=w.end();++it)
+ for(typename Vector1::iterator it=w.begin()+(long)Rank;it!=w.end();++it)
F2.assign(*it,F2.zero);
return this->solve(x, w, Rank, Q, L, A, P, b);