shithub: freetype+ttf2subf

Download patch

ref: 707cd028b2b419a5491d444b128d8092afd9f201
parent: cc2f3cdecff5a351e7e8961b9f2e389ab740231a
author: Steve Robinson <[email protected]>
date: Wed Jan 10 02:48:39 EST 2018

* CMakeLists.txt [win32]: Suppress warnings for POSIX functions.

git/fs: mount .git/fs: mount/attach disallowed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,6 +162,9 @@
 
 # Compiler definitions for building the library
 add_definitions(-DFT2_BUILD_LIBRARY)
+if (WIN32)
+  add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+endif ()
 
 
 # Find dependencies
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-10  Steve Robinson  <[email protected]>
+
+	* CMakeLists.txt [win32]: Suppress warnings for POSIX functions.
+
 2018-01-10  Ewald Hew  <[email protected]>
 
 	[psaux] Correctly handle Flex features (#52846).