svn commit: r454537 - head/sysutils/passwordsafe/files
Bernard Spil
brnrd at FreeBSD.org
Mon Nov 20 10:40:59 UTC 2017
Author: brnrd
Date: Mon Nov 20 10:40:57 2017
New Revision: 454537
URL: https://svnweb.freebsd.org/changeset/ports/454537
Log:
sysutils/passwordsafe: Fix build with wx 3.0.3.1
PR: 223757
Submitted by: rozhuk im gmail.com
Added:
head/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp (contents, props changed)
Added: head/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp Mon Nov 20 10:40:57 2017 (r454537)
@@ -0,0 +1,20 @@
+--- src/ui/wxWidgets/passwordsubset.cpp.orig 2017-11-20 03:11:40.369984000 +0300
++++ src/ui/wxWidgets/passwordsubset.cpp 2017-11-20 03:12:19.012627000 +0300
+@@ -240,7 +240,7 @@
+ m_vals->Clear();
+ m_error->SetLabel(wxEmptyString);
+
+- std::wistringstream is(pos_str.wc_str());
++ std::wistringstream is(static_cast<const wchar_t*>(pos_str.wc_str()));
+ int pos;
+ while (is >> pos) {
+ if (pos > 0 && pos <= N)
+@@ -280,7 +280,7 @@
+ wxASSERT(val_str.length() % 2 == 0);
+ for (size_t i = 0; i < val_str.length(); i += 2)
+ reduced_str += val_str[i];
+- PWSclipboard::GetInstance()->SetData(reduced_str.wc_str());
++ PWSclipboard::GetInstance()->SetData(static_cast<const wchar_t*>(reduced_str.wc_str()));
+ }
+ }
+
More information about the svn-ports-all
mailing list