aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-10-29 23:42:27 -0700
committerGravatar Tom Willemse2022-10-29 23:45:11 -0700
commit679d9a127a32aa1590767ec16ce75cefc7f671dd (patch)
tree607dda1086631d62678b980c6311039e8e82b4ec
parentf0786dd5615186b2823e27b9cdbe34fbfe35f0b3 (diff)
downloadguix-packages-679d9a127a32aa1590767ec16ce75cefc7f671dd.tar.gz
guix-packages-679d9a127a32aa1590767ec16ce75cefc7f671dd.zip
Add patch file to fix guix-gaming-channels
This patch file should be discoverable through the load path. I'm committing this here temporarily to see if updating my package repository helps to fix my problems with ‘guix package -u’ (can't find patch file).
-rw-r--r--mono-mdoc-timestamping.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mono-mdoc-timestamping.patch b/mono-mdoc-timestamping.patch
new file mode 100644
index 0000000..d5191a9
--- /dev/null
+++ b/mono-mdoc-timestamping.patch
@@ -0,0 +1,15 @@
+--- mono-4.4.1/mcs/class/monodoc/Monodoc/storage/ZipStorage.cs.orig 2018-11-26 22:16:25.008879747 +0100
++++ mono-4.4.1/mcs/class/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);
+ }
+