#7827: Fix atlas-3.8.3.p9 compilation on FreeBSD
---------------------------------------------+------------------------------
   Reporter:  pjeremy                        |       Owner:  pjeremy            
                    
       Type:  defect                         |      Status:  needs_review       
                    
   Priority:  major                          |   Milestone:  sage-4.3.2         
                    
  Component:  freebsd                        |    Keywords:                     
                    
     Author:  Peter Jeremy                   |    Upstream:  Completely fixed; 
Fix reported upstream
   Reviewer:  David Kirkby, Minh Van Nguyen  |      Merged:                     
                    
Work_issues:                                 |  
---------------------------------------------+------------------------------
Changes (by mvngu):

  * status:  needs_work => needs_review
  * reviewer:  David Kirkby => David Kirkby, Minh Van Nguyen


Comment:

 An updated spkg is available at

 
http://sage.math.washington.edu/home/mvngu/spkg/standard/atlas/atlas-3.8.3.p11.spkg

 I committed the patch
 [http://trac.sagemath.org/sage_trac/attachment/ticket/7827/7827.atlas.patch
 7827.atlas.patch] in pjeremy's name. The patched version of
 `SpewMakeInc.c` is available under `patches/`. I also patched the
 installation script `spkg-install-script` to copy pjeremy's patched
 `patches/SpewMakeInc.c` over to `src/CONFIG/src/SpewMakeInc.c`. The
 relevant modification is:
 {{{
 diff -r cffdd7ee34e2 spkg-install-script
 --- a/spkg-install-script
 +++ b/spkg-install-script
 @@ -120,6 +120,10 @@

  CUR=`pwd`
  echo $CUR
 +if [ `uname` = "FreeBSD" ]; then
 +    echo Patching SpewMakeInc.c for FreeBSD-specific build
 +    cp patches/SpewMakeInc.c src/CONFIG/src/SpewMakeInc.c
 +fi
  # add PPC4 7447 CPU and better Itanium2 detection:
  echo Deal with PPC4 7447 model and Itanium 2
  cp patches/archinfo_linux.c src/CONFIG/src/backend/archinfo_linux.c
 }}}
 The updated spkg needs another pair of eyes (anyone's, other than mine) to
 comb through it. If my change to `spkg-install-script` gets the green
 light, then the updated spkg can be merged.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7827#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to