all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 6988e658729d97a8b8d55edede2b4094021ee5ae 1262 bytes (raw)
name: gnu/packages/patches/vtk-fix-freetypetools-build-failure.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
This fixes a build failure in VTK when building against recent versions
of freetype.

  https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7432

Patch by Ben Boeckel <ben.boeckel@kitware.com>

Subject: [PATCH] vtkFreeTypeTools: avoid using an internal macro

This macro has been removed upstream as it was always intended to be
private.
---
 Rendering/FreeType/vtkFreeTypeTools.cxx | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Rendering/FreeType/vtkFreeTypeTools.cxx b/Rendering/FreeType/vtkFreeTypeTools.cxx
index c54289dc60..03b899c4da 100644
--- a/Rendering/FreeType/vtkFreeTypeTools.cxx
+++ b/Rendering/FreeType/vtkFreeTypeTools.cxx
@@ -387,11 +387,8 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMapCache()
 }
 
 //----------------------------------------------------------------------------
-FT_CALLBACK_DEF(FT_Error)
-vtkFreeTypeToolsFaceRequester(FTC_FaceID face_id,
-                              FT_Library lib,
-                              FT_Pointer request_data,
-                              FT_Face* face)
+static FT_Error vtkFreeTypeToolsFaceRequester(
+  FTC_FaceID face_id, FT_Library lib, FT_Pointer request_data, FT_Face* face)
 {
 #if VTK_FTFC_DEBUG_CD
   printf("vtkFreeTypeToolsFaceRequester()\n");
-- 
2.30.1


debug log:

solving 6988e65872 ...
found 6988e65872 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.