FreeBSD Bugzilla – Attachment 188129 Details for
Bug 223757
sysutils/passwordsafe: fix build with wxgtk30 - 3.0.3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
build fix
passwordsafe.patch (text/plain), 1.10 KB, created by
Ivan Rozhuk
on 2017-11-20 00:19:46 UTC
(
hide
)
Description:
build fix
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2017-11-20 00:19:46 UTC
Size:
1.10 KB
patch
obsolete
>Index: sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp >=================================================================== >--- sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp (nonexistent) >+++ sysutils/passwordsafe/files/patch-src_ui_wxWidgets_passwordsubset.cpp (working copy) >@@ -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())); >+ } >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223757
: 188129