From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#22831: [PATCH 1/2] gnu: openssl: Remove run-time dependency on Perl. Date: Mon, 29 Feb 2016 19:39:52 -0500 Message-ID: <044df3e52ff32fbedc3cbb0a06667362142dd6de.1456792742.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaYMC-0006Az-Qe for bug-guix@gnu.org; Mon, 29 Feb 2016 19:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaYM8-0008Tc-K6 for bug-guix@gnu.org; Mon, 29 Feb 2016 19:40:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaYM8-0008TU-HJ for bug-guix@gnu.org; Mon, 29 Feb 2016 19:40:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aaYM8-000771-8w for bug-guix@gnu.org; Mon, 29 Feb 2016 19:40:04 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: In-Reply-To: References: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22831@debbugs.gnu.org Fixes . * gnu/packages/patches/openssl-c-rehash.patch: Update patch to also replace the shebang of 'c_rehash.in'. --- gnu/packages/patches/openssl-c-rehash.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/patches/openssl-c-rehash.patch b/gnu/packages/patches/openssl-c-rehash.patch index f873a9a..62cf662 100644 --- a/gnu/packages/patches/openssl-c-rehash.patch +++ b/gnu/packages/patches/openssl-c-rehash.patch @@ -15,3 +15,17 @@ package. # Perl c_rehash script, scan all files in a directory # and add symbolic links to their hash values. + +diff --git a/tools/c_rehash.in b/tools/c_rehash.in +index b086ff9..5908a97 100644 +--- a/tools/c_rehash.in ++++ b/tools/c_rehash.in +@@ -1,4 +1,6 @@ +-#!/usr/local/bin/perl ++eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' ++ & eval 'exec perl -wS "$0" $argv:q' ++ if 0; + + # Perl c_rehash script, scan all files in a directory + # and add symbolic links to their hash values. + -- 2.7.1