From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dA97y-00083Y-Oq for guix-patches@gnu.org; Mon, 15 May 2017 02:05:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dA97u-0005Dn-Om for guix-patches@gnu.org; Mon, 15 May 2017 02:05:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42707) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dA97u-0005Di-Lz for guix-patches@gnu.org; Mon, 15 May 2017 02:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dA97u-0002FJ-7Z for guix-patches@gnu.org; Mon, 15 May 2017 02:05:02 -0400 Subject: bug#26730: [PATCH] gnu: bzip2: Patch bzip2 utilities. References: In-Reply-To: Resent-Message-ID: From: Christopher Baines Date: Mon, 15 May 2017 07:04:22 +0100 Message-Id: <20170515060422.1512-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)[inputs]: Add grep, less, diffutils, sed and coreutils. [arguments]: Add patch-script phase. --- gnu/packages/compression.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 7d3a62e2f..829fd5053 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -252,7 +252,12 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in base libdir) (copy-file file (string-append libdir "/" base)))) - (find-files "." "^libbz2\\.so")))))) + (find-files "." "^libbz2\\.so"))))) + (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")))))) #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) -- 2.13.0