packages/utils/powertop/patches/100-no-wide-ncurses.patch

12 lines
286 B
Diff
Raw Normal View History

--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ OBJS = powertop.o config.o process.o mis
powertop: $(OBJS) Makefile powertop.h
- $(CC) ${CFLAGS} $(OBJS) -lncursesw -o powertop
+ $(CC) ${LDFLAGS} $(OBJS) -lncurses -o powertop
@(cd po/ && $(MAKE))
powertop.1.gz: powertop.1