pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/mp3diags
Module Name: pkgsrc
Committed By: joerg
Date: Sat Jun 17 19:36:06 UTC 2017
Modified Files:
pkgsrc/audio/mp3diags: distinfo
Added Files:
pkgsrc/audio/mp3diags/patches: patch-src_ExportDlgImpl.cpp
patch-src_MainFormDlgImpl.cpp
Log Message:
operator bool for streams is explicit in C++11, so request it where
necessary.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/audio/mp3diags/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/mp3diags/patches/patch-src_ExportDlgImpl.cpp \
pkgsrc/audio/mp3diags/patches/patch-src_MainFormDlgImpl.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/mp3diags/distinfo
diff -u pkgsrc/audio/mp3diags/distinfo:1.19 pkgsrc/audio/mp3diags/distinfo:1.20
--- pkgsrc/audio/mp3diags/distinfo:1.19 Mon Dec 28 21:16:32 2015
+++ pkgsrc/audio/mp3diags/distinfo Sat Jun 17 19:36:06 2017
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.19 2015/12/28 21:16:32 adam Exp $
+$NetBSD: distinfo,v 1.20 2017/06/17 19:36:06 joerg Exp $
SHA1 (MP3Diags-1.2.02.tar.gz) = 92b102713ac767ed45476c684f68f0d300fc8354
RMD160 (MP3Diags-1.2.02.tar.gz) = 85b8da63c135e88fcd54bf094fcad1562795ecb2
SHA512 (MP3Diags-1.2.02.tar.gz) = 51498646ad3c9a19aeb0bcbf8cd280de75a24eb252790cc71d1eba433b986bbc58d4198d8bdfc0339dd6845ddfd966dd482f991b976e2da8f49e9d4e4f0464d0
Size (MP3Diags-1.2.02.tar.gz) = 1220039 bytes
SHA1 (patch-aa) = 4aae1922ca2b7fa9dbb30f1b5ceabb773a56c55f
+SHA1 (patch-src_ExportDlgImpl.cpp) = 8a950c36fddd26af7af407029ec74efac3a928f2
+SHA1 (patch-src_MainFormDlgImpl.cpp) = 9a4b223f5f9fa70db013fd25c6c06b3afefe1f6b
Added files:
Index: pkgsrc/audio/mp3diags/patches/patch-src_ExportDlgImpl.cpp
diff -u /dev/null pkgsrc/audio/mp3diags/patches/patch-src_ExportDlgImpl.cpp:1.1
--- /dev/null Sat Jun 17 19:36:06 2017
+++ pkgsrc/audio/mp3diags/patches/patch-src_ExportDlgImpl.cpp Sat Jun 17 19:36:06 2017
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_ExportDlgImpl.cpp,v 1.1 2017/06/17 19:36:06 joerg Exp $
+
+--- src/ExportDlgImpl.cpp.orig 2017-06-10 16:00:59.141430187 +0000
++++ src/ExportDlgImpl.cpp
+@@ -371,7 +371,7 @@ bool ExportDlgImpl::exportAsText(const s
+ out << "\n\n";
+ }
+
+- return out;
++ return bool(out);
+ }
+
+
+@@ -424,7 +424,7 @@ bool ExportDlgImpl::exportAsM3u(const st
+ out << pCodec->fromUnicode(qs).constData() << endl;
+ }
+
+- return out;
++ return bool(out);
+ }
+
+
+@@ -761,6 +761,6 @@ bool ExportDlgImpl::exportAsXml(const st
+
+ out << "</files>\n";
+
+- return out;
++ return bool(out);
+ }
+
Index: pkgsrc/audio/mp3diags/patches/patch-src_MainFormDlgImpl.cpp
diff -u /dev/null pkgsrc/audio/mp3diags/patches/patch-src_MainFormDlgImpl.cpp:1.1
--- /dev/null Sat Jun 17 19:36:06 2017
+++ pkgsrc/audio/mp3diags/patches/patch-src_MainFormDlgImpl.cpp Sat Jun 17 19:36:06 2017
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_MainFormDlgImpl.cpp,v 1.1 2017/06/17 19:36:06 joerg Exp $
+
+--- src/MainFormDlgImpl.cpp.orig 2017-06-10 15:47:07.854499376 +0000
++++ src/MainFormDlgImpl.cpp
+@@ -119,7 +119,7 @@ namespace
+ {
+ m_strFileName = strFileName;
+ ofstream_utf8 out (m_strFileName.c_str(), ios_base::app);
+- return out;
++ return bool(out);
+ }
+
+ void close() { m_strFileName.clear(); }
+@@ -128,7 +128,7 @@ namespace
+ {
+ ofstream_utf8 out (m_strFileName.c_str(), ios_base::app);
+ out << s;
+- return out;
++ return bool(out);
+ }
+ };
+ #else // #ifndef WIN32
Home |
Main Index |
Thread Index |
Old Index