fix the format string used for the default filenames to include the
extension, which upstream renamed from %e to %s. even they can't keep on top of their own stupid incompatible changes.
This commit is contained in:
parent
e8ec929e4c
commit
f4eb5cd126
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2013/09/27 13:47:35 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2013/10/09 13:36:15 sthen Exp $
|
||||
|
||||
COMMENT = media download tool
|
||||
|
||||
DISTNAME = cclive-0.9.2
|
||||
REVISION = 0
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
|
||||
CATEGORIES = www
|
||||
|
15
www/cclive/patches/patch-src_cc_options_h
Normal file
15
www/cclive/patches/patch-src_cc_options_h
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_cc_options_h,v 1.1 2013/10/09 13:36:15 sthen Exp $
|
||||
|
||||
grrr. even upstream can't keep on top of their stupid incompatible changes.
|
||||
|
||||
--- src/cc/options.h.orig Wed Oct 9 14:30:31 2013
|
||||
+++ src/cc/options.h Wed Oct 9 14:30:56 2013
|
||||
@@ -469,7 +469,7 @@ struct options : boost::noncopyable
|
||||
|
||||
podoc.add_options()
|
||||
(OPT__FILENAME_FORMAT",f",
|
||||
- po::value<std::string>()->default_value("%t.%e"),
|
||||
+ po::value<std::string>()->default_value("%t.%s"),
|
||||
"Format of media file name")
|
||||
(OPT__UPDATE_INTERVAL",i",
|
||||
po::value<update_interval>()->default_value(update_interval(1)),
|
Loading…
x
Reference in New Issue
Block a user