Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 10:40:57 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454537 - head/sysutils/passwordsafe/files
Message-ID:  <201711201040.vAKAevSW099785@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()));
+   }
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711201040.vAKAevSW099785>