[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Freetype 2.9.1 broken for build.win32x86/pharo.cog.spur (#319)

Ben Coman notifications at github.com
Fri Dec 14 10:55:28 UTC 2018


@estebanlm, Making just this change http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=660afb5ce81ccf3271ec80b6475ec8b16d862a25... 
```
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}")
```
fixes the build
```
-- Installing: /home/Ben/Repos/freetype265/opensmalltalk-vm/.thirdparty-cache/windows/i386/include/freetype2/freetype/config/ftconfig.h
Successfully remade target file 'install'.
```
How do you want to handle applying this patch?  
Perhaps tar up the patched code and put it on a server of our own?
e.g. http://files.pharo.org/thirdparty/freetype-2.9.1+660afb5.tar.gz

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-447290273
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181214/d720d3c4/attachment.html>


More information about the Vm-dev mailing list