aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/netdde-build-fix.patch
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-05-25 07:25:26 +0200
committerJosselin Poiret <dev@jpoiret.xyz>2023-07-13 18:59:22 +0200
commit37256c02a2b2b54378b19a31765e1e42aa3ff514 (patch)
tree8b6837ccf7c3d244ce3e6c3dfb197c02fbcfc5f0 /gnu/packages/patches/netdde-build-fix.patch
parentbbfb41ed9dff845e12ebd597026729f637903ac4 (diff)
downloadguix-37256c02a2b2b54378b19a31765e1e42aa3ff514.tar.gz
guix-37256c02a2b2b54378b19a31765e1e42aa3ff514.zip
gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1.
* gnu/packages/patches/netdde-build-fix.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/hurd.scm (netdde)[source]: Update to e67c284ac113d939b10b4578334f27dab29d5b08 and use it. [inputs]: Add zlib:static. [arguments]: Remove #true from build phases. In 'build' phase, remove obsolete CFLAGS, and also build static version. In 'install' phase, install them in <out>/hurd. There is no check target, so set #:tests? to #false. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
Diffstat (limited to 'gnu/packages/patches/netdde-build-fix.patch')
-rw-r--r--gnu/packages/patches/netdde-build-fix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/patches/netdde-build-fix.patch b/gnu/packages/patches/netdde-build-fix.patch
new file mode 100644
index 0000000000..f7f0fc35a9
--- /dev/null
+++ b/gnu/packages/patches/netdde-build-fix.patch
@@ -0,0 +1,28 @@
+Upstream status: Presented upstream.
+
+ https://lists.gnu.org/archive/html/bug-hurd/2023-05//msg00449.html
+
+From b0a7e4f2706bea8d1c80d5af7a095941f9635033 Mon Sep 17 00:00:00 2001
+From: Janneke Nieuwenhuizen <janneke@gnu.org>
+Date: Fri, 26 May 2023 17:39:17 +0200
+Subject: [PATCH] Update for .../rumpdisk: Fix race condition in bootstrap
+
+---
+ machdev.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/machdev.c b/machdev.c
+index dda5eb8ba..1a6811072 100644
+--- a/machdev.c
++++ b/machdev.c
+@@ -18,5 +18,6 @@ void machdev_run1 (void *arg)
+
+ void machdev_run2(void)
+ {
+- machdev_trivfs_server(bootstrap);
++ machdev_trivfs_server_startup(bootstrap);
++ machdev_trivfs_server_loop(NULL);
+ }
+--
+2.40.1
+