Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/freetype/dist/include/freetype/config arrange...



details:   https://anonhg.NetBSD.org/xsrc/rev/1a6ab08db83c
branches:  trunk
changeset: 7424:1a6ab08db83c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Feb 24 17:08:50 2023 +0000

description:
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.

diffstat:

 external/mit/freetype/dist/include/freetype/config/ftoption.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r c0d369646859 -r 1a6ab08db83c external/mit/freetype/dist/include/freetype/config/ftoption.h
--- a/external/mit/freetype/dist/include/freetype/config/ftoption.h     Tue Feb 07 07:29:44 2023 +0000
+++ b/external/mit/freetype/dist/include/freetype/config/ftoption.h     Fri Feb 24 17:08:50 2023 +0000
@@ -304,6 +304,9 @@
    *   here with the configured one.
    */
 /* #define FT_CONFIG_OPTION_USE_BROTLI */
+#ifndef TOOL_FCCACHE
+#define FT_CONFIG_OPTION_USE_BROTLI 1
+#endif
 
 
   /**************************************************************************



Home | Main Index | Thread Index | Old Index