~ruther/guix-local

ref: 92412b6ffe637e0423153e14f72324ae5b4141d3 guix-local/gnu/packages/patches/vtk-7-gcc-11-compat.patch -rw-r--r-- 544 bytes
92412b6f — 宋文武 gnu: xf86-video-savage: Update to 2.4.1. 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
Description: GCC 11 now enforces that comparison objects be invocable as const.
--- a/Rendering/Label/vtkLabelHierarchy.cxx
+++ b/Rendering/Label/vtkLabelHierarchy.cxx
@@ -525,1 +525,1 @@
-                    const vtkHierarchyNode & b)
+                    const vtkHierarchyNode & b) const
--- a/Rendering/Label/vtkLabelHierarchyPrivate.h
+++ b/Rendering/Label/vtkLabelHierarchyPrivate.h
@@ -66,1 +66,1 @@
-    bool operator () ( const vtkIdType& a, const vtkIdType& b )
+    bool operator () ( const vtkIdType& a, const vtkIdType& b ) const