Skip to content

Commit

Permalink
Add patch for harfbuzz test file
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Sep 15, 2023
1 parent dc5c1bd commit 3ebffff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions var/spack/repos/builtin/packages/harfbuzz/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cstdio>
#include <cstdlib>
""",
"test/threads/hb-subset-threads.cc",
)


class SetupEnvironment(object):
Expand Down

0 comments on commit 3ebffff

Please sign in to comment.