mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: omake: Update to 0.10.5.
* gnu/packages/ocaml.scm (omake): Update to 0.10.5. * gnu/packages/patches/omake-fix-non-determinism.patch: Adjust for new version.
This commit is contained in:
parent
773837bfd2
commit
3cd53fc08f
2 changed files with 10 additions and 9 deletions
|
@ -3197,14 +3197,14 @@ (define-public ocamlify
|
|||
(define-public omake
|
||||
(package
|
||||
(name "omake")
|
||||
(version "0.10.3")
|
||||
(version "0.10.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://download.camlcity.org/download/"
|
||||
"omake-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"07bdg1h5i7qnlv9xq81ad5hfypl10hxm771h4rjyl5cn8plhfcgz"))
|
||||
"1i7pcv53kqplrbdx9mllrhbv4j57zf87xwq18r16cvn1lbc6mqal"))
|
||||
(patches (search-patches "omake-fix-non-determinism.patch"))))
|
||||
(build-system ocaml-build-system)
|
||||
(arguments
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
From 2e7e254160506dc00f1beabf170512a8e932934b Mon Sep 17 00:00:00 2001
|
||||
From 9f70bca2d823b93b334ecb0f92e940d20aafc1c6 Mon Sep 17 00:00:00 2001
|
||||
From: Julien Lepiller <julien@lepiller.eu>
|
||||
Date: Sat, 31 Dec 2016 15:43:38 +0100
|
||||
Date: Sat, 18 Jun 2022 12:02:49 +0200
|
||||
Subject: [PATCH] fix build date in binary
|
||||
|
||||
---
|
||||
|
@ -8,19 +8,19 @@ Subject: [PATCH] fix build date in binary
|
|||
1 file changed, 2 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/src/magic/omake_gen_magic.ml b/src/magic/omake_gen_magic.ml
|
||||
index b2419ba..fad52f5 100644
|
||||
index c2b9329..3d36c0c 100644
|
||||
--- a/src/magic/omake_gen_magic.ml
|
||||
+++ b/src/magic/omake_gen_magic.ml
|
||||
@@ -150,7 +150,7 @@ let ir_magic = "%s"
|
||||
let obj_magic = "%s"
|
||||
let lib_dir = "%s"
|
||||
let version = "%s"
|
||||
-let version_message = "OMake %s:\\n\\tbuild [%s %s %d %02d:%02d:%02d %d]\\n\\ton %s"
|
||||
-let version_message = "OMake %s:\n build [%s %s %d %02d:%02d:%02d %d]\n on %s"
|
||||
+let version_message = "OMake %s"
|
||||
|}
|
||||
default_save_interval
|
||||
digest_len
|
||||
@@ -160,15 +160,7 @@ let version_message = "OMake %s:\\n\\tbuild [%s %s %d %02d:%02d:%02d %d]\\n\\ton
|
||||
@@ -160,15 +160,7 @@ let version_message = "OMake %s:\n build [%s %s %d %02d:%02d:%02d %d]\n on
|
||||
(digest_files ".omo.magic" ".omo" omo_files)
|
||||
(String.escaped libdir)
|
||||
(String.escaped (shorten_version version))
|
||||
|
@ -37,5 +37,6 @@ index b2419ba..fad52f5 100644
|
|||
List.iter
|
||||
(fun (name,value) ->
|
||||
Printf.fprintf buf "let %s = %S\n" name value
|
||||
--
|
||||
2.11.0
|
||||
--
|
||||
2.36.1
|
||||
|
||||
|
|
Loading…
Reference in a new issue