pv: Update from 1.6.0 to 1.6.6
authorFredrik Fornwall <fredrik@fornwall.net>
Fri, 7 Jul 2017 00:07:06 +0000 (02:07 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 7 Jul 2017 00:07:06 +0000 (02:07 +0200)
Also fix -Werror=implicit-function-declaration.

packages/pv/build.sh
packages/pv/src-pv-cursor.c.patch [new file with mode: 0644]

index 7ffbda5..bdec0f3 100644 (file)
@@ -1,6 +1,6 @@
 TERMUX_PKG_HOMEPAGE=http://www.ivarch.com/programs/pv.shtml
 TERMUX_PKG_DESCRIPTION="Terminal-based tool for monitoring the progress of data through a pipeline"
-TERMUX_PKG_VERSION=1.6.0
+TERMUX_PKG_VERSION=1.6.6
 TERMUX_PKG_SRCURL=http://www.ivarch.com/programs/sources/pv-${TERMUX_PKG_VERSION}.tar.bz2
-TERMUX_PKG_SHA256=0ece824e0da27b384d11d1de371f20cafac465e038041adab57fcf4b5036ef8d
+TERMUX_PKG_SHA256=608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-ipc"
diff --git a/packages/pv/src-pv-cursor.c.patch b/packages/pv/src-pv-cursor.c.patch
new file mode 100644 (file)
index 0000000..4a6d5af
--- /dev/null
@@ -0,0 +1,11 @@
+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>