Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/vtk/files: vtk-5.8.0-boost.patch
Date: Thu, 07 Jun 2012 14:39:51
Message-Id: 20120607143927.0C0E82004C@flycatcher.gentoo.org
1 jlec 12/06/07 14:39:27
2
3 Modified: vtk-5.8.0-boost.patch
4 Log:
5 sci-libs/vtk: Version Bump, #420103; Update boost patch, #412945
6
7 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sci-libs/vtk/files/vtk-5.8.0-boost.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.8.0-boost.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.8.0-boost.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/vtk/files/vtk-5.8.0-boost.patch?r1=1.1&r2=1.2
15
16 Index: vtk-5.8.0-boost.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/vtk/files/vtk-5.8.0-boost.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- vtk-5.8.0-boost.patch 10 Feb 2012 19:36:06 -0000 1.1
23 +++ vtk-5.8.0-boost.patch 7 Jun 2012 14:39:26 -0000 1.2
24 @@ -2,7 +2,7 @@
25 index c789f6b..13e7cb6 100644
26 --- a/Infovis/vtkBoostBreadthFirstSearchTree.cxx
27 +++ b/Infovis/vtkBoostBreadthFirstSearchTree.cxx
28 -@@ -47,6 +47,17 @@ using namespace boost;
29 +@@ -47,6 +47,21 @@ using namespace boost;
30 vtkStandardNewMacro(vtkBoostBreadthFirstSearchTree);
31
32
33 @@ -12,7 +12,11 @@
34 + return e.Id;
35 + }
36 + vtkIdType unwrap_edge_id(boost::detail::reverse_graph_edge_descriptor<vtkEdgeType> const &e) {
37 ++# if BOOST_VERSION == 104800
38 + return e.underlying_desc.Id;
39 ++# else
40 ++ return e.underlying_descx.Id;
41 ++# endif
42 + }
43 +}
44 +#endif