diff options
author | miwi <miwi@FreeBSD.org> | 2007-02-10 21:17:47 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-02-10 21:17:47 +0800 |
commit | fae9da9c89726a5f231eb7cccb8baab1fd406b18 (patch) | |
tree | 2670477fdb67f913ce31d762730a69783200c2f6 /devel | |
parent | 4ca6265d257178c88dbc6d3fd2fbdbde87c748bd (diff) | |
download | freebsd-ports-gnome-fae9da9c89726a5f231eb7cccb8baab1fd406b18.tar.gz freebsd-ports-gnome-fae9da9c89726a5f231eb7cccb8baab1fd406b18.tar.zst freebsd-ports-gnome-fae9da9c89726a5f231eb7cccb8baab1fd406b18.zip |
- Fix build with gcc 4.X
PR: 108994
Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-ode/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/py-ode/Makefile b/devel/py-ode/Makefile index d6e96fc5cf7d..307a4ed51bed 100644 --- a/devel/py-ode/Makefile +++ b/devel/py-ode/Makefile @@ -26,5 +26,10 @@ USE_PYDISTUTILS=yes post-patch: @${REINPLACE_CMD} -e '/^#ODE_BASE/ s|.*|ODE_BASE="${X11BASE}"|' ${WRKSRC}/setup.py +# gcc4x compatibility + @${REINPLACE_CMD} -e 's|((PyObject *\*)__pyx_v_sp) = |__pyx_v_sp = (struct __pyx_obj_3ode_SpaceBase*)|' ${WRKSRC}/ode_notrimesh.c + @${REINPLACE_CMD} -e 's|((PyObject *\*)__pyx_v_m) = |__pyx_v_m = (struct __pyx_obj_3ode_Mass*)|' ${WRKSRC}/ode_notrimesh.c + @${REINPLACE_CMD} -e 's|((PyObject *\*)__pyx_v_jg) = |__pyx_v_jg = (struct __pyx_obj_3ode_JointGroup*)|' ${WRKSRC}/ode_notrimesh.c + @${REINPLACE_CMD} -e 's|((PyObject *\*)__pyx_v_cont) = |__pyx_v_cont = (struct __pyx_obj_3ode_Contact*)|' ${WRKSRC}/ode_notrimesh.c .include <bsd.port.mk> |