components/pv/patches/fix-stat64.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 03 Nov 2015 13:40:13 -0800
changeset 5054 91b97df27c58
parent 3900 ac09ed0f6fd4
permissions -rw-r--r--
22136498 GNU which really doesn't have any tests 22136700 xml-simple should have should master test results to compare against 22137750 gnupth should have should master test results to compare against 22139097 ilmbase should have should master test results to compare against 22139473 gd2 should have should master test results to compare against 22143550 libmemcached should have should master test results to compare against

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