LibPrelude does not build with glibc 2.16
|Assignee:||Yoann VANDOORSELAERE||% Done:|
|Target version:||PRELUDE SIEM - Prelude OSS 1.2.5|
I have discovered build failure reason - libprelude does not build correctly with glibc 2.16
This is caused by fact, that gets has been declared as a security hole(fgets should be used instead), see http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2012-July/066729.html.
File : libmissing/stdio.in.h
Line : 119
gets is no longer used but Prelude. Maybe update this libmissing ?
#1 Updated by Nourdine AHAMADA almost 4 years ago
- File 530_gets.patch added
I've attached a patch that put the unsetting of 'gets' (and the Warning modification) under the same condition than its definition since the ISOC11.
This issue also occurs in libpreludedb, prelude-lml and prelude manager, but the patch should work for them too.