From 39bc605fcb5730cbdae7c00ac415416b302c6a43 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Wed, 19 Jul 2023 12:28:11 +0200 Subject: [PATCH] net-im/libsignal-node: Fix build with rust 1.71.0 Do not abort if documentation is missing as we don't need it. error: missing documentation for an extern crate --> curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd/src/lib.rs:265:1 265 | pub extern crate digest; | ^^^^^^^^^^^^^^^^^^^^^^^ PR: 272449 --- .../files/patch-curve25519-dalek_src_lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs diff --git a/net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs b/net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs new file mode 100644 index 000000000000..4a24c626e9eb --- /dev/null +++ b/net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs @@ -0,0 +1,11 @@ +--- ../curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd/src/lib.rs.orig 2023-07-12 11:09:23 UTC ++++ ../curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd/src/lib.rs +@@ -15,7 +15,7 @@ + #![cfg_attr(feature = "simd_backend", feature(stdsimd))] + + // Refuse to compile if documentation is missing. +-#![deny(missing_docs)] ++//#![deny(missing_docs)] + + #![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")] + #![doc(html_root_url = "https://docs.rs/curve25519-dalek/3.2.1")]