summary refs log tree commit diff
path: root/gnu/packages/patches/maxima-defsystem-mkdir.patch
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-05-25 22:03:39 -0400
committerMark H Weaver <mhw@netris.org>2015-05-26 10:23:38 -0400
commit77af7b24072c94873a83b4fc53d960b55e4b728a (patch)
treecfa406e55ebcb644c7a744380aa0e4b6af549b9b /gnu/packages/patches/maxima-defsystem-mkdir.patch
parentd4e17f841ccb36e7e13633e0cce404154e049c34 (diff)
downloadguix-77af7b24072c94873a83b4fc53d960b55e4b728a.tar.gz
gnu: maxima: Update to 5.36.1.
* gnu/packages/patches/maxima-defsystem-mkdir.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (maxima): Update to 5.36.1.  Add patch.
Diffstat (limited to 'gnu/packages/patches/maxima-defsystem-mkdir.patch')
-rw-r--r--gnu/packages/patches/maxima-defsystem-mkdir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/maxima-defsystem-mkdir.patch b/gnu/packages/patches/maxima-defsystem-mkdir.patch
new file mode 100644
index 0000000000..bc42e51a32
--- /dev/null
+++ b/gnu/packages/patches/maxima-defsystem-mkdir.patch
@@ -0,0 +1,13 @@
+Change 'ensure-directories-exist' to look for 'mkdir' in $PATH, not in /bin.
+
+--- maxima-5.36.1/lisp-utils/defsystem.lisp.orig	2014-11-22 16:21:30.000000000 -0500
++++ maxima-5.36.1/lisp-utils/defsystem.lisp	2015-05-25 21:53:31.223648483 -0400
+@@ -4627,7 +4627,7 @@
+         (cmd (if (member :win32 *features*)
+                  (format nil "mkdir \"~a\""
+                          (coerce (subst #\\ #\/ (coerce (namestring dir) 'list)) 'string))
+-                 (format nil "/bin/mkdir -p ~S" (namestring dir)))))
++                 (format nil "mkdir -p ~S" (namestring dir)))))
+    (unless (directory dir)
+      (lisp:system cmd))
+    ;; The second return value is supposed to be T if directories were