Ticket #13898: python-2.7.3.p7.diff

File python-2.7.3.p7.diff, 899 bytes (added by Robert Zeier, 10 years ago)

diff for review

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    7070
    7171== Changelog ==
    7272
     73=== python-2.7.3.p7 (Volker Braun, Robert Zeier, 23 April 2013) ===
     74 * Related to Ticket #13898: workaround for XCode bug
     75
    7376=== python-2.7.3.p6 (Jeroen Demeyer, 24 March 2013) ===
    7477 * Trac #14265: Compile with -D__C99FEATURES__ on Solaris.
    7578 * Remove workaround for http://bugs.python.org/issue6954
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    5252    export CC="$CC -m64"
    5353fi
    5454
     55# Workaround for XCode bug (apparently only some versions)
     56# see http://trac.sagemath.org/13898
     57if [ $UNAME = "Darwin" ]; then
     58    export CFLAGS="$CFLAGS -DOS_OBJECT_USE_OBJC=0"
     59fi
     60
    5561# Enable some C99 features on Solaris. This in particular enables the
    5662# isinf() and isfinite() functions. It works both for C and C++ code
    5763# (which is not true for -std=c99).