patch for sbcl/1.3.11 linux

This commit is contained in:
SANO Masatoshi 2016-11-02 12:53:53 +09:00
parent 57a6265212
commit cd93530212
2 changed files with 10 additions and 8 deletions

View file

@ -103,14 +103,15 @@
(cons (not (get-opt "until-extract")) argv))
(defun sbcl-patch (argv)
#+darwin
(let ((file (merge-pathnames "tmp/sbcl.patch" (homedir)))
(uri (sbcl-patch1-uri)))
(format t "~&Downloading patch: ~A~%" uri)
(download uri file)
(ros.util:chdir (get-opt "src"))
(format t "~%Applying patch:~%")
(uiop/run-program:run-program "patch -p0 -N" :output t :input file :ignore-error-status t))
(let ((file (merge-pathnames "tmp/sbcl.patch" (homedir))))
(dolist (uri (list
#+darwin (sbcl-patch1-uri)
#+linux (sbcl-patch2-uri)))
(format t "~&Downloading patch: ~A~%" uri)
(download uri file)
(ros.util:chdir (get-opt "src"))
(format t "~%Applying patch:~%")
(uiop/run-program:run-program "patch -p0 -N" :output t :input file :ignore-error-status t)))
(cons t argv))
(defun sbcl-config (argv)

View file

@ -32,6 +32,7 @@
(defuri msys2-uri "http://kent.dl.sourceforge.net/project/")
(defuri sbcl-patch1-uri "https://gist.githubusercontent.com/snmsts/e8e4fd4bd5e458ac45e8/raw/bb7f1cd2e8e9a914f4e9b1b5acf889ecf75dfe0c/posix-tests.patch")
(defuri sbcl-patch2-uri "https://gist.githubusercontent.com/snmsts/14ca6f57b1730a4c30312e394eb7e914/raw/c55b6176f92038c7573d6d9e4e222861b84158ee/sbcl-1.3.11.patch")
(defuri clisp-patch1-uri "https://raw.githubusercontent.com/Homebrew/homebrew/2fb8cb1a2279f80dc89900b3ebaca9e5afc90494/Library/Formula/clisp.rb")
(defuri asdf-git-version-uri "https://github.com/roswell/asdf/releases.atom")