[Buildroot] [PATCH 1/1] package/openvpn: fix pam build with musl and libressl
Peter Korsgaard
peter at korsgaard.com
Thu Jun 9 19:30:34 UTC 2022
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
> Fix the following musl build failure raised with pam and libressl:
> auth-pam.c: In function 'pam_server':
> auth-pam.c:894:23: error: 'PATH_MAX' undeclared (first use in this
> function); did you mean 'AF_MAX'?
> 894 | char ac_file_name[PATH_MAX];
> | ^~~~~~~~
> | AF_MAX
> auth-pam.c:894:23: note: each undeclared identifier is reported only
> once for each function it appears in
> auth-pam.c:894:10: warning: unused variable 'ac_file_name' [-Wunused-variable]
> 894 | char ac_file_name[PATH_MAX];
> | ^~~~~~~~~~~~
> Fixes:
> - http://autobuild.buildroot.org/results/c8834fa5ddcac6fd22fc9406e10221e64cdb8856
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Committed to 2022.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list