GCC 15 defaults to C23, where an empty parameter list in a function
declaration means "(void)" instead of "unspecified arguments". The
tac_plus sources use K&R-style declarations throughout, which now
fail to compile:
tac_pwd.c:140:26: error: conflicting types for 'crypt'; have 'char *(void)'
Similar errors occur in authen.c, choose_authen.c, sendauth.c and
sendpass.c.
Build with -std=gnu17 until the sources are converted to proper
prototypes.
Signed-off-by: Christian Korber <ckorber@tdt.de>
tac_plus and tac_plus-pam both install /usr/sbin/tac_plus, but nothing
marks them as conflicting, so they can be selected and installed
together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Signed-off-by: Bruno Pena <brunompena@gmail.com>
tac_plus: Updated to the latest commit from upstream. Updated URL to reference Facebook's GitHub repository. Tweaked Makefile to include the date on the source package filename.
Signed-off-by: Bruno Pena <brunompena@gmail.com>