diff options
author | netchild <netchild@FreeBSD.org> | 2004-03-05 16:37:33 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2004-03-05 16:37:33 +0000 |
commit | 629567787aae3da46762c60a16b30d5647ae5b8d (patch) | |
tree | 108fb9298354e01e9f6dad74e10b458bc88d44e6 /sysutils | |
parent | 3356daa1bf4855dd6144f43a953678ae5129c555 (diff) | |
download | FreeBSD-ports-629567787aae3da46762c60a16b30d5647ae5b8d.zip FreeBSD-ports-629567787aae3da46762c60a16b30d5647ae5b8d.tar.gz |
Change the progress meter back to not print newlines on update, this
annoying behaviour unintentionally got introduced shortly before 1.1.8
was released. This patch also went into the cdrdao repository.
Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrdao/Makefile | 2 | ||||
-rw-r--r-- | sysutils/cdrdao/files/patch-dao::dao.cc | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile index 3216165..69f4500 100644 --- a/sysutils/cdrdao/Makefile +++ b/sysutils/cdrdao/Makefile @@ -7,7 +7,7 @@ PORTNAME?= cdrdao PORTVERSION= 1.1.8 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= sysutils audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= cdrdao diff --git a/sysutils/cdrdao/files/patch-dao::dao.cc b/sysutils/cdrdao/files/patch-dao::dao.cc new file mode 100644 index 0000000..c0ff14a --- /dev/null +++ b/sysutils/cdrdao/files/patch-dao::dao.cc @@ -0,0 +1,15 @@ +--- dao/dao.cc.orig Thu Feb 12 02:13:31 2004 ++++ dao/dao.cc Tue Mar 2 17:22:11 2004 +@@ -388,10 +388,10 @@ + if (cdr->readBufferCapacity(&totalcap, &availcap)) { + writerFill = (int)((1.0 - ((double)availcap / (double)totalcap)) + * 100.0); +- message(1, "Wrote %ld of %ld MB (Buffers %3d%% %3d%%).\n", ++ message(1, "Wrote %ld of %ld MB (Buffers %3d%% %3d%%).\r", + cnt >> 20, total >> 20, buffFill, writerFill); + } else { +- message(1, "Wrote %ld of %ld MB (Buffer %3d%%).\n", ++ message(1, "Wrote %ld of %ld MB (Buffer %3d%%).\r", + cnt >> 20, total >> 20, buffFill); + } + lastMb = cntMb; |