summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-23 15:34:46 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-23 15:34:46 +0200
commit62c3fd34e498327f1eeae6283b0c54ae56b7282b (patch)
tree8e2778c2b8218b223913524cfe0a3b5f8b3f29e1 /gnu/packages/patches
parent030f6f489fe9544f35ebaf95135acd1dd67ce63f (diff)
gnu: shepherd: Remove obsolete patch.
* gnu/packages/patches/shepherd-hurd.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/admin.scm (shepherd)[source](patches): Remove.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/shepherd-hurd.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/gnu/packages/patches/shepherd-hurd.patch b/gnu/packages/patches/shepherd-hurd.patch
deleted file mode 100644
index 5043e831f2..0000000000
--- a/gnu/packages/patches/shepherd-hurd.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Fixes compilation on the Hurd.
-
-Taken from upstream: http://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=232331369fe2a0495c7c777e11eecabee6257b3f
-
-From 232331369fe2a0495c7c777e11eecabee6257b3f Mon Sep 17 00:00:00 2001
-From: Jan Nieuwenhuizen <janneke@gnu.org>
-Date: Sat, 7 Mar 2020 22:01:23 +0100
-Subject: [PATCH] system: Support compilation on the Hurd.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* modules/shepherd/system.scm.in (prctl): Wrap 'dynamic-func' call in
-'false-if-exception'.
-
-Co-authored-by: Ludovic Courtès <ludo@gnu.org>
----
- modules/shepherd/system.scm.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/modules/shepherd/system.scm.in b/modules/shepherd/system.scm.in
-index 769404a..0b2cc9d 100644
---- a/modules/shepherd/system.scm.in
-+++ b/modules/shepherd/system.scm.in
-@@ -1,6 +1,7 @@
- ;; system.scm -- Low-level operating system interface.
- ;; Copyright (C) 2013, 2014, 2016, 2018 Ludovic Courtès <ludo@gnu.org>
- ;; Copyright (C) 2018 Carlo Zancanaro <carlo@zancanaro.id.au>
-+;; Copyright (C) 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
- ;;
- ;; This file is part of the GNU Shepherd.
- ;;
-@@ -145,7 +146,7 @@ ctrlaltdel(8) and see kernel/reboot.c in Linux."
- (define PR_SET_CHILD_SUBREAPER @PR_SET_CHILD_SUBREAPER@)
-
- (define prctl
-- (if (dynamic-func "prctl" (dynamic-link))
-+ (if (false-if-exception (dynamic-func "prctl" (dynamic-link)))
- (let ((proc (syscall->procedure long "prctl" (list int int))))
- (lambda (process operation)
- "Perform an operation on the given process"
---
-2.24.0
-