diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-02 17:36:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-02 17:36:40 +0100 |
commit | 171a011ad3a131671aeb5a98b9e3adf219ad2865 (patch) | |
tree | 0c877a3d1a37f10e37ad7168cfc52054aa0948a7 /sci-visualization/paraview/files | |
parent | 75fc75ae1f0481ffdb78450e801a9b443ba641bd (diff) |
gentoo resync : 02.04.2018
Diffstat (limited to 'sci-visualization/paraview/files')
-rw-r--r-- | sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch b/sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch new file mode 100644 index 000000000000..b4b64e94eef8 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-5.4.1-jsoncpp_1.8.4.patch @@ -0,0 +1,17 @@ +diff --git a/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx b/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx +index b6e2b55..d27ad9d 100644 +--- a/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx ++++ b/ParaViewCore/ServerManager/Core/vtkSMSettings.cxx +@@ -788,7 +788,10 @@ public: + this->GetSettingBelowPriority(propertySettingCString, highestPriority); + if (lowerPriorityValue.isNull()) + { +- if (!proxyValue.removeMember(property->GetXMLName()).isNull()) ++ // Allocated as done in Json::Value removeMember(const char* key). ++ Json::Value removedValue; ++ if (proxyValue.removeMember(property->GetXMLName(), &removedValue) && ++ !removedValue.isNull()) + { + this->Modified(); + } + |