Subject: bug#64458: closed (Re: bug#64458: [PATCH] gnu: reptyr: Update to 0.10.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 17 Jul 2023 22:33:02 +0000

Your bug report

#64458: [PATCH] gnu: reptyr: Update to 0.10.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64458: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64458
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#64458: [PATCH] gnu: reptyr: Update to 0.10.0.
From: Ludovic Courtès <[email-masked]>
To: Zheng Junjie <[email-masked]>
Cc: [email-masked]
Date: Tue, 18 Jul 2023 00:31:52 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Zheng Junjie <[email-masked]> skribis:

> * gnu/packages/screen.scm (reptyr): Update to 0.10.0.
> [arguments]: use new style, fix cross-compilation.

Applied, thanks!

Subject: [PATCH] gnu: reptyr: Update to 0.10.0.
From: Zheng Junjie <[email-masked]>
To: [email-masked]
Date: Tue, 4 Jul 2023 18:52:18 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/screen.scm (reptyr): Update to 0.10.0.
[arguments]: use new style, fix cross-compilation.
---
 gnu/packages/screen.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm
index 21150394db..8f2aa51c53 100644
--- a/gnu/packages/screen.scm
+++ b/gnu/packages/screen.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2016 Alex Griffin <[email-masked]>
 ;;; Copyright © 2017 Mathieu Othacehe <[email-masked]>
 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2023 Zheng Junjie <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,7 +27,9 @@ (define-module (gnu packages screen)
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
+  #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
@@ -153,7 +156,7 @@ (define-public byobu
 (define-public reptyr
   (package
     (name "reptyr")
-    (version "0.7.0")
+    (version "0.10.0")
     (source
      (origin
        (method git-fetch)
@@ -162,18 +165,18 @@ (define-public reptyr
              (commit (string-append "reptyr-" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj"))))
+        (base32 "03k95bf7b46g89j0hgfvra9d512z0ha7vw9358h9j67h9b5bylwf"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:tests? #f                      ; no tests
-       #:make-flags
-       (list "CC=gcc"
-             (string-append "PREFIX=" (assoc-ref %outputs "out"))
-             (string-append "BASHCOMPDIR=" (assoc-ref %outputs "out")
-                            "/etc/bash_completion.d"))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))))         ; no configure script
+     (list #:tests? #f                      ; no tests
+           #:make-flags
+           #~(list (string-append "CC=" #$(cc-for-target))
+                   (string-append "PREFIX=" #$output)
+                   (string-append "BASHCOMPDIR=" #$output
+                                  "/etc/bash_completion.d"))
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure))))         ; no configure script
     (home-page "https://github.com/nelhage/reptyr")
     (synopsis "Tool for reparenting a running program to a new terminal")
     (description

base-commit: cf7e0267adfc3cb83e477c2aebb61060c3c0cfd6
-- 
2.40.1