Ticket #14555: patch_os_X.diff

File patch_os_X.diff, 1.8 KB (added by manon@…, 17 years ago)
  • patches/diff_2.1.6_no-common

    old new  
    1 --- pari-2.1.6/src/kernel/none/level0.h~        Fri Nov  3 13:00:26 2000
    2 +++ pari-2.1.6/src/kernel/none/level0.h Mon Dec 27 13:44:46 2004
    3 @@ -50,8 +50,9 @@ ENDEXTERN
     1diff -ur pari-2.1.7.old/src/kernel/ix86/level0.h pari-2.1.7/src/kernel/ix86/level0.h
     2--- pari-2.1.7.old/src/kernel/ix86/level0.h     2000-11-03 22:00:25.000000000 +0100
     3+++ pari-2.1.7/src/kernel/ix86/level0.h 2008-03-04 02:56:53.000000000 +0100
     4@@ -21,10 +21,18 @@
     5 #define SAVE_OVERFLOW
     6 #define LOCAL_HIREMAINDER
     7 #define SAVE_HIREMAINDER
     8+#define NEED_OVERFLOW_HIREMAINDER
     9+
     10+#ifdef NEED_OVERFLOW_HIREMAINDER
     11+ulong overflow;
     12+ulong hiremainder;
     13+#endif
     14 
     15 BEGINEXTERN
     16+#ifndef NEED_OVERFLOW_HIREMAINDER
     17 extern  ulong overflow;
     18 extern  ulong hiremainder;
     19+#endif
     20 extern long addll(ulong x, ulong y);
     21 extern long addllx(ulong x, ulong y);
     22 extern long subll(ulong x, ulong y);
     23diff -ur pari-2.1.7.old/src/kernel/none/level0.h pari-2.1.7/src/kernel/none/level0.h
     24--- pari-2.1.7.old/src/kernel/none/level0.h     2000-11-03 22:00:26.000000000 +0100
     25+++ pari-2.1.7/src/kernel/none/level0.h 2008-03-04 02:54:18.000000000 +0100
     26@@ -50,8 +50,9 @@
    427 
    528 #else
    629 
     
    1235 
    1336 INLINE long
    1437 addll(ulong x, ulong y)
    15 --- pari-2.1.6/src/kernel/none/mp.c~    Tue Jan 29 05:46:23 2002
    16 +++ pari-2.1.6/src/kernel/none/mp.c     Mon Dec 27 13:46:30 2004
    17 @@ -22,6 +22,11 @@ Foundation, Inc., 59 Temple Place - Suit
     38diff -ur pari-2.1.7.old/src/kernel/none/mp.c pari-2.1.7/src/kernel/none/mp.c
     39--- pari-2.1.7.old/src/kernel/none/mp.c 2002-01-29 14:46:23.000000000 +0100
     40+++ pari-2.1.7/src/kernel/none/mp.c     2008-03-04 02:54:18.000000000 +0100
     41@@ -22,6 +22,11 @@
    1842 /* version (#ifdef __M68K__) since they are defined in mp.s   */
    1943 #include "pari.h"
    2044