[Bug 277763] x11/xfce4-screensaver: with PAM-option off build fails due to missing crypt.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 Mar 2024 23:06:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277763

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit be487aebb9446495178c06f525a2e77987ae4352
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-03-17 23:02:05 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-03-17 23:05:18 +0000

    x11/xfce4-screensaver: Fix build when PAM option is off

    When PAM option is off a different file is compiled, which, since
    version 4.18.3, tries to include crypt.h. Such file is not present in
    FreeBSD. The relevant definitions are in unistd.h.

    Fix by adding ifdef to skip such problematic include.

    Reported upstream:
https://gitlab.xfce.org/apps/xfce4-screensaver/-/merge_requests/29

    PR:             277763

 .../files/patch-src_gs-auth-pwent.c (new)             | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.