mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 15:59:18 -04:00
In file included from mlsdialog.cpp:1: ./mlsdialog.h:30:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'bool' return false; ^~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p478276_s338342/logs/errors/linm-0.8.1.1_5.log - Fix build on 12.0 too; it fails to link and seems to want iconv from ports for the //TRANSLIT extension /usr/bin/ld: error: undefined symbol: libiconv_open >>> referenced by mlslocale.cpp >>> mlslocale.o:(MLSUTIL::code_convert(char const*, char const*, char const*)) in archive ../../lib/libmlscommon.a
16 lines
624 B
C
16 lines
624 B
C
In file included from mlsdialog.cpp:1:
|
|
./mlsdialog.h:30:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'bool'
|
|
return false;
|
|
^~~~~
|
|
|
|
--- lib/mlsdialog.h.orig 2018-08-30 11:11:28 UTC
|
|
+++ lib/mlsdialog.h
|
|
@@ -27,7 +27,7 @@ class MlsDialog (public)
|
|
virtual void* MsgWaitBox(const string& sTitle, const string& sMsg)
|
|
{
|
|
cout << "MsgWaitBox :: " << sTitle << "Msg :: " << sMsg << endl;
|
|
- return false;
|
|
+ return NULL;
|
|
}
|
|
virtual void MsgWaitEnd(void* ) {}
|
|
virtual int InputBox(const string& sTitle, string& sInputStr, bool /*bPasswd*/ = false)
|