Fix seg fault for 0verkill-server.

Approved by: roberto(mentor)
This commit is contained in:
Michael Landin 2003-05-13 15:09:22 +00:00
parent e635aa9634
commit 1ccd2c1a18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80909
2 changed files with 8 additions and 2 deletions

View File

@ -35,7 +35,7 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/data/|g' ${WRKSRC}/cfg.h
@${REINPLACE_CMD} -e 's|grx/|${DATADIR}/grx/|g' ${WRKSRC}/data/sprites.dat
@${REINPLACE_CMD} -e 's|grx/|${DATADIR}/grx/|g' ${WRKSRC}/data/*
@${REINPLACE_CMD} -e 's|-O3 ||g ; \
s|gcc |\$$\(CC\) |g' ${WRKSRC}/Makefile.in
@ -51,7 +51,7 @@ do-install:
.endfor
.endif
@${MKDIR} ${DATADIR}/data
.for file in banner.dat level.dat sprites.dat
.for file in banner.dat level.dat sprites.dat *.sp *.dn *.st
${INSTALL_DATA} ${WRKSRC}/data/${file} ${DATADIR}/data
.endfor
@${MKDIR} ${DATADIR}/grx

View File

@ -10,6 +10,12 @@ bin/0verkill-test_server
share/0verkill/data/banner.dat
share/0verkill/data/level.dat
share/0verkill/data/sprites.dat
share/0verkill/data/level1.dn
share/0verkill/data/level1.sp
share/0verkill/data/level1.st
share/0verkill/data/level2.dn
share/0verkill/data/level2.sp
share/0verkill/data/level2.st
share/0verkill/grx/0verkill.avi
share/0verkill/grx/ackermann.avi
share/0verkill/grx/altar.avi