[paraview] 08/08: Add forgotten patch.
Anton Gladky
gladk at moszumanska.debian.org
Thu May 15 04:19:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository paraview.
commit fd29ad883a37b3aa890c671e884090c3e693b5ee
Author: Anton Gladky <gladk at debian.org>
Date: Wed May 14 22:18:21 2014 +0200
Add forgotten patch.
---
debian/patches/use_system_json.patch | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/debian/patches/use_system_json.patch b/debian/patches/use_system_json.patch
new file mode 100644
index 0000000..f3ddb10
--- /dev/null
+++ b/debian/patches/use_system_json.patch
@@ -0,0 +1,32 @@
+Description: Use packaged version of json instead of embedded one.
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2013-06-13
+
+--- a/VTK/IO/Geometry/module.cmake
++++ b/VTK/IO/Geometry/module.cmake
+@@ -7,7 +7,6 @@
+ vtkCommonMisc
+ vtkIOCore
+ vtkzlib
+- vtkjsoncpp
+ TEST_DEPENDS
+ vtkIOAMR
+ vtkIOLegacy
+--- a/VTK/IO/Geometry/CMakeLists.txt
++++ b/VTK/IO/Geometry/CMakeLists.txt
+@@ -41,3 +41,4 @@
+ )
+
+ vtk_module_library(vtkIOGeometry ${Module_SRCS})
++target_link_libraries(vtkIOGeometry jsoncpp)
+--- a/VTK/IO/Geometry/vtkPlot3DMetaReader.cxx
++++ b/VTK/IO/Geometry/vtkPlot3DMetaReader.cxx
+@@ -32,7 +32,7 @@
+ #if defined(WIN32) && defined(VTK_BUILD_SHARED_LIBS)
+ # define JSON_DLL
+ #endif
+-#include <json/json.h>
++#include <jsoncpp/json/json.h>
+
+ #define CALL_MEMBER_FN(object,ptrToMember) ((object).*(ptrToMember))
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/paraview.git
More information about the debian-science-commits
mailing list