summaryrefslogtreecommitdiff
path: root/audio/quelcom/files/patch-bin::qmp3cut.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-14 12:54:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-14 12:54:17 +0000
commit51505fe87160d96ee169096629f226ab1de71461 (patch)
tree3004c76cf66fa92cf01f8fa03dbcb9ff81517e42 /audio/quelcom/files/patch-bin::qmp3cut.c
parent- Update to version 0.99.2 (diff)
- Update to version 0.4.0
PR: ports/62813 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=100910
Diffstat (limited to 'audio/quelcom/files/patch-bin::qmp3cut.c')
-rw-r--r--audio/quelcom/files/patch-bin::qmp3cut.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/audio/quelcom/files/patch-bin::qmp3cut.c b/audio/quelcom/files/patch-bin::qmp3cut.c
new file mode 100644
index 000000000000..b4e476e10a2f
--- /dev/null
+++ b/audio/quelcom/files/patch-bin::qmp3cut.c
@@ -0,0 +1,41 @@
+--- bin/qmp3cut.cc.orig Fri Feb 23 21:29:12 2001
++++ bin/qmp3cut.cc Fri Feb 13 19:17:38 2004
+@@ -11,9 +11,8 @@
+ #endif
+
+ void usage () {
+-
+- cerr.form(_(" %s: extract and/or delete parts of a mp3 file\n"),APPNAME);
+- cerr.form(_(" syntax: %s [option]... file\n"),APPNAME);
++ cerr << ' ' << APPNAME << _(": extract and/or delete parts of a mp3 file\n");
++ cerr << _(" syntax: ") << APPNAME << _(" [option]... file\n");
+ cerr << _(" options:\n");
+ cerr << _(" -B, --set-begin <cut point>: set the first frame from the beginning of the file\n");
+ cerr << _(" -b, --set-begin-from-eof <cut point>: set the first frame from the end of the file\n");
+@@ -102,13 +101,14 @@
+ verbose=true;
+ break;
+ case 'V':
+- cerr.form(_("%s - version %s - build %s\n"),APPNAME,VERSION,__DATE__);
++ cerr << APPNAME << " - " << _("version") << ' ' << VERSION
++ << _("build") << ' ' << __DATE__ << '\n';
+ return 0;
+ break;
+ case '?':
+ default:
+- cerr.form(_("%s: option '%s' is not recognized or bad used\n"),
+- APPNAME,argv[optind-1]);
++ cerr << APPNAME << ": " << _("option") << " '" << argv[optind-1]
++ << "' " << _("is not recognized or bad used") << '\n';
+ usage();
+ return 1;
+ }
+@@ -140,7 +140,7 @@
+ qmp3 mp3 (infile,mode);
+
+ if (verbose)
+- cerr.form(_("scanning '%s'..."),infile.c_str());
++ cerr << _("scanning '") << infile << "'...";
+ mp3.scan();
+ if (verbose)
+ cerr << "ok." << endl;