diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-20 16:48:13 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2020-09-20 16:48:13 +0000 |
commit | 1353618573b663f18334ad6c3b3c3c44824d6e24 (patch) | |
tree | 42224b94589cfc2eb6aa77182bed2b0267a6ea95 /games/wmtictactoe/Makefile | |
parent | a210370526eedae1a5cfe5437198c6ab7c73b5ff (diff) | |
download | ports-1353618573b663f18334ad6c3b3c3c44824d6e24.tar.gz ports-1353618573b663f18334ad6c3b3c3c44824d6e24.zip |
MFH: r549081
games/wmtictactoe: Fix build with clang-11
PR: 249464
Submitted by: jd.fbsd@goneja.de (initial version)
Approved by: ports-secteam (fluffy)
Notes
Notes:
svn path=/branches/2020Q3/; revision=549122
Diffstat (limited to 'games/wmtictactoe/Makefile')
-rw-r--r-- | games/wmtictactoe/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games/wmtictactoe/Makefile b/games/wmtictactoe/Makefile index 85b90ebd435e..d566d1a15a70 100644 --- a/games/wmtictactoe/Makefile +++ b/games/wmtictactoe/Makefile @@ -12,11 +12,16 @@ COMMENT= Dockable TicTacToe game for WindowMaker and AfterStep LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/../COPYING -WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe - USES= gmake xorg USE_XORG= x11 xext xpm +WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe + PLIST_FILES= bin/wmtictactoe +post-patch: # fix for the build failure with -fno-common + @${REINPLACE_CMD} 's|^Display|extern Display|; s|^Window|extern Window|' ${WRKSRC}/../wmgeneral/wmgeneral.h + @${ECHO} "Display *display;" >> ${WRKSRC}/../wmgeneral/wmgeneral.c + @${ECHO} "Window Root, iconwin, win;" >> ${WRKSRC}/../wmgeneral/wmgeneral.c + .include <bsd.port.mk> |