Module Name:    xsrc
Committed By:   mrg
Date:           Fri Feb 24 17:08:51 UTC 2023

Modified Files:
        xsrc/external/mit/freetype/dist/include/freetype/config: ftoption.h

Log Message:
arrange for ftoption.h to define FT_CONFIG_OPTION_USE_BROTLI but not for tools

guard the definition in ftoption.h with #ifndef TOOL_FCCACHE, and build the
tools portions with this defined if not already set.

this fixes building pkgsrc blender with native x11.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
    xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h
diff -u xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h:1.9 xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h:1.10
--- xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h:1.9	Wed Oct 21 14:55:03 2020
+++ xsrc/external/mit/freetype/dist/include/freetype/config/ftoption.h	Fri Feb 24 17:08:50 2023
@@ -304,6 +304,9 @@ FT_BEGIN_HEADER
    *   here with the configured one.
    */
 /* #define FT_CONFIG_OPTION_USE_BROTLI */
+#ifndef TOOL_FCCACHE
+#define FT_CONFIG_OPTION_USE_BROTLI 1
+#endif
 
 
   /**************************************************************************

Reply via email to