FS#71004 - [paraview] need patch to build against gcc:11
Attached to Project:
Community Packages
Opened by bartus (bartus) - Monday, 24 May 2021, 19:57 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Friday, 23 July 2021, 02:03 GMT
Opened by bartus (bartus) - Monday, 24 May 2021, 19:57 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Friday, 23 July 2021, 02:03 GMT
|
Details
Description: Unable to build against current core repo gcc
version (gcc:11)
Additional info: * gcc:11.1.0 * paraview:5.9.0 * gcc:11 transitive header regressin: https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes Sample fix I've used for AUR/paraview-opt: ``` # fix build against gcc:11 https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes files_to_patch=( VTK/Common/Core/vtkGenericDataArrayLookupHelper.h VTK/Common/Core/vtkDataArrayPrivate.txx VTK/Common/DataModel/vtkPiecewiseFunction.cxx VTK/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx VTK/Rendering/Core/vtkColorTransferFunction.cxx) sed -i '1 i\#include <limits>' -i "${files_to_patch[@]}" ``` |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Friday, 23 July 2021, 02:03 GMT
Reason for closing: Fixed
Additional comments about closing: Done.
Friday, 23 July 2021, 02:03 GMT
Reason for closing: Fixed
Additional comments about closing: Done.
[1] https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7554
[2] https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7554.patch