Ticket #8645: maxima-5.20.1.p1.patch

File maxima-5.20.1.p1.patch, 2.2 KB (added by nbruin, 12 years ago)

patch for maxima-5.20.1.p1.spkg

  • SPKG.txt

    # HG changeset patch
    # User Nils Bruin <nbruin@sfu.ca>
    # Date 1271309485 25200
    # Node ID 03ddaff9993a2bc0027e627c864eb6a69608bd4e
    # Parent  1e760f99708b74b0cd395c7575c8a470b3118a21
    patch to let 5.20.1 build under ecl 10.4.1 and build maxima.fas
    
    diff -r 1e760f99708b -r 03ddaff9993a SPKG.txt
    a b  
    3232
    3333== Changelog ==
    3434
     35=== maxima-5.20.1.p1 (Nils Bruin, April 14, 2010) ===
     36 * Applied Juanjo's patches to make 5.20.1 compile under ecl 10.4.1.
     37   (patches should be included in upstream 5.21)
     38   files affected:
     39      src/lisp-utils/defsystem.lisp
     40      src/src/ecl-port.lisp
     41 * Rewrote section to build maxima.fas (ecl library) for new ASDF
     42   (see Ticket #8645)
     43
    3544=== maxima-5.20.1 (Karl-Dieter Crisman, 21st December 2009) ===
    3645 * Upgrade to the latest upstream release
    3746 * Removed patches - the solver is now in Maxima, and topoly.lisp is no longer used
     
    105114       ./spkg-dist
    106115 
    107116  However, this caused problems with calling automake because
    108   of the changed .in files.
    109  No newline at end of file
     117  of the changed .in files.
  • spkg-install

    diff -r 1e760f99708b -r 03ddaff9993a spkg-install
    a b  
    88
    99CUR=`pwd`
    1010
    11 # patch() {}
    12 # no current patches against Maxima
    13 # patch
     11patch() {
     12    cp patches/defsystem.lisp src/lisp-utils/defsystem.lisp
     13    cp patches/ecl-port.lisp src/src/ecl-port.lisp
     14}
     15patch
    1416
    1517cd src/
    1618
     
    6062
    6163cd src
    6264echo "building Maxima as an ecl library"
    63 ecl -eval "(require 'asdf)" -eval '(load "maxima-build.lisp")' -eval  '(asdf:make-build :maxima :type :fasl)' -eval "(quit)"
     65mkdir ./lisp-cache
     66ecl \
     67    -eval '(require `asdf)' \
     68    -eval '(setf asdf::*user-cache* (truename "./lisp-cache"))' \
     69    -eval '(load "maxima-build.lisp")' \
     70    -eval '(asdf:make-build :maxima :type :fasl :move-here ".")' \
     71    -eval '(quit)'
     72
    6473ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
    6574echo
    6675echo "installing Maxima library as $ECLLIB/maxima.fas"
    6776cp maxima.fasb $ECLLIB/maxima.fas
     77check_error "Failed to install maxima.fasb as a library"
    6878cd ..
    6979