From 748d320bfe64a31abc7c89b868d769ef46d2fbdb Mon Sep 17 00:00:00 2001 From: Samuel Gomes <47574584+a740g@users.noreply.github.com> Date: Sat, 3 Feb 2024 01:16:14 +0530 Subject: [PATCH] Avoid compiling psaux.c --- internal/c/parts/video/font/build.mk | 4 +- internal/c/parts/video/font/freetype/psaux.c | 40 -------------------- 2 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 internal/c/parts/video/font/freetype/psaux.c diff --git a/internal/c/parts/video/font/build.mk b/internal/c/parts/video/font/build.mk index 32b012746..303d45b7a 100644 --- a/internal/c/parts/video/font/build.mk +++ b/internal/c/parts/video/font/build.mk @@ -6,8 +6,8 @@ # 1. Flatten all directories inside "src" except "tools". Omit contents of "tools" entirely. # 2. Then only copy all .c & .h files except: # autofit.c, bdf.c, cff.c, ftbase.c, ftcache.c, gxvalid.c, gxvfgen.c, -# otvalid.c, pcf.c, pfr.c, pshinter.c, psnames.c, raster.c, sdf.c, sfnt.c, -# smooth.c, svg.c, truetype.c, type1.c, type1cid.c, type42.c +# otvalid.c, pcf.c, pfr.c, pshinter.c, psnames.c, psaux.c, raster.c, sdf.c, +# sfnt.c, smooth.c, svg.c, truetype.c, type1.c, type1cid.c, type42.c # 3. Copy the FreeType "include" directory *without* flattening! # 4. Include in "ftzopen.h". # 5. Include in "zutil.h". diff --git a/internal/c/parts/video/font/freetype/psaux.c b/internal/c/parts/video/font/freetype/psaux.c deleted file mode 100644 index 5879ed163..000000000 --- a/internal/c/parts/video/font/freetype/psaux.c +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** - * - * psaux.c - * - * FreeType auxiliary PostScript driver component (body only). - * - * Copyright (C) 1996-2023 by - * David Turner, Robert Wilhelm, and Werner Lemberg. - * - * This file is part of the FreeType project, and may only be used, - * modified, and distributed under the terms of the FreeType project - * license, LICENSE.TXT. By continuing to use, modify, or distribute - * this file you indicate that you have read the license and - * understand and accept it fully. - * - */ - - -#define FT_MAKE_OPTION_SINGLE_OBJECT - -#include "afmparse.c" -#include "psauxmod.c" -#include "psconv.c" -#include "psobjs.c" -#include "t1cmap.c" -#include "t1decode.c" -#include "cffdecode.c" - -#include "psarrst.c" -#include "psblues.c" -#include "pserror.c" -#include "psfont.c" -#include "psft.c" -#include "pshints.c" -#include "psintrp.c" -#include "psread.c" -#include "psstack.c" - - -/* END */