git: 39bc605fcb57 - main - net-im/libsignal-node: Fix build with rust 1.71.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 10:28:35 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39bc605fcb5730cbdae7c00ac415416b302c6a43

commit 39bc605fcb5730cbdae7c00ac415416b302c6a43
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-07-19 10:28:11 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-07-19 10:28:11 +0000

    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
---
 net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs | 11 +++++++++++
 1 file changed, 11 insertions(+)

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")]