diff -p -up sage-4.4/sage/rings/integer.pyx.orig sage-4.4/sage/rings/integer.pyx --- sage-4.4/spkg/build/sage-4.4/sage/rings/integer.pyx.orig 2010-04-28 17:58:24.636197277 -0300 +++ sage-4.4/spkg/build/sage-4.4/sage/rings/integer.pyx 2010-04-28 17:58:30.617201499 -0300 @@ -5311,7 +5311,7 @@ cdef extern from "gmp.h": void mp_get_memory_functions (void *(**alloc) (size_t), void *(**realloc)(void *, size_t, size_t), void (**free) (void *, size_t)) # GMP's configuration of how many Bits are stuffed into a limb - cdef int __GMP_BITS_PER_MP_LIMB + cdef int GMP_LIMB_BITS # This variable holds the size of any Integer object in bytes. cdef int sizeof_Integer @@ -5439,7 +5439,7 @@ cdef PyObject* fast_tp_new(RichPyTypeObj # because the rest of the mpz struct was already initialized # fully using the memcpy above. - (<__mpz_struct *>( <char *>new + mpz_t_offset) )._mp_d = <mp_ptr>mpz_alloc(__GMP_BITS_PER_MP_LIMB >> 3) + (<__mpz_struct *>( <char *>new + mpz_t_offset) )._mp_d = <mp_ptr>mpz_alloc(GMP_LIMB_BITS >> 3) # The global_dummy_Integer may have a reference count larger than # one, but it is expected that newly created objects have a