tmux: Fix MacOS header guard collison build bug

This commit is contained in:
John Jolly 2024-09-26 09:51:06 -06:00 committed by Bernhard Kaindl
parent 5f333c3632
commit dea075a8b0

View File

@ -64,6 +64,12 @@ class Tmux(AutotoolsPackage):
conflicts("+static", when="platform=darwin", msg="Static build not supported on MacOS")
patch(
"https://github.com/tmux/tmux/commit/775789fbd5c4f3aa93061480cd64e61daf7fb689.patch?full_index=1",
sha256="c1b61a1244f758480578888d3f89cac470271c376ea0879996b81e10b397cad0",
when="@2.4:",
)
@run_before("autoreconf")
def autogen(self):
if self.spec.satisfies("@master"):