Commits (6)
......@@ -37,4 +37,12 @@ if (APPLE)
DEPENDEES install
COMMENT ""
WORKING_DIRECTORY <INSTALL_DIR>/lib)
# Patch reqiured to build boost 1.71 on macOS 10.13
cmake_host_system_information(RESULT os_release QUERY OS_RELEASE)
if (os_release VERSION_GREATER "10.13" AND os_release VERSION_LESS "10.14")
superbuild_apply_patch(boost-iostreams pull103
"Patch boost for macOS 10.13"
)
endif()
endif ()
......@@ -18,6 +18,9 @@ superbuild_add_project(freetype
INSTALL_COMMAND
$(MAKE) install)
superbuild_apply_patch(freetype 64bit-inode
"Support 64bit inode filesystems")
# https://savannah.nongnu.org/bugs/?57206
superbuild_project_add_step(create-docs-markdown
COMMAND "${CMAKE_COMMAND}"
......
diff -u -Nru5 freetype-2.10.2/configure freetype-2.10.2.64bit-inode/configure
--- freetype-2.10.2/configure 2020-03-22 15:24:22.000000000 -0400
+++ freetype-2.10.2.64bit-inode/configure 2021-04-07 20:52:42.349470882 -0400
@@ -91,11 +91,11 @@
# build a dummy Makefile if we are not building in the source tree;
# we use inodes to avoid issues with symbolic links
inode_src=`ls -id $abs_ft2_dir | awk '{print $1}'`
inode_dst=`ls -id $abs_curr_dir | awk '{print $1}'`
-if test $inode_src -ne $inode_dst; then
+if test $inode_src != $inode_dst; then
if test ! -d docs; then
mkdir docs
echo "Copying documentation assets"
cp -R $abs_ft2_dir/docs/markdown $abs_curr_dir/docs
fi
include("${CMAKE_CURRENT_LIST_DIR}/../boost.common.cmake")
# Patch reqiured to build boost 1.71 on macOS 10.13
cmake_host_system_information(RESULT os_release QUERY OS_RELEASE)
if (os_release VERSION_GREATER "10.13" AND os_release VERSION_LESS "10.14")
superbuild_apply_patch(boost-iostreams pull103
"Patch boost for macOS 10.13"
)
endif()