Fix build with gcc-3.4
PR: ports/70167 Submitted by: Ports Fury
This commit is contained in:
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
|
@ -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}
|
||||
|
|
11
games/phalanx/files/patch-io.c
Normal file
11
games/phalanx/files/patch-io.c
Normal 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 ... ");
|
|
@ -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
|
Loading…
Reference in a new issue