Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 16:45:31 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a2d8ee605975 - main - textproc/ripgrep: Fix build with rust 1.71.0
Message-ID:  <202307191645.36JGjVhr049953@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrm:

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

commit a2d8ee60597516c1116dedf0ab721db0e9e67ea5
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-07-19 16:16:07 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-07-19 16:44:40 +0000

    textproc/ripgrep: Fix build with rust 1.71.0
    
    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
---
 textproc/ripgrep/files/patch-crates_grep_src_lib.rs | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/textproc/ripgrep/files/patch-crates_grep_src_lib.rs b/textproc/ripgrep/files/patch-crates_grep_src_lib.rs
new file mode 100644
index 000000000000..b7e972ec3a57
--- /dev/null
+++ b/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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307191645.36JGjVhr049953>