I got this warning: QA: configure please use append-cppflags for preprocessor flags please use append-cppflags for preprocessor flags Thanks Reproducible: Always
"special" build system, CANTFIX
Per bug 425084 it should be fixed... but I guess a patch is needed :S
Now using append-cppflags.
Created attachment 328514 [details, diff] Pass CPPFLAGS into comm.sh when building comm.h This change causes app-misc/screen to generate an inoperable binary when built without USE="nethack". The problem arises because comm.sh uses the C preprocessor to generate comm.h from comm.c and config.h. When CPPFLAGS are not visible to comm.sh, RC_NETHACK is omitted from comm.h but "nethack" appears in comm.c. All commands that are lexicographically greater than "nethack" end up being processed off-by-one inside process.c:DoAction(). Under the default configuration, "silentwait" from /etc/screenrc is the first affected command and is processed as "silent". This causes a segfault upon dereferencing a null fore pointer. The user-visible symptoms are that screen will appear to hang when invoked. A process list shows two screen instances, one marked "[<defunct>]". The attached patch fixes the regression so that screen builds and runs with or without USE="nethack".
See this please: #442070
Please do not commit such hacks to stable ebuilds.