Browse Source

upgrading package: pv 0.9.6 -> 0.9.9

master
parent
commit
c42032e20d
  1. 14
      pv/pv.patch
  2. 7
      pv/pv.spec

14
pv/pv.patch

@ -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 @@ Index: src/main/file.c
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 @@ Index: src/main/main.c
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);
}
}

7
pv/pv.spec

@ -32,8 +32,8 @@ Distribution: OpenPKG Community
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,12 +80,9 @@ AutoReqProv: no
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}

Loading…
Cancel
Save