diff options
author | krion <krion@FreeBSD.org> | 2004-08-09 01:08:40 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-09 01:08:40 +0800 |
commit | aaba571a23e991006de596f6d37cff843cba280f (patch) | |
tree | caf292c1a5b3f7e1c422f326598389472294d43b /games | |
parent | 97d4b0379ae170be3e7497d4436b26494cd97274 (diff) | |
download | freebsd-ports-gnome-aaba571a23e991006de596f6d37cff843cba280f.tar.gz freebsd-ports-gnome-aaba571a23e991006de596f6d37cff843cba280f.tar.zst freebsd-ports-gnome-aaba571a23e991006de596f6d37cff843cba280f.zip |
Fix build with gcc-3.4
PR: ports/70167
Submitted by: Ports Fury
Diffstat (limited to 'games')
-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 |