File radeontop-ncurses.patch of Package radeontop
diff -Ndurp radeontop/Makefile radeontop-ncurses/Makefile --- radeontop/Makefile 2016-09-11 20:43:00.184000137 +0300 +++ radeontop-ncurses/Makefile 2016-09-11 20:43:43.173004804 +0300 @@ -34,7 +34,7 @@ ifeq ($(xcb), 1) CFLAGS += $(shell pkg-config --cflags xcb xcb-dri2) CFLAGS += -DENABLE_XCB=1 endif -CFLAGS += $(shell pkg-config --cflags ncurses 2>/dev/null) +CFLAGS += $(shell pkg-config --cflags ncurses 2>/dev/null || shell ncursesw6-config --cflags 2>/dev/null) # Comment this if you don't want translations ifeq ($(nls), 1) @@ -60,6 +60,7 @@ endif # On some distros, you might have to change this to ncursesw LIBS += $(shell pkg-config --libs ncursesw 2>/dev/null || \ + shell ncursesw6-config --libs 2>/dev/null || \ shell pkg-config --libs ncurses 2>/dev/null || \ echo "-lncurses")