tmux: Fix MacOS header guard collison build bug
This commit is contained in:
parent
5f333c3632
commit
dea075a8b0
@ -64,6 +64,12 @@ class Tmux(AutotoolsPackage):
|
|||||||
|
|
||||||
conflicts("+static", when="platform=darwin", msg="Static build not supported on MacOS")
|
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")
|
@run_before("autoreconf")
|
||||||
def autogen(self):
|
def autogen(self):
|
||||||
if self.spec.satisfies("@master"):
|
if self.spec.satisfies("@master"):
|
||||||
|
Loading…
Reference in New Issue
Block a user