diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2023-07-19 10:28:11 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2023-07-19 10:28:11 +0000 |
commit | 39bc605fcb5730cbdae7c00ac415416b302c6a43 (patch) | |
tree | 21adaa64d806bdd8fa9e175363133d5935e5cb27 /net-im/libsignal-node | |
parent | 3cb39b7d6d36636f1bb7f2c85a1620d19453770e (diff) | |
download | ports-39bc605fcb5730cbdae7c00ac415416b302c6a43.tar.gz ports-39bc605fcb5730cbdae7c00ac415416b302c6a43.zip |
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
Diffstat (limited to 'net-im/libsignal-node')
-rw-r--r-- | net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs | 11 |
1 files changed, 11 insertions, 0 deletions
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")] |