Index: head/devel/py-bullet3/Makefile =================================================================== --- head/devel/py-bullet3/Makefile (revision 566271) +++ head/devel/py-bullet3/Makefile (revision 566272) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= bullet3 DISTVERSION= 3.08 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python version of 3D collision detection library Bullet LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= compiler:c++11-lang gl localbase python:3.6+ USE_PYTHON= autoplist distutils USE_GL= gl glew USE_GITHUB= yes GH_ACCOUNT= bulletphysics post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet*.so .include Index: head/devel/py-bullet3/files/patch-setup.py =================================================================== --- head/devel/py-bullet3/files/patch-setup.py (nonexistent) +++ head/devel/py-bullet3/files/patch-setup.py (revision 566272) @@ -0,0 +1,35 @@ +- use system zlib because of SEGV: https://github.com/bulletphysics/bullet3/issues/3280 + +--- setup.py.orig 2021-02-22 06:17:11 UTC ++++ setup.py +@@ -160,21 +160,6 @@ sources = ["examples/pybullet/pybullet.c"]\ + +["examples/ThirdPartyLibs/minizip/ioapi.c"]\ + +["examples/ThirdPartyLibs/minizip/unzip.c"]\ + +["examples/ThirdPartyLibs/minizip/zip.c"]\ +-+["examples/ThirdPartyLibs/zlib/adler32.c"]\ +-+["examples/ThirdPartyLibs/zlib/compress.c"]\ +-+["examples/ThirdPartyLibs/zlib/crc32.c"]\ +-+["examples/ThirdPartyLibs/zlib/deflate.c"]\ +-+["examples/ThirdPartyLibs/zlib/gzclose.c"]\ +-+["examples/ThirdPartyLibs/zlib/gzlib.c"]\ +-+["examples/ThirdPartyLibs/zlib/gzread.c"]\ +-+["examples/ThirdPartyLibs/zlib/gzwrite.c"]\ +-+["examples/ThirdPartyLibs/zlib/infback.c"]\ +-+["examples/ThirdPartyLibs/zlib/inffast.c"]\ +-+["examples/ThirdPartyLibs/zlib/inflate.c"]\ +-+["examples/ThirdPartyLibs/zlib/inftrees.c"]\ +-+["examples/ThirdPartyLibs/zlib/trees.c"]\ +-+["examples/ThirdPartyLibs/zlib/uncompr.c"]\ +-+["examples/ThirdPartyLibs/zlib/zutil.c"]\ + +["examples/Importers/ImportColladaDemo/LoadMeshFromCollada.cpp"]\ + +["examples/Importers/ImportObjDemo/LoadMeshFromObj.cpp"]\ + +["examples/Importers/ImportObjDemo/Wavefront2GLInstanceGraphicsShape.cpp"]\ +@@ -438,7 +423,7 @@ elif _platform == "darwin": + +["examples/OpenGLWindow/MacOpenGLWindowObjC.m"] + else: + print("bsd!") +- libraries = ['GL', 'GLEW', 'pthread'] ++ libraries = ['GL', 'GLEW', 'pthread', 'z'] + os.environ['LDFLAGS'] = '-L/usr/X11R6/lib' + CXX_FLAGS += '-D_BSD ' + CXX_FLAGS += '-I/usr/X11R6/include ' Property changes on: head/devel/py-bullet3/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property