all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <marius@gnu.org>
To: 57533@debbugs.gnu.org
Subject: [bug#57533] [PATCH core-updates 2/5] syscalls: Adjust for glibc 2.34 and later.
Date: Fri,  2 Sep 2022 00:29:54 +0200	[thread overview]
Message-ID: <20220901222957.15383-2-marius@gnu.org> (raw)
In-Reply-To: <20220901222957.15383-1-marius@gnu.org>

* guix/build/syscalls.scm (openpty, login-tty): Remove #:library argument, as
these functions have been moved to libc.so.
---
 guix/build/syscalls.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index eda487f52e..7c88ccdd5a 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -2319,8 +2319,7 @@ (define* (terminal-rows #:optional (port (current-output-port)))
   (terminal-dimension window-size-rows port (const 25)))
 
 (define openpty
-  (let ((proc (syscall->procedure int "openpty" '(* * * * *)
-                                  #:library "libutil")))
+  (let ((proc (syscall->procedure int "openpty" '(* * * * *))))
     (lambda ()
       "Return two file descriptors: one for the pseudo-terminal control side,
 and one for the controlled side."
@@ -2341,8 +2340,7 @@ (define openpty
           (values (* head) (* inferior)))))))
 
 (define login-tty
-  (let* ((proc (syscall->procedure int "login_tty" (list int)
-                                   #:library "libutil")))
+  (let* ((proc (syscall->procedure int "login_tty" (list int))))
     (lambda (fd)
       "Make FD the controlling terminal of the current process (with the
 TIOCSCTTY ioctl), redirect standard input, standard output and standard error
-- 
2.37.2





  reply	other threads:[~2022-09-01 22:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 22:24 [bug#57533] [PATCH core-updates 0/5] glibc 2.35 and GCC 11 Marius Bakke
2022-09-01 22:29 ` [bug#57533] [PATCH core-updates 1/5] gnu: glibc: Update to 2.35 Marius Bakke
2022-09-01 22:29   ` Marius Bakke [this message]
2022-09-01 22:29   ` [bug#57533] [PATCH core-updates 3/5] gnu: Switch to GCC 11 Marius Bakke
2022-09-01 22:29   ` [bug#57533] [PATCH core-updates 4/5] gnu: glm: Fix build with " Marius Bakke
2022-09-01 22:29   ` [bug#57533] [PATCH core-updates 5/5] gnu: clang-runtime: Remove obsolete workaround Marius Bakke
2022-09-08 19:48 ` bug#57533: [PATCH core-updates 0/5] glibc 2.35 and GCC 11 Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220901222957.15383-2-marius@gnu.org \
    --to=marius@gnu.org \
    --cc=57533@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.