mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Patch to use stdlib.h instead of malloc.h.
This commit is contained in:
parent
b26e4e183b
commit
ab31dbce96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57363
@ -21,6 +21,11 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-scores=/var/games/nighthawk.scores --enable-sound
|
||||
MAN6= nighthawk.6
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \
|
||||
${WRKSRC}/src/ship.cc ${WRKSRC}/src_sound/nighthawk_sound.c \
|
||||
${WRKSRC}/src_sound/funkload.c ${WRKSRC}/src_sound/dsp_mixxer.c
|
||||
|
||||
post-install:
|
||||
${CHOWN} root:games ${PREFIX}/bin/nighthawk
|
||||
${CHMOD} g+s ${PREFIX}/bin/nighthawk
|
||||
|
Loading…
Reference in New Issue
Block a user