sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit 3fea8cc43e877f56f6aced04dc78b14730634f3e
parent 25a4b5688a2dccbf06bd7e2ac11380d4265e67c2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 27 Sep 2020 12:13:34 +0200

Makefile: add a comment for Gentoo / distros requiring -ltinfo

... and also -D_DEFAULT_SOURCE to prevent warnings (modern glibc).

Reported by Ismaïl, thanks!

Diffstat:
MMakefile | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -16,6 +16,11 @@ SFEED_CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE # Linux: some distros use ncurses and require -lncurses. #SFEED_LDFLAGS = ${LDFLAGS} -lncurses +# Gentoo Linux: some distros might also require -ltinfo and -D_DEFAULT_SOURCE +# to prevent warnings about feature macros. +#SFEED_LDFLAGS = ${LDFLAGS} -lcurses -ltinfo +#SFEED_CPPFLAGS = -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE + BIN = sfeed_curses SCRIPTS = sfeed_content sfeed_markread