unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob f7ae99a34f1f6ef3751309c6f7e4c7f825f38952 649 bytes (raw)
name: gnu/packages/patches/mono-mdoc-timestamping.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
--- mono-4.4.1/external/api-doc-tools/monodoc/Monodoc/storage/ZipStorage.cs.orig	2018-11-26 22:16:25.008879747 +0100
+++ mono-4.4.1/external/api-doc-tools/monodoc/Monodoc/storage/ZipStorage.cs	2018-11-26 22:21:53.969770985 +0100
@@ -74,6 +74,12 @@
 				id = GetNewCode ();
 
 			ZipEntry entry = new ZipEntry (id);
+			var SOURCE_DATE_EPOCH_string = Environment.GetEnvironmentVariable("SOURCE_DATE_EPOCH");
+			if (SOURCE_DATE_EPOCH_string != null)
+			{
+				var SOURCE_DATE_EPOCH = Convert.ToInt64(SOURCE_DATE_EPOCH_string);
+				entry.DateTime = new DateTime(SOURCE_DATE_EPOCH, DateTimeKind.Utc);
+			}
 			zipOutput.PutNextEntry (entry);
 		}
 

debug log:

solving f7ae99a34f ...
found f7ae99a34f in https://yhetil.org/guix-patches/20200220162336.18848-1-mail@ambrevar.xyz/
found d5191a93eb in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 d5191a93eb1af1096c1e272ee75f71eb1a5c7193	gnu/packages/patches/mono-mdoc-timestamping.patch

applying [1/1] https://yhetil.org/guix-patches/20200220162336.18848-1-mail@ambrevar.xyz/
diff --git a/gnu/packages/patches/mono-mdoc-timestamping.patch b/gnu/packages/patches/mono-mdoc-timestamping.patch
index d5191a93eb..f7ae99a34f 100644

Checking patch gnu/packages/patches/mono-mdoc-timestamping.patch...
Applied patch gnu/packages/patches/mono-mdoc-timestamping.patch cleanly.

index at:
100644 f7ae99a34f1f6ef3751309c6f7e4c7f825f38952	gnu/packages/patches/mono-mdoc-timestamping.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).