unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob acf7b718b8022a69a5ae072303dfffc01ca2966a 422 bytes (raw)
name: gnu/packages/patches/inferno-fix-crash.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
diff --git a/emu/Linux/os.c b/emu/Linux/os.c
index 08b039d6..0d8a0cf3 100644
--- a/emu/Linux/os.c
+++ b/emu/Linux/os.c
@@ -18,6 +18,9 @@
 
 #include	<raise.h>
 
+/* For dynamic linking init/fini code that needs malloc */
+void (*coherence)(void) = nofence;
+
 /* glibc 2.3.3-NTPL messes up getpid() by trying to cache the result, so we'll do it ourselves */
 #include	<sys/syscall.h>
 #define	getpid()	syscall(SYS_getpid)

debug log:

solving acf7b718b8 ...
found acf7b718b8 in https://yhetil.org/guix-patches/20241208002411.20796-1-gay@disroot.org/ ||
	https://yhetil.org/guix-patches/20241208235833.13520-1-gay@disroot.org/

applying [1/1] https://yhetil.org/guix-patches/20241208002411.20796-1-gay@disroot.org/
diff --git a/gnu/packages/patches/inferno-fix-crash.patch b/gnu/packages/patches/inferno-fix-crash.patch
new file mode 100644
index 0000000000..acf7b718b8

1:12: trailing whitespace.
 
1:14: trailing whitespace.
 
Checking patch gnu/packages/patches/inferno-fix-crash.patch...
Applied patch gnu/packages/patches/inferno-fix-crash.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix-patches/20241208235833.13520-1-gay@disroot.org/ for acf7b718b8
index at:
100644 acf7b718b8022a69a5ae072303dfffc01ca2966a	gnu/packages/patches/inferno-fix-crash.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).