Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168724 Details for
Bug 155974
[science overlay] sci-misc/salome-* (New packages)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for compilation with vtk-5.2
salome-geom-3.2.6-vtk-5.2.patch (text/plain), 2.20 KB, created by
Bert Karwatzki
on 2008-10-16 20:27:35 UTC
(
hide
)
Description:
Patch for compilation with vtk-5.2
Filename:
MIME Type:
Creator:
Bert Karwatzki
Created:
2008-10-16 20:27:35 UTC
Size:
2.20 KB
patch
obsolete
>diff -aur src3.2.6.old/GEOM_SRC_3.2.6/src/OBJECT/GEOM_OCCReader.cxx src3.2.6/GEOM_SRC_3.2.6/src/OBJECT/GEOM_OCCReader.cxx >--- src3.2.6.old/GEOM_SRC_3.2.6/src/OBJECT/GEOM_OCCReader.cxx 2008-07-25 09:16:09.000000000 +0200 >+++ src3.2.6/GEOM_SRC_3.2.6/src/OBJECT/GEOM_OCCReader.cxx 2008-10-16 22:11:49.000000000 +0200 >@@ -88,7 +88,7 @@ > static Standard_Real HatcherConfusion2d = 1.e-8 ; > static Standard_Real HatcherConfusion3d = 1.e-8 ; > >-static Standard_Integer lastVTKpoint = 0; >+static vtkIdType lastVTKpoint = 0; > static Standard_Integer PlotCount = 0; > static Standard_Real IsoRatio = 1.001; > static Standard_Integer MaxPlotCount = 5; >@@ -483,9 +483,9 @@ > { > float coord[3]; > coord[0] = P.X(); coord[1] = P.Y(); coord[2] = P.Z(); >- Standard_Integer NewVTKpoint = Pts->InsertNextPoint(coord); >+ vtkIdType NewVTKpoint = Pts->InsertNextPoint(coord); > >- int pts[2]; >+ vtkIdType pts[2]; > pts[0] = lastVTKpoint; > pts[1] = NewVTKpoint; > >@@ -751,7 +751,7 @@ > aP2 = theNodesP(nbnodes); > > float coord[3]; >- int pts[2]; >+ vtkIdType pts[2]; > > for(int j=1;j<nbnodes;j++) { > gp_Pnt pt1 = theNodesP(j); >@@ -783,7 +783,7 @@ > aP2 = theNodesPoly(nbnodes); > > float coord[3]; >- int pts[2]; >+ vtkIdType pts[2]; > > for(int j=1;j<nbnodes;j++) { > Standard_Integer id1 = Nodesidx(j); >@@ -854,12 +854,12 @@ > float coord[3]; > coord[0] = xo; coord[1] = yo; coord[2] = zo; > >- int ptLoc = Pts->InsertNextPoint(coord); >- int ptFirst = 0; >- int ptPrev = 0; >- int ptCur = 0; >+ vtkIdType ptLoc = Pts->InsertNextPoint(coord); >+ vtkIdType ptFirst = 0; >+ vtkIdType ptPrev = 0; >+ vtkIdType ptCur = 0; > >- int pts[2]; >+ vtkIdType pts[2]; > > int NbPoints = 15; > for (int i = 1; i <= NbPoints; i++, ptPrev = ptCur) >@@ -947,7 +947,7 @@ > > gp_Pnt P = BRep_Tool::Pnt( aVertex ); > float delta = 1, coord[3]; >- int pts[2]; >+ vtkIdType pts[2]; > // insert pt > ZERO_COORD; coord[0] = +delta; > pts[0] = Pts->InsertNextPoint(coord); >@@ -1026,7 +1026,7 @@ > Standard_Integer N1,N2,N3; > Triangles(i).Get(N1,N2,N3); > >- int pts[3]; >+ vtkIdType pts[3]; > pts[0] = N1-1; pts[1] = N2-1; pts[2] = N3-1; > Cells->InsertNextCell(3,pts); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155974
:
102571
|
102572
|
102573
|
114639
|
114650
|
114651
|
114653
|
114655
|
114657
|
114659
|
114660
|
114662
|
114664
|
120027
|
120226
|
131980
|
131981
|
131983
|
137331
|
137336
|
137338
|
137719
|
138048
|
138578
|
138580
|
138581
|
138582
|
138583
|
138584
|
138586
|
138588
|
138877
|
138896
|
138925
|
138960
|
139043
|
139045
|
139956
|
139958
|
139964
|
139965
|
139973
|
140002
|
140005
|
140007
|
140030
|
140032
|
140064
|
140066
|
140068
|
140071
|
140073
|
140086
|
140088
|
140280
|
140283
|
140301
|
140303
|
140366
|
140368
|
140373
|
140375
|
140378
|
140385
|
140386
|
140455
|
140466
|
140468
|
140472
|
140474
|
140637
|
141242
|
141243
|
141250
|
141252
|
141254
|
141256
|
141257
|
141462
|
141473
|
141474
|
141475
|
141565
|
141572
|
142892
|
142894
|
142905
|
143984
|
143986
|
144011
|
144061
|
144063
|
144084
|
144086
|
144089
|
144091
|
144093
|
144098
|
144105
|
144107
|
144117
|
144119
|
144182
|
144184
|
144185
|
144187
|
144188
|
144198
|
144223
|
144305
|
144306
|
144308
|
144310
|
144311
|
144313
|
144314
|
144316
|
144318
|
144320
|
144347
|
144348
|
144350
|
144352
|
144353
|
144354
|
144356
|
144357
|
144557
|
145883
|
145885
|
145887
|
146138
|
146414
|
147142
|
147146
|
148604
|
148606
|
148607
|
148609
|
148611
|
148613
|
148615
|
148617
|
148618
|
148619
|
150326
|
151031
|
151032
|
151034
|
151036
|
151038
|
151039
|
151040
|
151042
|
151044
|
151045
|
152339
|
152341
|
152343
|
152345
|
152347
|
152349
|
152351
|
152353
|
152355
|
152357
|
152359
|
152361
|
152363
|
152365
|
152369
|
152371
|
152979
|
153067
|
154323
|
154325
|
154327
|
154329
|
154331
|
154333
|
154335
|
158563
|
161347
|
163275
|
163841
|
163842
|
164412
|
164611
|
168552
|
168560
|
168624
|
168626
| 168724 |
168726
|
168734
|
168736
|
178432
|
178434
|
178739
|
179160
|
179161
|
179162
|
179237
|
179627
|
179628
|
183321
|
183323
|
183324
|
183325
|
183327
|
183329
|
183347
|
183348
|
189058
|
189059
|
189061
|
200799
|
200800
|
200802
|
200803
|
200805
|
200807
|
200809
|
200811
|
200812
|
200813
|
200815
|
200816
|
200818
|
200820
|
200821
|
200823
|
200825
|
204604
|
204699
|
204980
|
205339
|
223869
|
223871
|
232539
|
234261
|
253803
|
253805
|
254743
|
254751
|
254755
|
257260
|
257261
|
268839
|
268883
|
278009
|
286253
|
286255
|
286257
|
286259
|
286261
|
286263
|
286265
|
286267
|
286269
|
286271
|
286273
|
323878