1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/acm/Makefile
Jan Beich af98de3b3e games/acm: prevent free()ing unitialized data
acm may coredump immediately after starting on systems which do not
zero malloc()ed memory e.g., MALLOC_CONF=junk:true. This is because
one of the fields of a malloc()ed data structure (w) contains a
pointer (w->csPool2), and if that pointer is never used, then later
code will find the pointer is non-NULL and try to free() the memory
pointed to by the pointer.

PR:		215427
Submitted by:	Jeff Gibbons <jgibbons@protogate.com>
2017-05-12 22:33:54 +00:00

32 lines
742 B
Makefile

# Created by: joerg
# $FreeBSD$
PORTNAME= acm
PORTVERSION= 5.0
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= Aerial combat simulator for X11
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
USE_PERL5= build
USE_XORG= x11 xext
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --x-includes=${LOCALBASE}/include \
--x-libraries=${LOCALBASE}/lib
CONFIGURE_ENV= ac_cv_lib_Xm_XmCreateBulletinBoard=no \
ac_cv_lib_gdbm_dbm_fetch=no
MAKE_ARGS= prefix=${STAGEDIR}${PREFIX}/ OBVDIR=${STAGEDIR}${DATADIR}/
OPTIONS_DEFINE= SOUND
SOUND_LIB_DEPENDS= libaudio.so:audio/nas
SOUND_CONFIGURE_ENV_OFF= ac_cv_lib_audio_AuCloseServer=no
.include <bsd.port.mk>