| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/archivers/urbackup-client/files/ |
Upload File : |
Build fails on FreeBSD due to a casting error from the wxString Class when using wx30-gtk2-3.0.4_1. This patch adds a cast (static_cast<const wchar_t*>) that resolves the error. --- client/ConfigPath.cpp.orig 2022-08-29 17:43:41 UTC +++ client/ConfigPath.cpp @@ -208,7 +208,7 @@ void ConfigPath::OnClickNew(wxCommandEvent &evt) listbox->Append(ed.GetPath() ); SBackupDir ad; ad.path=ed.GetPath(); - ad.name=getDefaultDirname(ad.path.wc_str()); + ad.name=getDefaultDirname(static_cast<const wchar_t*>(ad.path.wc_str())); ad.group=0; ad.id=0; ad.server_default = 0;