package/libpam-tacplus: fix compilation with GCC 8
authorCarlos Santos <casantos@datacom.com.br>
Tue, 11 Dec 2018 11:21:13 +0000 (09:21 -0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 13 Dec 2018 21:11:37 +0000 (22:11 +0100)
commit5d92c696cc80e76946444f812412b25cea4c860d
tree0c169111b8fcb32c41210e9b0588eea3c513b153
parentfbb2f0d7952de1e74da0749431e8ec11eb5db4c2
package/libpam-tacplus: fix compilation with GCC 8

GCC 8 demands that the size of the string copied by strncpy be smaller
than the size of the destination to keep space for the trailibg '\0'.
This causes a compilation error in pam_tacplus, so add a patch already
sent uptream to fix it.

Fixes:
  http://autobuild.buildroot.net/results/da6d150e470046c03c5f7463de045604e15e4a30/

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libpam-tacplus/0002-Fix-compilation-of-tacc.c-with-GCC-8.patch [new file with mode: 0644]