From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAjDP-0006ei-PN for guix-patches@gnu.org; Tue, 16 May 2017 16:37:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAjDK-0007Ow-T9 for guix-patches@gnu.org; Tue, 16 May 2017 16:37:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAjDK-0007Os-PY for guix-patches@gnu.org; Tue, 16 May 2017 16:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAjDK-0001fx-J3 for guix-patches@gnu.org; Tue, 16 May 2017 16:37:02 -0400 Subject: bug#26730: [PATCH 3/3] gnu: bzip2: Patch bzip2 utilities. Resent-Message-ID: From: Christopher Baines Date: Tue, 16 May 2017 21:36:33 +0100 Message-Id: <20170516203633.7819-3-mail@cbaines.net> In-Reply-To: <20170516203633.7819-1-mail@cbaines.net> References: <20170516203633.7819-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26730@debbugs.gnu.org * gnu/packages/compression.scm (bzip2)[arguments]: Add patch-script phase to remove absolute reference to /bin/rm. --- gnu/packages/compression.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 0ce9d88b7..3d2adcda5 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -254,6 +254,12 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in (copy-file file (string-append libdir "/" base)))) (find-files "." "^libbz2\\.so"))) + #t)) + (add-after 'install-shared-lib 'patch-scripts + (lambda* (#:key outputs inputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (substitute* (string-append out "/bin/bzdiff") + (("/bin/rm") "rm"))) #t))) #:make-flags (list (string-append "PREFIX=" -- 2.13.0