summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-tools/03-fix-tmon-ltinfo.patch')
-rw-r--r--libre/linux-libre-tools/03-fix-tmon-ltinfo.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch b/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch
new file mode 100644
index 000000000..986f1c408
--- /dev/null
+++ b/libre/linux-libre-tools/03-fix-tmon-ltinfo.patch
@@ -0,0 +1,13 @@
+# Copyright 2014 Sébastien Luttringer
+
+--- a/tools/thermal/tmon/Makefile
++++ b/tools/thermal/tmon/Makefile
+@@ -21,7 +21,7 @@ OBJS = tmon.o tui.o sysfs.o pid.o
+ OBJS +=
+
+ tmon: $(OBJS) Makefile tmon.h
+- $(CC) ${CFLAGS} $(LDFLAGS) $(OBJS) -o $(TARGET) -lm -lpanel -lncursesw -ltinfo -lpthread
++ $(CC) ${CFLAGS} $(LDFLAGS) $(OBJS) -o $(TARGET) -lm -lpanel -lncursesw -lpthread
+
+ valgrind: tmon
+ sudo valgrind -v --track-origins=yes --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./$(TARGET) 1> /dev/null