guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: shepherd: Remove obsolete patch.


From: guix-commits
Subject: branch core-updates updated: gnu: shepherd: Remove obsolete patch.
Date: Thu, 23 Apr 2020 09:35:03 -0400

This is an automated email from the git hooks/post-receive script.

mbakke pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 62c3fd3  gnu: shepherd: Remove obsolete patch.
62c3fd3 is described below

commit 62c3fd34e498327f1eeae6283b0c54ae56b7282b
Author: Marius Bakke <address@hidden>
AuthorDate: Thu Apr 23 15:34:46 2020 +0200

    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.
---
 gnu/local.mk                             |  1 -
 gnu/packages/admin.scm                   |  1 -
 gnu/packages/patches/shepherd-hurd.patch | 44 --------------------------------
 3 files changed, 46 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 535c23d..63a9c83 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1463,7 +1463,6 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/seq24-rename-mutex.patch                        \
   %D%/packages/patches/sharutils-CVE-2018-1000097.patch                \
   %D%/packages/patches/shadow-hurd-pctrl.patch                 \
-  %D%/packages/patches/shepherd-hurd.patch                     \
   %D%/packages/patches/shishi-fix-libgcrypt-detection.patch    \
   %D%/packages/patches/slim-session.patch                      \
   %D%/packages/patches/slim-config.patch                       \
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 567c7cf..a9240db 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -206,7 +206,6 @@ and provides a \"top-like\" mode (monitoring).")
               (method url-fetch)
               (uri (string-append "mirror://gnu/shepherd/shepherd-"
                                   version ".tar.gz"))
-              (patches (search-patches "shepherd-hurd.patch"))
               (sha256
                (base32
                 "02lbc8z5gd8v8wfi4yh1zww8mk03w0zcwnmk4l4p3vpjlvlb63ll"))))
diff --git a/gnu/packages/patches/shepherd-hurd.patch 
b/gnu/packages/patches/shepherd-hurd.patch
deleted file mode 100644
index 5043e83..0000000
--- 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 <address@hidden>
-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 <address@hidden>
----
- 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 <address@hidden>
- ;; Copyright (C) 2018 Carlo Zancanaro <address@hidden>
-+;; Copyright (C) 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
- ;;
- ;; 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
-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]