File tmon_pkg_config_ncurses_missing.patch of Package tmon

--- a/Makefile	2016-02-02 00:56:08.000000000 +0100
+++ b/Makefile	2016-02-19 10:34:15.351173969 +0100
@@ -23,7 +23,7 @@ TMON_LIBS += $(shell pkg-config --libs $
 		     echo -lpanel -lncurses)
 
 CFLAGS    += $(shell pkg-config --cflags $(STATIC) panelw ncursesw 2> /dev/null || \
-		     pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null)
+		     pkg-config --cflags $(STATIC) panel ncurses 2> /dev/null || echo -I/usr/include/ncurses)
 
 OBJS = tmon.o tui.o sysfs.o pid.o
 OBJS +=
openSUSE Build Service is sponsored by