diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-08 17:08:40 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-08 17:08:40 +0000 |
commit | 45b402b338e55238c26bd971beca4b4b9b1edcbc (patch) | |
tree | 820e110134fbde7c21fff8ee3747a4d209d58c2c /games/phalanx | |
parent | f2d6b634d6b267fbc09ec6e1e49d7c71ab6ba499 (diff) | |
download | ports-45b402b338e55238c26bd971beca4b4b9b1edcbc.tar.gz ports-45b402b338e55238c26bd971beca4b4b9b1edcbc.zip |
Fix build with gcc-3.4
PR: ports/70167
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=115662
Diffstat (limited to 'games/phalanx')
-rw-r--r-- | games/phalanx/Makefile | 4 | ||||
-rw-r--r-- | games/phalanx/files/patch-io.c | 11 | ||||
-rw-r--r-- | games/phalanx/pkg-plist | 6 |
3 files changed, 15 insertions, 6 deletions
diff --git a/games/phalanx/Makefile b/games/phalanx/Makefile index d7d2d3700673..4a9d27cc2356 100644 --- a/games/phalanx/Makefile +++ b/games/phalanx/Makefile @@ -23,6 +23,10 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" ALL_TARGET= # empty MAKEFILE= makefile +PORTDOCS= README +PLIST_FILES= bin/phalanx %%DATADIR%%/pbook.phalanx %%DATADIR%%/sbook.phalanx +PLIST_DIRS= %%DATADIR%% + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin @${MKDIR} ${DATADIR} diff --git a/games/phalanx/files/patch-io.c b/games/phalanx/files/patch-io.c new file mode 100644 index 000000000000..cf4f14dc200b --- /dev/null +++ b/games/phalanx/files/patch-io.c @@ -0,0 +1,11 @@ +--- io.c.orig Sat Jan 8 23:36:29 2000 ++++ io.c Thu Aug 5 20:57:30 2004 +@@ -894,7 +894,7 @@ + { case 0: puts("off"); break; + case 1: puts("on"); break; + case 2: puts("on (pondering)"); break; +- default: ++ default: ; + } + + printf(" Transposition table ... "); diff --git a/games/phalanx/pkg-plist b/games/phalanx/pkg-plist deleted file mode 100644 index ebe2d449197d..000000000000 --- a/games/phalanx/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -bin/phalanx -%%PORTDOCS%%share/doc/phalanx/README -share/phalanx/pbook.phalanx -share/phalanx/sbook.phalanx -%%PORTDOCS%%@dirrm share/doc/phalanx -@dirrm share/phalanx |