Skip to content

Commit

Permalink
textproc/ripgrep: Fix build with rust 1.71.0
Browse files Browse the repository at this point in the history
Summary:
Do not abort if documentation is missing.

error: missing documentation for an extern crate
  --> crates/grep/src/lib.rs:17:1
   |
17 | pub extern crate grep_cli as cli;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |

PR:		272602
Reviewed by:	mikael
Approved by:	portmgr (build fix blanket)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41095
  • Loading branch information
Jehops committed Jul 19, 2023
1 parent 84af41e commit a2d8ee6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions textproc/ripgrep/files/patch-crates_grep_src_lib.rs
@@ -0,0 +1,11 @@
--- crates/grep/src/lib.rs.orig 2023-07-19 16:11:20 UTC
+++ crates/grep/src/lib.rs
@@ -12,7 +12,7 @@ A cookbook and a guide are planned.
A cookbook and a guide are planned.
*/

-#![deny(missing_docs)]
+//#![deny(missing_docs)]

pub extern crate grep_cli as cli;
pub extern crate grep_matcher as matcher;

0 comments on commit a2d8ee6

Please sign in to comment.