On 2017-09-20, Дмитрий Петров <
leur...@gmail.com> wrote:
> configure:6637: gcc -E -I/usr/X11/include conftest.c >/dev/null 2>conftest.out
> In file included from /usr/include/sys/types.h:25:0,
> from /usr/include/X11/Xlib.h:38,
> from /usr/include/X11/Intrinsic.h:56,
> from configure:6633:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> ^
> configure: failed program was:
> #line 6632 "configure"
> #include "confdefs.h"
> #include <X11/Intrinsic.h>
This appears to be a recent glibc change.
Fixing it properly would require fixing the configure script, which I
don't know how to do without research.
For a quick hack, try editing src/config.h and defining
_DEFAULT_SOURCE where it defined either _BSD_SOURCE or _SVID_SOURCE