diff options
author | dsainty <dsainty> | 2010-09-29 10:42:48 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2010-09-29 10:42:48 +0000 |
commit | 5da2a3a72e7f4fe21a8493e08e41599f49e14c3f (patch) | |
tree | 3d08898aabb6da8d010b420e3c9803fd9ed813d6 /misc/ppower/patches | |
parent | ef3124b871c93189e61d39f7baf0b997cea1b533 (diff) | |
download | pkgsrc-5da2a3a72e7f4fe21a8493e08e41599f49e14c3f.tar.gz |
Force flush to be pipe-friendly (from ppower -m). Bump PKGREVISION.
Diffstat (limited to 'misc/ppower/patches')
-rw-r--r-- | misc/ppower/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/ppower/patches/patch-ab b/misc/ppower/patches/patch-ab new file mode 100644 index 00000000000..688ad4dbd8f --- /dev/null +++ b/misc/ppower/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 2010/09/29 10:42:49 dsainty Exp $ + +Force flush to be pipe-friendly (from ppower -m). + +--- src/status.c.orig 2010-09-29 22:57:25.000000000 +1300 ++++ src/status.c 2010-09-29 22:58:42.000000000 +1300 +@@ -143,6 +143,9 @@ + + /* End the line. */ + printf("\n"); ++ ++ /* Force flush to be pipe-friendly. */ ++ fflush(stdout); + + return; + } |