alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

libressl.patch (3411B)


      1 diff --git a/vendor/openssl-sys-0.9.104/build/main.rs b/vendor/openssl-sys-0.9.104/build/main.rs
      2 index f379e1e6..0429f12a 100644
      3 --- a/vendor/openssl-sys-0.9.104/build/main.rs
      4 +++ b/vendor/openssl-sys-0.9.104/build/main.rs
      5 @@ -103,6 +103,7 @@ fn main() {
      6      println!("cargo:rustc-check-cfg=cfg(libressl382)");
      7      println!("cargo:rustc-check-cfg=cfg(libressl390)");
      8      println!("cargo:rustc-check-cfg=cfg(libressl400)");
      9 +    println!("cargo:rustc-check-cfg=cfg(libressl410)");
     10  
     11      println!("cargo:rustc-check-cfg=cfg(ossl101)");
     12      println!("cargo:rustc-check-cfg=cfg(ossl102)");
     13 @@ -382,6 +383,8 @@ See rust-openssl documentation for more information:
     14              (3, 9, _) => ('3', '9', 'x'),
     15              (4, 0, 0) => ('4', '0', '0'),
     16              (4, 0, _) => ('4', '0', 'x'),
     17 +            (4, 1, 0) => ('4', '1', '0'),
     18 +            (4, 1, _) => ('4', '1', 'x'),
     19              _ => version_error(),
     20          };
     21  
     22 @@ -424,7 +427,7 @@ fn version_error() -> ! {
     23          "
     24  
     25  This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5
     26 -through 4.0.x, but a different version of OpenSSL was found. The build is now aborting
     27 +through 4.1.x, but a different version of OpenSSL was found. The build is now aborting
     28  due to this version mismatch.
     29  
     30  "
     31 diff --git a/vendor/openssl-sys-0.9.107/build/main.rs b/vendor/openssl-sys-0.9.107/build/main.rs
     32 index c4ac240e..4007a265 100644
     33 --- a/vendor/openssl-sys-0.9.107/build/main.rs
     34 +++ b/vendor/openssl-sys-0.9.107/build/main.rs
     35 @@ -449,6 +449,8 @@ See rust-openssl documentation for more information:
     36              (3, 9, _) => ('3', '9', 'x'),
     37              (4, 0, 0) => ('4', '0', '0'),
     38              (4, 0, _) => ('4', '0', 'x'),
     39 +            (4, 1, 0) => ('4', '1', '0'),
     40 +            (4, 1, _) => ('4', '1', 'x'),
     41              _ => version_error(),
     42          };
     43  
     44 @@ -491,7 +493,7 @@ fn version_error() -> ! {
     45          "
     46  
     47  This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5
     48 -through 4.0.x, but a different version of OpenSSL was found. The build is now aborting
     49 +through 4.1.x, but a different version of OpenSSL was found. The build is now aborting
     50  due to this version mismatch.
     51  
     52  "
     53 diff --git a/vendor/openssl-sys-0.9.92/build/main.rs b/vendor/openssl-sys-0.9.92/build/main.rs
     54 index 21ccf3d0..2b06ee0f 100644
     55 --- a/vendor/openssl-sys-0.9.92/build/main.rs
     56 +++ b/vendor/openssl-sys-0.9.92/build/main.rs
     57 @@ -273,6 +273,14 @@ See rust-openssl documentation for more information:
     58              (3, 7, 1) => ('3', '7', '1'),
     59              (3, 7, _) => ('3', '7', 'x'),
     60              (3, 8, 0) => ('3', '8', '0'),
     61 +            (3, 8, 1) => ('3', '8', '1'),
     62 +            (3, 8, _) => ('3', '8', 'x'),
     63 +            (3, 9, 0) => ('3', '9', '0'),
     64 +            (3, 9, _) => ('3', '9', 'x'),
     65 +            (4, 0, 0) => ('4', '0', '0'),
     66 +            (4, 0, _) => ('4', '0', 'x'),
     67 +            (4, 1, 0) => ('4', '1', '0'),
     68 +            (4, 1, _) => ('4', '1', 'x'),
     69              _ => version_error(),
     70          };
     71  
     72 @@ -315,7 +323,7 @@ fn version_error() -> ! {
     73          "
     74  
     75  This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5
     76 -through 3.8.0, but a different version of OpenSSL was found. The build is now aborting
     77 +through 4.1.x, but a different version of OpenSSL was found. The build is now aborting
     78  due to this version mismatch.
     79  
     80  "