ACM is a LAN-oriented, multiplayer aerial combat simulation. My main
design objective was to provide source code that could be easily
compiled and executed on a wide variety of platforms. To that end,
acm is written entirely in C, exploiting the programming features of
Unix, X11, and the BSD socket interface.
Players engage in air to air combat against one another using heat
seeking missiles and cannons.
ACM is implemented as two programs. The first, named "acm", is a small
program that, when invoked, starts a flight session on a given
workstation. The second component, named "acms", is a server process
that manages the multiplayer environment. It also manages the flight
simulation and display management that is required. Most players will
prefer to run the acms process on a back-end server system on their
local area network. Players at client workstations can then invoke the
acm program to begin play.
Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
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>
- Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to
PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
they aren't affected by this change (for now at least). This commit is
meant to ensure that new ports don't make the same mistake.
- games/acm: the configure script in this port is very old; instead of
patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
changed the behaviour of the configure script; adjust the port to this.
PR: 199506
Exp-run by: antoine
Approved by: portmgr (antoine)
Fix build with Perl 5.21.1+
Omitting % and @ on hash and array names is no longer permitted
Really old Perl let you omit the @ on array names and the % on hash
names in some spots. This has issued a deprecation warning since Perl
5.0, and is no longer permitted.
With hat: perl@
Sponsored by: Absolight
- Patch configure so it actually accepts --mandir and --infodir. Otherwise,
it will fail when we set them for GNU_CONFIGURE.
PR: ports/111470
Approved by: portmgr
Tested by: pointyhat exp run
The move of X11 to /usr/local broke the compilation of acm if netpbm
is installed (pm.h from netpbm was used instead of the port's unrelated
local pm.h).
If this port does not compile with gcc-4, this is due to conflicting
declarations of the RPC server interface generated by rpcgen (statis
vs. non-static). This breakage must be fixed in rpcgen.
Approved by: portmgr