add symbols-nerd fonts
[oi-userland.git] / components / library / openssl / openssl-1.1 / patches / 002-man_page_suffix.patch
blobafc2cf621e47a9bb0076e8046951cf7f0bfebb0a
2 # Necessary to deliver man pages to man{1,3,5,7}openssl sub-directories.
4 # upstream: https://github.com/openssl/openssl/pull/9554
6 --- old/util/process_docs.pl.orig 2019-08-07 14:31:29.204394234 +0200
7 +++ new/util/process_docs.pl 2019-08-07 14:42:39.442369387 +0200
8 @@ -100,7 +100,7 @@
9 my $generate = { man => "pod2man --name=$name --section=$podinfo{section} --center=OpenSSL --release=$config{version} \"$podpath\"",
10 html => "pod2html \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=man1:man3:man5:man7 \"--infile=$podpath\" \"--title=$podname\" --quiet"
11 } -> {$options{type}};
12 - my $output_dir = catdir($options{destdir}, "man$podinfo{section}");
13 + my $output_dir = catdir($options{destdir}, "man$podinfo{section}" . (defined($options{suffix}) and $options{type} eq 'man' ? $options{suffix} : ""));
14 my $output_file = $podname . $suffix;
15 my $output_path = catfile($output_dir, $output_file);