OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 13-Feb-2004 11:26:31 Branch: HEAD Handle: 2004021310263100 Modified files: openpkg-src/pv pv.patch pv.spec Log: upgrading package: pv 0.7.0 -> 0.8.0 Summary: Revision Changes Path 1.2 +13 -12 openpkg-src/pv/pv.patch 1.16 +3 -3 openpkg-src/pv/pv.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/pv/pv.patch ============================================================================ $ cvs diff -u -r1.1 -r1.2 pv.patch --- openpkg-src/pv/pv.patch 24 Jan 2004 20:55:31 -0000 1.1 +++ openpkg-src/pv/pv.patch 13 Feb 2004 10:26:31 -0000 1.2 @@ -1,6 +1,6 @@ Index: src/main/file.c ---- src/main/file.c.orig Wed Jan 14 20:10:51 2004 -+++ src/main/file.c Sat Jan 24 21:51:55 2004 +--- src/main/file.c.orig 2004-02-12 23:50:35.000000000 +0100 ++++ src/main/file.c 2004-02-13 11:18:56.000000000 +0100 @@ -27,20 +27,20 @@ */ void main_getsize(opts_t options) @@ -25,7 +25,7 @@ options->size = sb.st_size; } else { options->size = 0; -@@ -48,11 +48,11 @@ +@@ -48,12 +48,12 @@ } } @@ -35,12 +35,13 @@ - fd = open64(options->argv[i], O_RDONLY); + fd = open(options->argv[i], O_RDONLY); if (fd >= 0) { -- options->size += lseek64(fd, 0, SEEK_END); -+ options->size += lseek(fd, 0, SEEK_END); + options->size += +- lseek64(fd, 0, SEEK_END); ++ lseek(fd, 0, SEEK_END); close(fd); } } else { -@@ -70,8 +70,8 @@ +@@ -71,8 +71,8 @@ */ int main_nextfd(opts_t options, int filenum, int oldfd) { @@ -51,7 +52,7 @@ int fd; if (oldfd > 0) { -@@ -91,7 +91,7 @@ +@@ -92,7 +92,7 @@ return STDIN_FILENO; } @@ -69,7 +70,7 @@ fprintf(stderr, "%s: %s: %s: %s\n", options->program_name, _("failed to stat file"), -@@ -111,7 +111,7 @@ +@@ -110,7 +110,7 @@ return -1; } @@ -77,10 +78,10 @@ + if (fstat(STDOUT_FILENO, &osb)) { fprintf(stderr, "%s: %s: %s\n", options->program_name, - _("failed to stat output file"), + _("failed to stat output file"), strerror(errno)); Index: src/main/main.c ---- src/main/main.c.orig Wed Jan 14 20:10:42 2004 -+++ src/main/main.c Sat Jan 24 21:52:10 2004 +--- src/main/main.c.orig 2004-02-12 23:50:35.000000000 +0100 ++++ src/main/main.c 2004-02-13 11:19:13.000000000 +0100 @@ -65,7 +65,7 @@ struct timeval start_time, next_update, next_reset, cur_time; struct timeval init_time; @@ -96,6 +97,6 @@ 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); } } @@ . patch -p0 <<'@@ .' Index: openpkg-src/pv/pv.spec ============================================================================ $ cvs diff -u -r1.15 -r1.16 pv.spec --- openpkg-src/pv/pv.spec 8 Feb 2004 08:01:43 -0000 1.15 +++ openpkg-src/pv/pv.spec 13 Feb 2004 10:26:31 -0000 1.16 @@ -33,8 +33,8 @@ Class: EVAL Group: System License: GPL -Version: 0.7.0 -Release: 20040208 +Version: 0.8.0 +Release: 20040213 # list of sources Source0: http://osdn.dl.sourceforge.net/pipeviewer/pv-%{version}.tar.gz @@ -74,7 +74,7 @@ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ - --disable-nls + --enable-static-nls %{l_make} %{l_mflags} %install @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]