gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / openssl-1.1-c-rehash-in.patch
CommitLineData
763899f0
LF
1This patch removes the explicit reference to the 'perl' binary,
2such that OpenSSL does not retain a reference to Perl.
3
4The 'c_rehash' program is seldom used, but it is used nonetheless
5to create symbolic links to certificates, for instance in the 'nss-certs'
6package.
7
8diff --git a/tools/c_rehash.in b/tools/c_rehash.in
9e9e5d5a 9index 421fd89208..93aca4e168 100644
763899f0
LF
10--- a/tools/c_rehash.in
11+++ b/tools/c_rehash.in
12@@ -1,4 +1,6 @@
9e9e5d5a 13-#!{- $config{HASHBANGPERL} -}
763899f0
LF
14+eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
15+ & eval 'exec perl -wS "$0" $argv:q'
16+ if 0;
17
18 # {- join("\n# ", @autowarntext) -}
9e9e5d5a 19 # Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.