OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   05-Feb-2007 09:02:58
  Branch: HEAD                             Handle: 2007020508025700

  Modified files:
    openpkg-src/pv          pv.patch pv.spec

  Log:
    upgrading package: pv 0.9.6 -> 0.9.9

  Summary:
    Revision    Changes     Path
    1.4         +7  -7      openpkg-src/pv/pv.patch
    1.33        +2  -5      openpkg-src/pv/pv.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/pv/pv.patch
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 pv.patch
  --- openpkg-src/pv/pv.patch   7 Nov 2004 10:55:57 -0000       1.3
  +++ openpkg-src/pv/pv.patch   5 Feb 2007 08:02:57 -0000       1.4
  @@ -1,6 +1,6 @@
   Index: src/main/file.c
  ---- src/main/file.c.orig     2004-11-06 22:07:05 +0100
  -+++ src/main/file.c  2004-11-07 11:54:34 +0100
  +--- src/main/file.c.orig     2007-02-05 01:06:47 +0100
  ++++ src/main/file.c  2007-02-05 08:53:41 +0100
   @@ -27,20 +27,20 @@
     */
    void main_getsize(opts_t opts)
  @@ -84,9 +84,9 @@
                        opts->program_name,
                        _("failed to stat output file"), strerror(errno));
   Index: src/main/main.c
  ---- src/main/main.c.orig     2004-11-06 22:07:05 +0100
  -+++ src/main/main.c  2004-11-07 11:53:34 +0100
  -@@ -66,7 +66,7 @@
  +--- src/main/main.c.orig     2007-02-05 01:06:47 +0100
  ++++ src/main/main.c  2007-02-05 08:54:34 +0100
  +@@ -68,7 +68,7 @@
        struct timeval start_time, next_update, next_reset, cur_time;
        struct timeval init_time;
        long double elapsed, tilreset;
  @@ -95,12 +95,12 @@
        int fd, n;
    
        fd = -1;
  -@@ -103,7 +103,7 @@
  +@@ -105,7 +105,7 @@
                fd = main_nextfd(opts, n, -1);
                if (fd < 0)
                        return 1;
   -            if (fstat64(fd, &sb) == 0) {
   +            if (fstat(fd, &sb) == 0) {
  -                     main_transfer_bufsize(sb.st_blksize * 32);
  +                     main_transfer_bufsize(sb.st_blksize * 32, 0);
                }
        }
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/pv/pv.spec
  ============================================================================
  $ cvs diff -u -r1.32 -r1.33 pv.spec
  --- openpkg-src/pv/pv.spec    1 Jan 2007 17:41:18 -0000       1.32
  +++ openpkg-src/pv/pv.spec    5 Feb 2007 08:02:57 -0000       1.33
  @@ -32,8 +32,8 @@
   Class:        EVAL
   Group:        System
   License:      GPL
  -Version:      0.9.6
  -Release:      20061013
  +Version:      0.9.9
  +Release:      20070205
   
   #   list of sources
   Source0:      
http://switch.dl.sourceforge.net/pipeviewer/pv-%{version}.tar.gz
  @@ -80,13 +80,10 @@
       rm -rf $RPM_BUILD_ROOT
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/bin \
  -        $RPM_BUILD_ROOT%{l_prefix}/info \
           $RPM_BUILD_ROOT%{l_prefix}/man/man1
       %{l_shtool} install -c -s -m 755 \
           pv $RPM_BUILD_ROOT%{l_prefix}/bin/
       %{l_shtool} install -c -m 644 \
  -        doc/pv.info $RPM_BUILD_ROOT%{l_prefix}/info/
  -    %{l_shtool} install -c -m 644 \
           doc/quickref.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/pv.1
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to