diff --git a/packages/pv/build.sh b/packages/pv/build.sh index 7ffbda5fb..bdec0f3f2 100644 --- a/packages/pv/build.sh +++ b/packages/pv/build.sh @@ -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 index 000000000..4a6d5afa1 --- /dev/null +++ b/packages/pv/src-pv-cursor.c.patch @@ -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 + #include + #include ++#include /* For basename(). */ + + #ifdef HAVE_IPC + #include