diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-02-10 13:17:47 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-02-10 13:17:47 +0000 |
commit | c9074eec29a8d4adaf2c3a0efcc5537851855c4e (patch) | |
tree | 3bda820c0e19419b8924e2468fb4604c2f5ea0bf /devel/py-ode | |
parent | fe467b7c690f52a7d4a92bb1a214a9d3f31e7588 (diff) | |
download | ports-c9074eec29a8d4adaf2c3a0efcc5537851855c4e.tar.gz ports-c9074eec29a8d4adaf2c3a0efcc5537851855c4e.zip |
Notes
Diffstat (limited to 'devel/py-ode')
-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> |