Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-08-10 16:48:27 +0300
committerRay Molenkamp <github@lazydodo.com>2018-08-10 16:48:27 +0300
commite2f006949fbd68c77777b7cb8e7ad0d5e32340f7 (patch)
tree5d1ba231faad074293336d44dca5bc09205ea990 /build_files/build_environment/patches
parentc19ddcc975f9a19c0a024337fac677907c3ec977 (diff)
build_environment: update freetype to 2.9.1
Diffstat (limited to 'build_files/build_environment/patches')
-rw-r--r--build_files/build_environment/patches/freetype.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/build_files/build_environment/patches/freetype.diff b/build_files/build_environment/patches/freetype.diff
new file mode 100644
index 00000000000..cf952234795
--- /dev/null
+++ b/build_files/build_environment/patches/freetype.diff
@@ -0,0 +1,18 @@
+diff -NaurBb b/CMakeLists.txt a/CMakeLists.txt
+--- b/CMakeLists.txt 2018-05-01 12:45:46 -0600
++++ a/CMakeLists.txt 2018-08-08 13:03:22 -0600
+@@ -229,9 +229,12 @@
+ endif ()
+ string(REPLACE "/undef " "#undef "
+ FTCONFIG_H "${FTCONFIG_H}")
+- file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
+- "${FTCONFIG_H}")
++else()
++ file(READ "${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h"
++ FTCONFIG_H)
+ endif ()
++file(WRITE "${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h"
++ "${FTCONFIG_H}")
+
+
+ # Create the options file