components/pv/patches/fix-stat64.patch
changeset 3900 ac09ed0f6fd4
equal deleted inserted replaced
3899:aa25d29e7836 3900:ac09ed0f6fd4
       
     1 The test to detect stat64 in the configure script for pv version 1.5.7
       
     2 is incorrect. Googling around found the following patch at:
       
     3 
       
     4   http://www.ivarch.com/programs/pv.shtml
       
     5 
       
     6 This is the home page for pv, so they are already aware of the problem.
       
     7 
       
     8 --- pv-1.5.7/autoconf/header.in.orig	2015-03-03 14:45:21.433192939 -0800
       
     9 +++ pv-1.5.7/autoconf/header.in	2015-03-03 14:46:02.429291023 -0800
       
    10 @@ -70,6 +70,7 @@
       
    11  #   define stat64 stat
       
    12  #   define fstat64 fstat
       
    13  #  endif
       
    14 +# elif defined(__sun) && defined(__SVR4)
       
    15  # else
       
    16  #  define stat64 stat
       
    17  #  define fstat64 fstat