Re: git: f3caf742108b - main - x11/mate-screensaver: Fix PAM build

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Thu, 30 Dec 2021 02:08:57 UTC
Hi.
Wondered whih commit to comment but decided to latest.
mate-screensaver no longer opens login panel after upgrading from
1.26.0 to 1.26.1.

Created Bug 260811 [1].

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260811


> The branch main has been updated by cy:
> 
> URL:
https://cgit.FreeBSD.org/ports/commit/?id=f3caf742108bb552724d4c4dae74b28ea266a6a3
> 
> commit f3caf742108bb552724d4c4dae74b28ea266a6a3
> Author:     Cy Schubert <cy_at_FreeBSD.org>
> AuthorDate: 2021-12-29 03:12:39 +0000
> Commit:     Cy Schubert <cy_at_FreeBSD.org>
> CommitDate: 2021-12-29 03:12:39 +0000
> 
>     x11/mate-screensaver: Fix PAM build
>     
>     Fix build when PAM enabled; <security/_pam_macros.h> is a Linuxism.
> ---
>  x11/mate-screensaver/files/patch-helper_pam-helper.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/x11/mate-screensaver/files/patch-helper_pam-helper.c
b/x11/mate-screensaver/files/patch-helper_pam-helper.c
> new file mode 100644
> index 000000000000..605141fb0e54
> --- /dev/null
> +++ b/x11/mate-screensaver/files/patch-helper_pam-helper.c
> _at__at_ -0,0 +1,10 _at__at_
> +--- helper/pam-helper.c.orig	2021-11-15 14:28:47.000000000 -0800
> ++++ helper/pam-helper.c	2021-12-28 19:09:39.501645000 -0800
> +_at__at_ -33,7 +33,6 _at__at_
> +  */
> + 
> + #include <security/pam_appl.h>
> +-#include <security/_pam_macros.h>
> + 
> + #include <sys/types.h>
> + #include <stdarg.h>

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>