Ticket #13898: r-p7.patch

File r-p7.patch, 781 bytes (added by Robert Zeier, 10 years ago)

diff for review only

  • SPKG.txt

    diff --git a/SPKG.txt b/SPKG.txt
    a b  
    4141
    4242== Changelog ==
    4343
     44=== r-2.14.0.p7 (Volker Braun, Robert Zeier, 2 January 2013) ===
     45 * Related to Ticket #13898: workaround for XCode bug
     46
    4447=== r-2.14.0.p6 (Jeroen Demeyer, 10 September 2012) ===
    4548 * #13443: some clean up of spkg-install.
    4649 * Compile R with optimization (at -O2 level).
  • spkg-install

    diff --git a/spkg-install b/spkg-install
    a b  
    1212CPPFLAGS="$CPPFLAGS"
    1313LDFLAGS="$LDFLAGS"
    1414
     15# Workaround for XCode bug (apparently only some versions)
     16# see http://trac.sagemath.org/13898
     17if [ $UNAME = "Darwin" ]; then
     18    CFLAGS="$CFLAGS -DOS_OBJECT_USE_OBJC=0"
     19fi
     20
    1521# Optimization flags
    1622if [ "$SAGE_DEBUG" = yes ]; then
    1723    CFLAGS="-g -O0 $CFLAGS"