gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / openssl-1.1-c-rehash-in.patch
1 This patch removes the explicit reference to the 'perl' binary,
2 such that OpenSSL does not retain a reference to Perl.
3
4 The 'c_rehash' program is seldom used, but it is used nonetheless
5 to create symbolic links to certificates, for instance in the 'nss-certs'
6 package.
7
8 diff --git a/tools/c_rehash.in b/tools/c_rehash.in
9 index 421fd89208..93aca4e168 100644
10 --- a/tools/c_rehash.in
11 +++ b/tools/c_rehash.in
12 @@ -1,4 +1,6 @@
13 -#!{- $config{HASHBANGPERL} -}
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) -}
19 # Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.