# HG changeset patch # User Rich Burridge # Date 1425429370 28800 # Node ID ac09ed0f6fd4215f68dd60b725790f319566ff2f # Parent aa25d29e7836f0e9abc8b552f0ce48070ff1a7d3 20640329 /usr/bin/pv should be 64-bit (again). diff -r aa25d29e7836 -r ac09ed0f6fd4 components/pv/Makefile --- a/components/pv/Makefile Tue Mar 03 12:59:51 2015 -0800 +++ b/components/pv/Makefile Tue Mar 03 16:36:10 2015 -0800 @@ -43,6 +43,8 @@ PKG_PROTO_DIRS += $(BUILD_DIR_64) +CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" + COMPILER = gcc COMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)" diff -r aa25d29e7836 -r ac09ed0f6fd4 components/pv/patches/fix-stat64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/pv/patches/fix-stat64.patch Tue Mar 03 16:36:10 2015 -0800 @@ -0,0 +1,17 @@ +The test to detect stat64 in the configure script for pv version 1.5.7 +is incorrect. Googling around found the following patch at: + + http://www.ivarch.com/programs/pv.shtml + +This is the home page for pv, so they are already aware of the problem. + +--- pv-1.5.7/autoconf/header.in.orig 2015-03-03 14:45:21.433192939 -0800 ++++ pv-1.5.7/autoconf/header.in 2015-03-03 14:46:02.429291023 -0800 +@@ -70,6 +70,7 @@ + # define stat64 stat + # define fstat64 fstat + # endif ++# elif defined(__sun) && defined(__SVR4) + # else + # define stat64 stat + # define fstat64 fstat