[No1.Linux2018/64bit] pam-config-0.88-1

by zharyong posted May 14, 2018
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

가 크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form
RPM Filename pam-config-0.88-1no1linux.2018.x86_64.rpm
SRPM pam-config-0.88-1no1linux.2018.src.rpm

pam-config 0.88 by opensuse


Compile Error :


1. depcomp -> mv depcomp depcomp.old before %build and then replace depcomp.old  to depcomp before %make at spec

2. mod_pam_nam.c: In function ‘write_config_nam’:
mod_pam_nam.c:45:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
       fprintf (fp, "auth\trequired\tpam_nam.so\tuse_first_pass\n");
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_pam_nam.c:46:5: note: here
     case PASSWORD:
     ^~~~
cc1: all warnings being treated as errors


=> fixed mod_pam_nam.c by adding break; statement at 43 lines.

=> Use mod_pam_nam.c.patch patched by No1.Linux