OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
games/spider seg faults

From: Michael Warmuth (ayuusuljee.de)
Date: Sat Aug 02 2008 - 09:52:27 CDT


Hello,

games/spider seg faults at each start. I am running snapshot
OpenBSD 4.3-current (GENERIC.MP) #1734: Tue Jun 17 16:12:44 MDT 2008
    deraadtamd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
with the according ports tree snapshot.

The reason seems to be missing prototypes of malloc/calloc in gfx.c and
spider.c. Adding includes of stdlib.h fixes the problem (changed patch
files attached).

Regards,

Michael