view src/vtk-2-findfreetype.patch @ 4905:aa24b03ebb89

build-m4: Add patch for glibc >= 2.28 (bug #55214). * src/build-m4-glibc2-28.patch: Add patch for m4 on systems with glibc >= 2.28. * dist-files.mk: add ref to patch.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 10 Dec 2018 21:32:21 +0100
parents 99516e73b368
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

This patch has been taken from:
http://www.vtk.org/Bug/view.php?id=12688

--- VTK/CMake/FindFREETYPE.cmake.orig	2011-08-24 15:37:07.000000000 +0200
+++ VTK/CMake/FindFREETYPE.cmake	2011-10-25 22:55:52.265702464 +0200
@@ -15,6 +15,7 @@
 FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER freetype/config/ftheader.h
   /usr/include/freetype2
   /usr/local/include/freetype2
+  PATH_SUFFIXES freetype2
 )
 
 FIND_LIBRARY(FREETYPE_LIBRARY freetype)