Fix build with gcc-3.4

PR:		ports/70167
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-08-08 17:08:40 +00:00
parent f2d6b634d6
commit 45b402b338
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115662
3 changed files with 15 additions and 6 deletions

View file

@ -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}

View file

@ -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 ... ");

View file

@ -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