diff options
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl/0001-Configure-add-2-missing-key-sorts.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl/0001-Configure-add-2-missing-key-sorts.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/0001-Configure-add-2-missing-key-sorts.patch b/meta/recipes-connectivity/openssl/openssl/0001-Configure-add-2-missing-key-sorts.patch new file mode 100644 index 0000000000..e2a65d0998 --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl/0001-Configure-add-2-missing-key-sorts.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From 679ae2f72ef8cf37609cb0eff5de3b98aa85e395 Mon Sep 17 00:00:00 2001 | ||
2 | From: Steve Sakoman <steve@sakoman.com> | ||
3 | Date: Thu, 20 Jul 2023 04:14:42 -1000 | ||
4 | Subject: [PATCH] Configure: add 2 missing key sorts in generation of unified_info | ||
5 | |||
6 | Otherwise generation of this section in configdata.pm is not reproducible | ||
7 | |||
8 | Signed-off-by: Steve Sakoman <steve@sakoman.com> | ||
9 | Upstream-Status: Backport [adapted from 3.x commit https://github.com/openssl/openssl/commit/764cf5b26306a8712e8b3d41599c44dc5ed07a25] | ||
10 | --- | ||
11 | Configure | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/Configure b/Configure | ||
15 | index 2a01746..8fc5a2c 100755 | ||
16 | --- a/Configure | ||
17 | +++ b/Configure | ||
18 | @@ -2326,7 +2326,7 @@ EOF | ||
19 | "dso" => [ @{$unified_info{engines}} ], | ||
20 | "bin" => [ @{$unified_info{programs}} ], | ||
21 | "script" => [ @{$unified_info{scripts}} ] ); | ||
22 | - foreach my $type (keys %loopinfo) { | ||
23 | + foreach my $type (sort keys %loopinfo) { | ||
24 | foreach my $product (@{$loopinfo{$type}}) { | ||
25 | my %dirs = (); | ||
26 | my $pd = dirname($product); | ||
27 | @@ -2347,7 +2347,7 @@ EOF | ||
28 | push @{$unified_info{dirinfo}->{$d}->{deps}}, $_ | ||
29 | if $d ne $pd; | ||
30 | } | ||
31 | - foreach (keys %dirs) { | ||
32 | + foreach (sort keys %dirs) { | ||
33 | push @{$unified_info{dirinfo}->{$_}->{products}->{$type}}, | ||
34 | $product; | ||
35 | } | ||
36 | -- | ||
37 | 2.34.1 | ||
38 | |||