diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-05-06 19:34:02 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-05-06 22:44:28 -0500 |
commit | af9d9dc9121ccf9b21d6b001f7f97992e09552ca (patch) | |
tree | b3feac6d896daa248090f2bfae376dcb2956501d /sci-libs/opencascade/files | |
parent | sys-fs/btrfs-heatmap: update version (diff) | |
download | tamiko-af9d9dc9121ccf9b21d6b001f7f97992e09552ca.tar.gz tamiko-af9d9dc9121ccf9b21d6b001f7f97992e09552ca.tar.bz2 tamiko-af9d9dc9121ccf9b21d6b001f7f97992e09552ca.zip |
sci-libs/opencascade: version bump to 7.2.0
Package-Manager: Portage-2.3.34, Repoman-2.3.9
Diffstat (limited to 'sci-libs/opencascade/files')
-rw-r--r-- | sci-libs/opencascade/files/opencascade-7.2.0-vtk_fixes.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sci-libs/opencascade/files/opencascade-7.2.0-vtk_fixes.patch b/sci-libs/opencascade/files/opencascade-7.2.0-vtk_fixes.patch new file mode 100644 index 0000000..945ced2 --- /dev/null +++ b/sci-libs/opencascade/files/opencascade-7.2.0-vtk_fixes.patch @@ -0,0 +1,50 @@ +diff --git a/src/IVtkVTK/IVtkVTK_ShapeData.cxx b/src/IVtkVTK/IVtkVTK_ShapeData.cxx +index c05c28b..02d2015 100755 +--- a/src/IVtkVTK/IVtkVTK_ShapeData.cxx ++++ b/src/IVtkVTK/IVtkVTK_ShapeData.cxx +@@ -80,9 +80,9 @@ void IVtkVTK_ShapeData::InsertVertex (const IVtk_IdType theShapeID, + vtkIdType aPointIdVTK = thePointId; + myPolyData->InsertNextCell (VTK_VERTEX, 1, &aPointIdVTK); + const vtkIdType aShapeIDVTK = theShapeID; +- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK); ++ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK); + const vtkIdType aType = theMeshType; +- myMeshTypes->InsertNextTupleValue (&aType); ++ myMeshTypes->InsertNextTypedTuple (&aType); + } + + //================================================================ +@@ -97,9 +97,9 @@ void IVtkVTK_ShapeData::InsertLine (const IVtk_IdType theShapeID, + vtkIdType aPoints[2] = { thePointId1, thePointId2 }; + myPolyData->InsertNextCell (VTK_LINE, 2, aPoints); + const vtkIdType aShapeIDVTK = theShapeID; +- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK); ++ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK); + const vtkIdType aType = theMeshType; +- myMeshTypes->InsertNextTupleValue (&aType); ++ myMeshTypes->InsertNextTypedTuple (&aType); + } + + //================================================================ +@@ -124,9 +124,9 @@ void IVtkVTK_ShapeData::InsertLine (const IVtk_IdType theShapeID, + + myPolyData->InsertNextCell (VTK_POLY_LINE, anIdList); + const vtkIdType aShapeIDVTK = theShapeID; +- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK); ++ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK); + const vtkIdType aType = theMeshType; +- myMeshTypes->InsertNextTupleValue (&aType); ++ myMeshTypes->InsertNextTypedTuple (&aType); + } + } + +@@ -143,7 +143,7 @@ void IVtkVTK_ShapeData::InsertTriangle (const IVtk_IdType theShapeID, + vtkIdType aPoints[3] = { thePointId1, thePointId2, thePointId3 }; + myPolyData->InsertNextCell (VTK_TRIANGLE, 3, aPoints); + const vtkIdType aShapeIDVTK = theShapeID; +- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK); ++ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK); + const vtkIdType aType = theMeshType; +- myMeshTypes->InsertNextTupleValue (&aType); ++ myMeshTypes->InsertNextTypedTuple (&aType); + } |