!LFS compilation needs a trivial patch which has been sent upstream.
Also add .hash file.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--- /dev/null
+[PATCH] add lstat64 to *64 emulation
+
+pv nowadays also uses lstat64, so add it to the emulation defines for !LFS
+builds.
+
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ autoconf/header.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: pv-1.5.7/autoconf/header.in
+===================================================================
+--- pv-1.5.7.orig/autoconf/header.in
++++ pv-1.5.7/autoconf/header.in
+@@ -76,6 +76,7 @@
+ # endif
+ # define open64 open
+ # define lseek64 lseek
++# define lstat64 lstat
+ #endif
+
+ #undef HAVE_IPC
--- /dev/null
+# Locally calculated after checking pgp signature
+sha256 c8535061bb703086b67fa540da162ad48d6ecd219ae74157111465adfdef5997 pv-1.5.7.tar.bz2
#
################################################################################
-PV_VERSION = 1.4.12
+PV_VERSION = 1.5.7
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
PV_SITE = http://www.ivarch.com/programs/sources
PV_LICENSE = Artistic-2.0