Bug 271070 - mail/rblcheck: Fix build with -Wdeprecated-non-prototype
Summary: mail/rblcheck: Fix build with -Wdeprecated-non-prototype
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks: 270919
  Show dependency treegraph
 
Reported: 2023-04-25 21:08 UTC by John Baldwin
Modified: 2023-05-01 16:33 UTC (History)
2 users (show)

See Also:
fernape: maintainer-feedback? (moro)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baldwin freebsd_committer freebsd_triage 2023-04-25 21:08:34 UTC
Patch to fix this port to build once this clang 15 warning is re-enabled available at https://reviews.freebsd.org/D39780.  I've also submitted the fix upstream at https://github.com/logic/rblcheck/pull/2
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-04-30 12:07:10 UTC
^Triage: reporter is committer, assign accordingly.

LGTM!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-05-01 16:21:00 UTC
A commit in branch main references this bug:

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

commit 17630bb688424ad9395302e28f01ede759e76509
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-05-01 16:19:07 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-01 16:19:07 +0000

    mail/rblcheck: Use a C89 function declaration for main.

    PR:             271070
    Reviewed by:    fernape
    Differential Revision:  https://reviews.freebsd.org/D39780

 mail/rblcheck/files/patch-rblcheck.c | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)