silo: correct clang-related patch (#23361)

This commit is contained in:
Erik Schnetter
2021-05-03 10:15:44 -04:00
committed by GitHub
parent 913bff0f67
commit 94f66d8ef8

View File

@@ -77,6 +77,10 @@ def clang_9_patch(self):
# hasn't yet made it into silo.
# https://github.com/LLNL/fpzip/blob/master/src/pcmap.h
if self.spec.satisfies('@4.10.2-bsd'):
# The files below don't exist in the BSD licenced version
return
def repl(match):
# Change macro-like uppercase to title-case.
return match.group(1).title()