From f4eb5cd126ffeaf8dee79059e7c5408d7b32ed2b Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 9 Oct 2013 13:36:15 +0000 Subject: [PATCH] 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. --- www/cclive/Makefile | 3 ++- www/cclive/patches/patch-src_cc_options_h | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 www/cclive/patches/patch-src_cc_options_h diff --git a/www/cclive/Makefile b/www/cclive/Makefile index 5f8e328bc2a..5966c4de084 100644 --- a/www/cclive/Makefile +++ b/www/cclive/Makefile @@ -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 diff --git a/www/cclive/patches/patch-src_cc_options_h b/www/cclive/patches/patch-src_cc_options_h new file mode 100644 index 00000000000..b255ae636d8 --- /dev/null +++ b/www/cclive/patches/patch-src_cc_options_h @@ -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()->default_value("%t.%e"), ++ po::value()->default_value("%t.%s"), + "Format of media file name") + (OPT__UPDATE_INTERVAL",i", + po::value()->default_value(update_interval(1)),