Thu May 14 19:30:42 2020 UTC ()
Can't have two functions with the signature of a copy constructor.
Don't assign NUL to a pointer. Avoid C++ UDL. Bump revision.
(joerg)
diff -r1.48 -r1.49 pkgsrc/multimedia/subtitleeditor/Makefile
diff -r1.9 -r1.10 pkgsrc/multimedia/subtitleeditor/distinfo
diff -r0 -r1.1 pkgsrc/multimedia/subtitleeditor/patches/patch-plugins_subtitleformats_sami_sami.cc
diff -r0 -r1.1 pkgsrc/multimedia/subtitleeditor/patches/patch-src_document.cc
diff -r0 -r1.1 pkgsrc/multimedia/subtitleeditor/patches/patch-src_vp_gstplayer.cc
--- pkgsrc/multimedia/subtitleeditor/Makefile 2020/03/10 22:10:42 1.48
+++ pkgsrc/multimedia/subtitleeditor/Makefile 2020/05/14 19:30:42 1.49
--- pkgsrc/multimedia/subtitleeditor/distinfo 2019/10/18 18:33:18 1.9
+++ pkgsrc/multimedia/subtitleeditor/distinfo 2020/05/14 19:30:42 1.10
$NetBSD: patch-plugins_subtitleformats_sami_sami.cc,v 1.1 2020/05/14 19:30:42 joerg Exp $
--- plugins/subtitleformats/sami/sami.cc.orig 2020-05-13 22:48:36.225341679 +0000
+++ plugins/subtitleformats/sami/sami.cc
@@ -263,7 +263,7 @@ public:
{
inptr = (char *)(line.c_str());
p = tmptext;
- p = '\0';
+ *p = '\0';
state = SAMI_STATE_INIT;
continue;
$NetBSD: patch-src_document.cc,v 1.1 2020/05/14 19:30:42 joerg Exp $
--- src/document.cc.orig 2020-05-13 22:31:40.710310072 +0000
+++ src/document.cc
@@ -78,7 +78,7 @@ Document::Document()
/*
* Constructor by copy
*/
-Document::Document(Document &src, bool copy_subtitles = true )
+Document::Document(Document &src, bool copy_subtitles)
:CommandSystem(*this), m_subtitles(*this), m_styles(*this), m_subtitleView(NULL)
{
m_timing_mode = src.m_timing_mode;
$NetBSD: patch-src_vp_gstplayer.cc,v 1.1 2020/05/14 19:30:42 joerg Exp $
--- src/vp/gstplayer.cc.orig 2020-05-13 22:35:58.988861353 +0000
+++ src/vp/gstplayer.cc
@@ -257,7 +257,7 @@ bool GstPlayer::seek(long start, long en
gint64 gend = end * Gst::MILLI_SECOND;
se_debug_message(SE_DEBUG_VIDEO_PLAYER,
- "pipeline->seek(%" GST_TIME_FORMAT", %"GST_TIME_FORMAT")",
+ "pipeline->seek(%" GST_TIME_FORMAT", %" GST_TIME_FORMAT ")",
GST_TIME_ARGS(gstart), GST_TIME_ARGS(gend));
bool ret = m_pipeline->seek(