unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob b9cde87f2144d854cc51ab7f6dd1cbce599b3a59 436 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
15
16
 
Fixes crash.

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 b9cde87f21 ...
found b9cde87f21 in https://yhetil.org/guix-patches/20241225212804.26266-1-gay@disroot.org/

applying [1/1] https://yhetil.org/guix-patches/20241225212804.26266-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..b9cde87f21

1:14: trailing whitespace.
 
1:16: 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.

index at:
100644 b9cde87f2144d854cc51ab7f6dd1cbce599b3a59	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).