diff options
author | dsainty <dsainty@pkgsrc.org> | 2010-09-29 10:42:48 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2010-09-29 10:42:48 +0000 |
commit | a4f3b54c141da6b0347b603281736c50d3c145a7 (patch) | |
tree | 3d08898aabb6da8d010b420e3c9803fd9ed813d6 | |
parent | 2972e9d0ff8875bf831bf67259fff75b405949c4 (diff) | |
download | pkgsrc-a4f3b54c141da6b0347b603281736c50d3c145a7.tar.gz |
Force flush to be pipe-friendly (from ppower -m). Bump PKGREVISION.
-rw-r--r-- | misc/ppower/Makefile | 3 | ||||
-rw-r--r-- | misc/ppower/distinfo | 3 | ||||
-rw-r--r-- | misc/ppower/patches/patch-ab | 16 |
3 files changed, 20 insertions, 2 deletions
diff --git a/misc/ppower/Makefile b/misc/ppower/Makefile index da665a176b3..38f534e5b30 100644 --- a/misc/ppower/Makefile +++ b/misc/ppower/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2009/05/19 08:59:24 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2010/09/29 10:42:48 dsainty Exp $ # DISTNAME= ppower-0.1.5 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ppower/} diff --git a/misc/ppower/distinfo b/misc/ppower/distinfo index 2c61afb938e..294ba4e09fe 100644 --- a/misc/ppower/distinfo +++ b/misc/ppower/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $ +$NetBSD: distinfo,v 1.2 2010/09/29 10:42:48 dsainty Exp $ SHA1 (ppower-0.1.5.tar.gz) = fe697b5517f93984a2ae994000787f2b7404b216 RMD160 (ppower-0.1.5.tar.gz) = 93b235c9bdbf1764388e6e3808ea885dbb9f291a Size (ppower-0.1.5.tar.gz) = 127819 bytes SHA1 (patch-aa) = 6f0d464058e19bd8df8c3ab6672371d53cb46432 +SHA1 (patch-ab) = 2607fc7d2949d96f1aca7b6d38a25e594424881a 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; + } |