<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=513630" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/estebanlm">@estebanlm</a>, Making just this change <a href="http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=660afb5ce81ccf3271ec80b6475ec8b16d862a25" rel="nofollow">http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=660afb5ce81ccf3271ec80b6475ec8b16d862a25</a>...</p>
<pre><code>diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad8ded0..6f3fef7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,9 +229,12 @@ if (UNIX)
   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}")
</code></pre>
<p>fixes the build</p>
<pre><code>-- Installing: /home/Ben/Repos/freetype265/opensmalltalk-vm/.thirdparty-cache/windows/i386/include/freetype2/freetype/config/ftconfig.h
Successfully remade target file 'install'.
</code></pre>
<p>How do you want to handle applying this patch?<br>
Perhaps tar up the patched code and put it on a server of our own?<br>
e.g. <a href="http://files.pharo.org/thirdparty/freetype-2.9.1+660afb5.tar.gz" rel="nofollow">http://files.pharo.org/thirdparty/freetype-2.9.1+660afb5.tar.gz</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-447290273">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AhLyW0aocR4G1fGm05X6UF2ecxREv-AHks5u44OggaJpZM4ZIiVx">mute the thread</a>.<img src="https://github.com/notifications/beacon/AhLyW-iaiu7H0XiBmyBBwIAVDvSZFJY_ks5u44OggaJpZM4ZIiVx.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenSmalltalk/opensmalltalk-vm","title":"OpenSmalltalk/opensmalltalk-vm","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bencoman in #319: @estebanlm, Making just this change http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=660afb5ce81ccf3271ec80b6475ec8b16d862a25... \r\n```\r\ndiff --git a/CMakeLists.txt b/CMakeLists.txt\r\nindex ad8ded0..6f3fef7 100644\r\n--- a/CMakeLists.txt\r\n+++ b/CMakeLists.txt\r\n@@ -229,9 +229,12 @@ if (UNIX)\r\n   endif ()\r\n   string(REPLACE \"/undef \" \"#undef \"\r\n     FTCONFIG_H \"${FTCONFIG_H}\")\r\n-  file(WRITE \"${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h\"\r\n-    \"${FTCONFIG_H}\")\r\n+else()\r\n+  file(READ \"${PROJECT_SOURCE_DIR}/include/freetype/config/ftconfig.h\"\r\n+    FTCONFIG_H)\r\n endif ()\r\n+file(WRITE \"${PROJECT_BINARY_DIR}/include/freetype/config/ftconfig.h\"\r\n+  \"${FTCONFIG_H}\")\r\n```\r\nfixes the build\r\n```\r\n-- Installing: /home/Ben/Repos/freetype265/opensmalltalk-vm/.thirdparty-cache/windows/i386/include/freetype2/freetype/config/ftconfig.h\r\nSuccessfully remade target file 'install'.\r\n```\r\nHow do you want to handle applying this patch?  \r\nPerhaps tar up the patched code and put it on a server of our own?\r\ne.g. http://files.pharo.org/thirdparty/freetype-2.9.1+660afb5.tar.gz"}],"action":{"name":"View Issue","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-447290273"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-447290273",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-447290273",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>