From 3ebffff358a7ed98852a9fd4a21f35f60df2dd56 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Fri, 15 Sep 2023 10:11:44 -0500 Subject: [PATCH] Add patch for harfbuzz test file --- var/spack/repos/builtin/packages/harfbuzz/package.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/var/spack/repos/builtin/packages/harfbuzz/package.py b/var/spack/repos/builtin/packages/harfbuzz/package.py index 74e033e3a0bf49..c1717e8aa735a0 100644 --- a/var/spack/repos/builtin/packages/harfbuzz/package.py +++ b/var/spack/repos/builtin/packages/harfbuzz/package.py @@ -117,6 +117,15 @@ def setup_dependent_run_environment(self, env, dependent_spec): def patch(self): change_sed_delimiter("@", ";", "src/Makefile.in") + filter_file( + r'#include "hb-subset.h"', + """ + #include "hb-subset.h" + #include + #include + """, + "test/threads/hb-subset-threads.cc", + ) class SetupEnvironment(object):