termux-packages/packages/pv/src-pv-cursor.c.patch
Fredrik Fornwall bad0d8faa8 pv: Update from 1.6.0 to 1.6.6
Also fix -Werror=implicit-function-declaration.
2017-07-07 02:07:06 +02:00

12 lines
349 B
Diff

diff -u -r ../pv-1.6.0/src/pv/cursor.c ./src/pv/cursor.c
--- ../pv-1.6.0/src/pv/cursor.c 2015-03-15 00:37:18.000000000 +0000
+++ ./src/pv/cursor.c 2017-07-07 00:05:58.507914275 +0000
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <libgen.h> /* For basename(). */
#ifdef HAVE_IPC
#include <sys/ipc.h>