Browse Source

pv: Update from 1.6.0 to 1.6.6

Also fix -Werror=implicit-function-declaration.
android-5
Fredrik Fornwall 8 years ago
parent
commit
7736144e9c
  1. 4
      packages/pv/build.sh
  2. 11
      packages/pv/src-pv-cursor.c.patch

4
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"

11
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 <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <libgen.h> /* For basename(). */
#ifdef HAVE_IPC
#include <sys/ipc.h>
Loading…
Cancel
Save