From 22f00e397816bf77be927047e22b035e93530ddc Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Thu, 15 Sep 2016 12:04:56 +0000
Subject: [PATCH] MKCL: Increase granularity of reported version

Rather than "1.1.10" for the current HEAD, which is 155 commits head
of 1.1.9 and will probably eventually be called 1.1.10, the output
will now be "1.1.9.155-fc50d00"; the same git-described-inspired
format that is used by SBCL.

The function mkcl:git-describe-this-mkcl is only available in very
recent versions of MKCL; in particular, not in vanilla 1.1.9
---
 uiop/os.lisp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/uiop/os.lisp b/uiop/os.lisp
index 9d9313895..fb6549614 100644
--- a/uiop/os.lisp
+++ b/uiop/os.lisp
@@ -229,6 +229,7 @@ then returning the non-empty string value of the variable"
         (multiple-value-bind (major minor) (sct:get-system-version "System")
           (format nil "~D.~D" major minor))
         #+mcl (subseq s 8) ; strip the leading "Version "
+        #+mkcl (or (mkcl:git-describe-this-mkcl) s)
         s))))
 
   (defun implementation-identifier ()
-- 
GitLab