Ticket #13755: linbox-1.3.2.p0.diff

File linbox-1.3.2.p0.diff, 1.6 KB (added by jpflori, 7 years ago)

spkg diff, for review only

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    4949
    5050== Changelog ==
    5151
     52=== linbox-1.3.2.p0 (Jean-Pierre Flori, 25 November 2012) ===
     53 * Trac #13755: let LinBox build with MPIR >= 2.5.0.
     54
    5255=== linbox-1.3.2 (Martin Albrecht, Volker Braun, 15 August 2012) ===
    5356 * Trac: 12883: New upstream release
    5457 * split off fflas/ffpack SPKG
  • new file patches/gmp.h.patch

    diff --git a/patches/gmp.h.patch b/patches/gmp.h.patch
    new file mode 100644
    - +  
     1diff -ur src.orig/interfaces/sage/linbox-sage.C src/interfaces/sage/linbox-sage.C
     2--- src.orig/interfaces/sage/linbox-sage.C      2012-08-24 11:43:55.000000000 +0200
     3+++ src/interfaces/sage/linbox-sage.C   2012-11-25 15:56:49.646931145 +0100
     4@@ -25,14 +25,11 @@
     5  */
     6 
     7 #include <iostream>
     8-#include <gmp.h>
     9 
     10 #include <cstdlib>
     11 #include <vector>
     12 #include <list>
     13 
     14-#include "linbox-sage.h"
     15-
     16 #include "linbox/util/commentator.h"
     17 
     18 #include "linbox/blackbox/sparse.h"
     19@@ -60,6 +57,10 @@
     20 #include "linbox/ring/givaro-polynomial.h"
     21 #include "linbox/field/modular.h"
     22 
     23+#include <gmp.h>
     24+
     25+#include "linbox-sage.h"
     26+
     27 using namespace LinBox;
     28 
     29 /*************************************************************************
     30diff -ur src.orig/interfaces/sage/linbox-sage.h src/interfaces/sage/linbox-sage.h
     31--- src.orig/interfaces/sage/linbox-sage.h      2012-08-24 11:43:55.000000000 +0200
     32+++ src/interfaces/sage/linbox-sage.h   2012-11-25 15:56:18.263226724 +0100
     33@@ -25,9 +25,9 @@
     34  */
     35 
     36 #ifndef __LINBOX_sage_H
     37-#define __LINBOX_sagE_H
     38+#define __LINBOX_sage_H
     39 
     40-#include<stddef.h>
     41+#include <stddef.h>
     42 
     43 #include <cstdlib>
     44 #include <vector>