summaryrefslogtreecommitdiff
path: root/sysutils/xmbmon/files/patch-mbmon.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-06-21 22:09:38 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2015-06-21 22:09:38 +0000
commit3c1b8094f3dd4f92cceaaf70d41c555928a3993f (patch)
tree7f6cb6c502594dd3d9a63a8198cc6a120d5590c2 /sysutils/xmbmon/files/patch-mbmon.c
parentFix duplicate ports: devel/lua-lpeg51 and devel/lua-lpeg (diff)
sysutils/xmbmon: Convert to OPTIONSNG
- Add PORTSCOUT to skip wrong distfile scanning - Fix patch files to reflect 'make makepatch'
Notes
Notes: svn path=/head/; revision=390266
Diffstat (limited to 'sysutils/xmbmon/files/patch-mbmon.c')
-rw-r--r--sysutils/xmbmon/files/patch-mbmon.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/xmbmon/files/patch-mbmon.c b/sysutils/xmbmon/files/patch-mbmon.c
index 30d759104011..c40f899f09f9 100644
--- a/sysutils/xmbmon/files/patch-mbmon.c
+++ b/sysutils/xmbmon/files/patch-mbmon.c
@@ -1,6 +1,6 @@
---- mbmon.c.orig 2004-08-13 16:23:32.000000000 +0900
-+++ mbmon.c 2009-06-10 12:13:47.000000000 +0900
-@@ -315,7 +315,7 @@
+--- mbmon.c.orig 2015-05-28 10:06:29 UTC
++++ mbmon.c
+@@ -315,7 +315,7 @@ int main(int argc, char *argv[])
name = argv[0];
#if !defined(LINUX) && defined(HAVE_SMBUS) && defined(SMBUS_IOCTL)
@@ -9,15 +9,15 @@
#else
while ((ch = getopt(argc,argv,"VSIAfdDYe:p:c:T:F:tunNirhP:")) != -1) {
#endif
-@@ -641,6 +641,7 @@
- fprintf(out, "%4d\n%4d\n%4d\n", rot1, rot2, rot3);
+@@ -642,6 +642,7 @@ int main(int argc, char *argv[])
}
+ fflush(out);
if (port) {
+ fflush(out);
#ifdef LOGGING
if (nfd)
#endif
-@@ -659,6 +660,7 @@
+@@ -660,6 +661,7 @@ int main(int argc, char *argv[])
if (hostname_flag == 1) {
hostname(sh_flag);
}