From f4673bd16d27820218d57ee0676becd8d2f9c252 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 20 Sep 2022 19:03:49 +0300 Subject: [PATCH] games/vultures-eye: fix build on 14.x by renaming macro which conflicts with math.h Reported by: pkg-fallout --- games/vultures-eye/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/games/vultures-eye/Makefile b/games/vultures-eye/Makefile index 86d0396b25eb..502617575c4d 100644 --- a/games/vultures-eye/Makefile +++ b/games/vultures-eye/Makefile @@ -39,6 +39,11 @@ MAKE_ENV+= FLEX="${FLEX}" pre-patch: @(cd ${WRKSRC}/win && ${LN} -sf ../../vulture) +post-patch: + @${FIND} ${WRKSRC} \( -name "*.c" -o -name "*.h" \) -print + @${FIND} ${WRKSRC} \( -name "*.c" -o -name "*.h" \) -exec \ + ${REINPLACE_CMD} -e 's|yn(|yesno(|g' {} \; + pre-configure: @${CHMOD} a+x ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}