all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 1eef0548ca164a453b0f013c48e0cdd36f1f1374 527 bytes (raw)
name: gnu/packages/patches/mono-1.9.1-add-MONO_CREATE_IMAGE_VERSION.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
diff --git a/mono/metadata/reflection.c b/mono/metadata/reflection.c
index ce053b0ef49..7c51f20c4cf 100644
--- a/mono/metadata/reflection.c
+++ b/mono/metadata/reflection.c
@@ -4336,6 +4336,9 @@ create_dynamic_mono_image (MonoDynamicAssembly *assembly, char *assembly_name, c
 
 	const char *version = mono_get_runtime_info ()->runtime_version;
 
+        char *env_ver = getenv("MONO_CREATE_IMAGE_VERSION");
+        if (env_ver) version = env_ver;
+
 #if HAVE_BOEHM_GC
 	image = GC_MALLOC (sizeof (MonoDynamicImage));
 #else

debug log:

solving 1eef0548ca1 ...
found 1eef0548ca1 in https://yhetil.org/guix/c4249b1c34c50dcf9c7a963c9a28261b2a8a53b7.1734369314.git.efraim@flashner.co.il/

applying [1/1] https://yhetil.org/guix/c4249b1c34c50dcf9c7a963c9a28261b2a8a53b7.1734369314.git.efraim@flashner.co.il/
diff --git a/gnu/packages/patches/mono-1.9.1-add-MONO_CREATE_IMAGE_VERSION.patch b/gnu/packages/patches/mono-1.9.1-add-MONO_CREATE_IMAGE_VERSION.patch
new file mode 100644
index 00000000000..1eef0548ca1

1:12: trailing whitespace.
 
1:13: space before tab in indent.
 	const char *version = mono_get_runtime_info ()->runtime_version;
1:14: trailing whitespace.
 
1:19: space before tab in indent.
 	image = GC_MALLOC (sizeof (MonoDynamicImage));
Checking patch gnu/packages/patches/mono-1.9.1-add-MONO_CREATE_IMAGE_VERSION.patch...
Applied patch gnu/packages/patches/mono-1.9.1-add-MONO_CREATE_IMAGE_VERSION.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 1eef0548ca164a453b0f013c48e0cdd36f1f1374	gnu/packages/patches/mono-1.9.1-add-MONO_CREATE_IMAGE_VERSION.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.