Ticket #13898: python-p4.patch

File python-p4.patch, 873 bytes (added by Robert Zeier, 10 years ago)

diff for review only

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    6767
    6868== Changelog ==
    6969
     70=== python-2.7.3.p4 (Volker Braun, Robert Zeier, 2 January 2013) ===
     71 * Related to Ticket #13898: workaround for XCode bug
     72
    7073=== python-2.7.3.p3 (Jean-Pierre Flori, Karl-Dieter Crisman, 4 December 2012) ===
    7174 * Trac #13319: let Python build on Cygwin.
    7275 * Includes fixes from Python issues #9665, #14437, #14438.
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    5353    export CC="$CC -m64"
    5454fi
    5555
     56# Workaround for XCode bug (apparently only some versions)
     57# see http://trac.sagemath.org/13898
     58if [ $UNAME = "Darwin" ]; then
     59    CFLAGS="$CFLAGS -DOS_OBJECT_USE_OBJC=0"
     60fi
     61
    5662# Add -fwrapv flag if supported by the compiler.
    5763# This is needed to support clang (#12430).
    5864export CFLAGS="$CFLAGS `testcflags.sh -fwrapv`"