FreeBSD Bugzilla – Attachment 188600 Details for
Bug 223758
math/saga: fail build with wxgtk30 - 3.0.3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix
saga.patch (text/plain), 1.14 KB, created by
Ivan Rozhuk
on 2017-12-06 22:19:15 UTC
(
hide
)
Description:
patch to fix
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2017-12-06 22:19:15 UTC
Size:
1.14 KB
patch
obsolete
>Index: math/saga/files/patch-src_saga__core_saga__gui_wksp__tool.cpp >=================================================================== >--- math/saga/files/patch-src_saga__core_saga__gui_wksp__tool.cpp (nonexistent) >+++ math/saga/files/patch-src_saga__core_saga__gui_wksp__tool.cpp (working copy) >@@ -0,0 +1,19 @@ >+--- src/saga_core/saga_gui/wksp_tool.cpp.orig 2017-12-07 00:37:00.689067000 +0300 >++++ src/saga_core/saga_gui/wksp_tool.cpp 2017-12-07 00:51:19.216303000 +0300 >+@@ -156,14 +156,14 @@ >+ >+ FileName.SetExt ("html"); >+ >+- if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) >++ if( Stream.Open(static_cast<const wchar_t*>(FileName.GetFullPath().wc_str()), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) >+ { >+ return( Description.c_str() ); >+ } >+ >+ FileName.SetExt ("htm"); >+ >+- if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) >++ if( Stream.Open(static_cast<const wchar_t*>(FileName.GetFullPath().wc_str()), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) >+ { >+ return( Description.c_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 223758
:
188600
|
189950