diff options
Diffstat (limited to 'sci-mathematics/Macaulay2/files/1.4-pari-2.5-compat.patch')
-rw-r--r-- | sci-mathematics/Macaulay2/files/1.4-pari-2.5-compat.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sci-mathematics/Macaulay2/files/1.4-pari-2.5-compat.patch b/sci-mathematics/Macaulay2/files/1.4-pari-2.5-compat.patch deleted file mode 100644 index 5b254a8eb447..000000000000 --- a/sci-mathematics/Macaulay2/files/1.4-pari-2.5-compat.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: Macaulay2/d/pari-c.c -=================================================================== ---- Macaulay2/d/pari-c.c (revision 13515) -+++ Macaulay2/d/pari-c.c (revision 13519) -@@ -154,9 +154,11 @@ - */ - - #define pari_examine(x) do { fputs(" " #x ": ", stdout); voir(x,-1); } while (0) --#define pari_display(x) do { fputs(" " #x ": ", stdout); outbeaut(x); } while (0) -+#define pari_display(x) do { fputs(" " #x ": ", stdout); output(x); } while (0) - #define abs(x) ((x)<0?-(x):(x)) - -+#define max(a,b) ((a)>(b)?(a):(b)) -+ - static void gmp_examine0(mpz_t z) { - int i, n = max(z->_mp_alloc,abs(z->_mp_size)); - printf("alloc %d size %d %s {",z->_mp_alloc,z->_mp_size,z->_mp_size < 0 ? "-" : "+"); |