On Mon, Sep 21, 2026 at 04:18:09PM +0200, Rafael Sadowski wrote: > OK to update blender to the latest 4.5 release? I've no idea what the > impact of the patch is, but as RETURN_CONST couldn't be found, I've > removed it. > > Please test. Seems to open and import an STL using the updated cad/manifold I mailed earlier. > Rafael > > diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile > index ecd8c95a41d..ada20f11720 100644 > --- a/graphics/blender/Makefile > +++ b/graphics/blender/Makefile > @@ -6,10 +6,9 @@ DPB_PROPERTIES = parallel > > COMMENT = 3D creation software > > -VERSION = 4.5.3 > +VERSION = 4.5.9 > V = ${VERSION:R} > DISTNAME = blender-${VERSION} > -REVISION = 8 > > CATEGORIES = graphics > > diff --git a/graphics/blender/distinfo b/graphics/blender/distinfo > index cb5ef928396..7621648a0aa 100644 > --- a/graphics/blender/distinfo > +++ b/graphics/blender/distinfo > @@ -1,2 +1,2 @@ > -SHA256 (blender-4.5.3.tar.xz) = +Sr0fzdh62i8cLdNfd3LcvyzA4t22EfGRB5bkLbxknU= > -SIZE (blender-4.5.3.tar.xz) = 85087292 > +SHA256 (blender-4.5.9.tar.xz) = ss3keHAjbItE7n7kduFB/eBfcNq8iNUvfC/CUeRM5Pk= > +SIZE (blender-4.5.9.tar.xz) = 85102724 > diff --git a/graphics/blender/patches/patch-source_blender_python_intern_bpy_driver_cc b/graphics/blender/patches/patch-source_blender_python_intern_bpy_driver_cc > new file mode 100644 > index 00000000000..864db8f74f9 > --- /dev/null > +++ b/graphics/blender/patches/patch-source_blender_python_intern_bpy_driver_cc > @@ -0,0 +1,11 @@ > +Index: source/blender/python/intern/bpy_driver.cc > +--- source/blender/python/intern/bpy_driver.cc.orig > ++++ source/blender/python/intern/bpy_driver.cc > +@@ -379,7 +379,6 @@ static bool is_opcode_secure(const int opcode) > + # endif > + > + # if PY_VERSION_HEX >= 0x030c0000 > +- OK_OP(RETURN_CONST) > + OK_OP(POP_JUMP_IF_FALSE) > + OK_OP(CALL_INTRINSIC_1) > + # endif > -- andrew What are the unsurpassable real world weaknesses in OpenBSD, that you know of? -- Kevin Chadwick <ma1l1ists@yahoo.co.uk> Lots of fake people attacking the project on the mailing lists makes them a poor resource for users. -- Theo de Raadt <deraadt@cvs.openbsd.org>
No comments:
Post a Comment