gnu: calibre: Update to 5.14.0.
[jackhill/guix/guix.git] / gnu / packages / patches / openssl-c-rehash-in.patch
CommitLineData
caeadfdd
LC
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
8--- openssl-1.0.2g/tools/c_rehash.in 2015-09-09 18:36:07.313316482 +0200
9+++ openssl-1.0.2g/tools/c_rehash.in 2015-09-09 18:36:28.965458458 +0200
10@@ -1,4 +1,6 @@
11-#!/usr/local/bin/perl
12+eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
13+ & eval 'exec perl -wS "$0" $argv:q'
14+ if 0;
15
16 # Perl c_rehash script, scan all files in a directory
17 # and add symbolic links to their hash values.