diff options
author | pawel <pawel@FreeBSD.org> | 2013-07-24 01:32:48 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-07-24 01:32:48 +0800 |
commit | 064d4f8a7a59bae59e27cb9c40abcf065d62697b (patch) | |
tree | 0f5da3ec57b216dc0685bd40b5c0c85915409109 /sysutils/ioping | |
parent | 2cd4dc25c80afa772f05232d47a5df03e3b25be5 (diff) | |
download | freebsd-ports-gnome-064d4f8a7a59bae59e27cb9c40abcf065d62697b.tar.gz freebsd-ports-gnome-064d4f8a7a59bae59e27cb9c40abcf065d62697b.tar.zst freebsd-ports-gnome-064d4f8a7a59bae59e27cb9c40abcf065d62697b.zip |
Update to version 0.7
While here:
- Trim Makefile header
- Convert tab to space in WWW: line
PR: ports/180761
Submitted by: Oleg Ginzburg <olevole@olevole.ru> (maintainer)
Diffstat (limited to 'sysutils/ioping')
-rw-r--r-- | sysutils/ioping/Makefile | 8 | ||||
-rw-r--r-- | sysutils/ioping/distinfo | 4 | ||||
-rw-r--r-- | sysutils/ioping/files/patch-ioping.c | 37 | ||||
-rw-r--r-- | sysutils/ioping/pkg-descr | 2 |
4 files changed, 42 insertions, 9 deletions
diff --git a/sysutils/ioping/Makefile b/sysutils/ioping/Makefile index fdc1fbaf1021..a6b5ac2a4bf3 100644 --- a/sysutils/ioping/Makefile +++ b/sysutils/ioping/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: ioping -# Date created: 27 December 2011 -# Whom: Oleg Ginzburg <olevole@olevole.ru> -# +# Created by: Oleg Ginzburg <olevole@olevole.ru> # $FreeBSD$ -# PORTNAME= ioping -PORTVERSION= 0.6 +PORTVERSION= 0.7 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE diff --git a/sysutils/ioping/distinfo b/sysutils/ioping/distinfo index 7fd845361c64..26303abf4801 100644 --- a/sysutils/ioping/distinfo +++ b/sysutils/ioping/distinfo @@ -1,2 +1,2 @@ -SHA256 (ioping-0.6.tar.gz) = 1d14469b1bfa9243f992be784cc0e3cd86c66bb7edc1b83e22360075c5435ceb -SIZE (ioping-0.6.tar.gz) = 6957 +SHA256 (ioping-0.7.tar.gz) = 234e28eeb256e77756a077604b48d59f206a5288c3da6f207629e783f54b13b0 +SIZE (ioping-0.7.tar.gz) = 10011 diff --git a/sysutils/ioping/files/patch-ioping.c b/sysutils/ioping/files/patch-ioping.c new file mode 100644 index 000000000000..2b383fe9c330 --- /dev/null +++ b/sysutils/ioping/files/patch-ioping.c @@ -0,0 +1,37 @@ +--- ioping.c.orig 2013-02-02 21:00:59.000000000 +0400 ++++ ioping.c 2013-07-23 15:53:52.000000000 +0400 +@@ -154,11 +154,6 @@ + return FlushFileBuffers(h) ? 0 : -1; + } + +-int fdatasync(int fd) +-{ +- return fsync(fd); +-} +- + void srandom(unsigned int seed) + { + srand(seed); +@@ -178,6 +173,13 @@ + + #endif /* __MINGW32__ */ + ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__MINGW32__) ++int fdatasync(int fd) ++{ ++ return fsync(fd); ++} ++#endif /* (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__MINGW32__) */ ++ + #ifndef HAVE_POSIX_MEMALIGN + /* don't free it */ + int posix_memalign(void **memptr, size_t alignment, size_t size) +@@ -222,7 +224,7 @@ + + void version(void) + { +- fprintf(stderr, "ioping %s\n", VERSION); ++ fprintf(stderr, "ioping %f\n", VERSION); + } + + struct suffix { diff --git a/sysutils/ioping/pkg-descr b/sysutils/ioping/pkg-descr index a1b6775ea4b0..3f1e89a37f66 100644 --- a/sysutils/ioping/pkg-descr +++ b/sysutils/ioping/pkg-descr @@ -1,3 +1,3 @@ This tool lets you monitor I/O latency in real time -WWW: http://code.google.com/p/ioping/ +WWW: http://code.google.com/p/ioping/ |