FreeBSD Bugzilla – Attachment 135786 Details for
Bug 180761
sysutils/ioping update to 0.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.76 KB, created by
Oleg Ginzburg
on 2013-07-23 13:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Oleg Ginzburg
Created:
2013-07-23 13:00:00 UTC
Size:
1.76 KB
patch
obsolete
>diff -ruN ioping.bak/Makefile ioping/Makefile >--- ioping.bak/Makefile 2013-07-23 15:35:19.000000000 +0400 >+++ ioping/Makefile 2013-07-23 15:35:28.000000000 +0400 >@@ -6,7 +6,7 @@ > # > > PORTNAME= ioping >-PORTVERSION= 0.6 >+PORTVERSION= 0.7 > CATEGORIES= sysutils > MASTER_SITES= GOOGLE_CODE > >diff -ruN ioping.bak/distinfo ioping/distinfo >--- ioping.bak/distinfo 2013-07-22 20:11:25.000000000 +0400 >+++ ioping/distinfo 2013-07-23 15:35:31.000000000 +0400 >@@ -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 -ruN ioping.bak/files/patch-ioping.c ioping/files/patch-ioping.c >--- ioping.bak/files/patch-ioping.c 1970-01-01 03:00:00.000000000 +0300 >+++ ioping/files/patch-ioping.c 2013-07-23 15:54:03.000000000 +0400 >@@ -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 {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180761
: 135786