Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 08:57:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197852] [MAINTAINER] devel/ChipmunkPhysics: update to 7.0.0
Message-ID:  <bug-197852-13-kAvxJamYTT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197852-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197852-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197852

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
           Assignee|freebsd-ports-bugs@FreeBSD. |jbeich@FreeBSD.org
                   |org                         |
                 CC|                            |jbeich@FreeBSD.org,
                   |                            |ports@stdrand.com
 Attachment #153308|                            |maintainer-approval?(ports@
              Flags|                            |stdrand.com)

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
Created attachment 153308
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D153308&action=
=3Dedit
pre-commit fixup

Doesn't build on 8.4R and 9.3R:

In file included from src/cpHastySpace.c:9:
/usr/include/sys/sysctl.h:801: error: expected declaration specifiers or '.=
..'
before 'u_int'

>++++ include/chipmunk/chipmunk.h
>+@@ -32,6 +32,8 @@
>+ #ifdef WIN32
>+ 	// For alloca().
>+ 	#include <malloc.h>
>++#elif defined(__FreeBSD__)
>++	/* already included in <stdlib.h> */

Don't leave out DragonFly or better include all BSDs as alloca() in <stdlib=
.h>
dates back to at least 4.4BSD Lite.

https://svnweb.freebsd.org/base/vendor/CSRG/bsd_44_lite/include/stdlib.h?vi=
ew=3Dmarkup

>+ #else
>+ 	#include <alloca.h>
>+ #endif

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197852-13-kAvxJamYTT>