From 16188dce2cda8b612164106c3a262b3f38037be6 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Tue, 14 Oct 2025 21:14:08 +0200 Subject: net-im/libsignal: Update to 0.84.0 Pass maintainership to Jaap Aarts PR: 290179 --- .../files/patch-boring_boring-sys_main.rs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 net-im/libsignal/files/patch-boring_boring-sys_main.rs (limited to 'net-im/libsignal/files/patch-boring_boring-sys_main.rs') diff --git a/net-im/libsignal/files/patch-boring_boring-sys_main.rs b/net-im/libsignal/files/patch-boring_boring-sys_main.rs new file mode 100644 index 000000000000..3c231e7555b3 --- /dev/null +++ b/net-im/libsignal/files/patch-boring_boring-sys_main.rs @@ -0,0 +1,34 @@ +--- ../boring-signal-v4.18.0/boring-sys/build/main.rs.orig 2024-04-27 16:40:34 UTC ++++ ../boring-signal-v4.18.0/boring-sys/build/main.rs +@@ -478,9 +478,9 @@ fn ensure_patches_applied(config: &Config) -> io::Resu + lock_file.lock()?; + + // NOTE: init git in the copied files, so we can apply patches +- if !has_git { +- run_command(Command::new("git").arg("init").current_dir(src_path))?; +- } ++// if !has_git { ++// run_command(Command::new("git").arg("init").current_dir(src_path))?; ++// } + + if config.features.pq_experimental { + println!("cargo:warning=applying experimental post quantum crypto patch to boringssl"); +@@ -520,8 +520,8 @@ fn apply_patch(config: &Config, patch_name: &str) -> i + } + + run_command( +- Command::new("git") +- .args(&args) ++ Command::new("patch") ++ .args(["-p 1"]) + .arg(cmd_path) + .current_dir(src_path), + )?; +@@ -650,6 +650,7 @@ fn get_cpp_runtime_lib(config: &Config) -> Option Some("c++".into()), ++ "freebsd" => Some("c++".into()), + _ => Some("stdc++".into()), + } + } else { -- cgit v1.2.3