Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
codelite
fix_compilation_JSON_wxWidgets.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_compilation_JSON_wxWidgets.patch of Package codelite
diff -ruN a/CodeLite/JSON.cpp b/CodeLite/JSON.cpp --- a/CodeLite/JSON.cpp 2021-02-01 02:49:48.000000000 +0700 +++ b/CodeLite/JSON.cpp 2021-03-07 00:44:37.366114925 +0700 @@ -432,11 +432,7 @@ JSONItem& JSONItem::addProperty(const wxString& name, const wxChar* value) { -#if wxVERSION_NUMBER >= 2900 && wxVERSION_NUMBER < 3104 append(JSONItem(name, wxString(value).c_str(), cJSON_String)); -#else - append(JSONItem(name, wxString(value), cJSON_String)); -#endif return *this; } @@ -456,11 +452,7 @@ return *this; } -#if wxVERSION_NUMBER >= 2900 && wxVERSION_NUMBER < 3104 void JSONItem::arrayAppend(const wxString& value) { arrayAppend(JSONItem(wxT(""), value.c_str(), cJSON_String)); } -#else -void JSONItem::arrayAppend(const wxString& value) { arrayAppend(JSONItem(wxT(""), value, cJSON_String)); } -#endif wxArrayString JSONItem::toArrayString(const wxArrayString& defaultValue) const {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor