[arch-commits] Commit in ogre/trunk (freetype.patch)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Tue Nov 26 11:58:20 UTC 2013


    Date: Tuesday, November 26, 2013 @ 12:58:19
  Author: svenstaro
Revision: 101485

Add patch for ogre freetype detection

Added:
  ogre/trunk/freetype.patch

----------------+
 freetype.patch |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Added: freetype.patch
===================================================================
--- freetype.patch	                        (rev 0)
+++ freetype.patch	2013-11-26 11:58:19 UTC (rev 101485)
@@ -0,0 +1,21 @@
+diff -r 538b33f531b5 CMake/Packages/FindFreetype.cmake
+--- a/CMake/Packages/FindFreetype.cmake	Sun Nov 24 00:46:46 2013 -0600
++++ b/CMake/Packages/FindFreetype.cmake	Tue Nov 26 12:56:17 2013 +0100
+@@ -31,7 +31,7 @@
+   FREETYPE_INCLUDE_DIR
+ )
+ 
+-set(FREETYPE_LIBRARY_NAMES freetype2501 freetype250 freetype2412 freetype2411 freetype2410 freetype249 freetype248 freetype246 freetype2311 freetype239 freetype238 freetype235 freetype219 freetype)
++set(FREETYPE_LIBRARY_NAMES freetype251 freetype2501 freetype250 freetype2412 freetype2411 freetype2410 freetype249 freetype248 freetype246 freetype2311 freetype239 freetype238 freetype235 freetype219 freetype)
+ get_debug_names(FREETYPE_LIBRARY_NAMES)
+ 
+ use_pkgconfig(FREETYPE_PKGC freetype2)
+@@ -43,7 +43,7 @@
+ findpkg_framework(FREETYPE)
+ message(STATUS "CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}")
+ 
+-find_path(FREETYPE_INCLUDE_DIR NAMES freetype/freetype.h HINTS ${FREETYPE_INC_SEARCH_PATH} ${FREETYPE_PKGC_INCLUDE_DIRS} PATH_SUFFIXES freetype2)
++find_path(FREETYPE_INCLUDE_DIR NAMES freetype.h freetype/freetype.h HINTS ${FREETYPE_INC_SEARCH_PATH} ${FREETYPE_PKGC_INCLUDE_DIRS} PATH_SUFFIXES freetype2)
+ find_path(FREETYPE_FT2BUILD_INCLUDE_DIR NAMES ft2build.h HINTS ${FREETYPE_INC_SEARCH_PATH} ${FREETYPE_PKGC_INCLUDE_DIRS})
+ 
+ find_library(FREETYPE_LIBRARY_REL NAMES ${FREETYPE_LIBRARY_NAMES} HINTS ${FREETYPE_LIB_SEARCH_PATH} ${FREETYPE_PKGC_LIBRARY_DIRS} PATH_SUFFIXES "" Release RelWithDebInfo MinSizeRel)




More information about the arch-commits mailing list