Le Fri, May 05, 2023 at 12:18:51PM +0200, Landry Breuil a écrit : > Le Fri, May 05, 2023 at 07:59:04AM +0100, Stuart Henderson a écrit : > > Fails on i386: > > must have been a copypasto, but reproduces with another error msg: > > /build/obj/ports/blender-3.3.6/blender-3.3.6/source/blender/nodes/geometry/nodes/node_geo_uv_unwrap.cc:114:32: > error: non-constant-expression cannot be narrowed from type 'unsigned > int' to 'ParamKey' (aka 'long') in initializer list [-Wc++11-narrowing] > ParamKey vkeys[2]{edge.v1, edge.v2}; > ^~~~~~~ > /build/obj/ports/blender-3.3.6/blender-3.3.6/source/blender/nodes/geometry/nodes/node_geo_uv_unwrap.cc:114:32: > note: insert an explicit cast to silence this issue > ParamKey vkeys[2]{edge.v1, edge.v2}; > ^~~~~~~ > static_cast<ParamKey>( )
--- source/blender/nodes/geometry/nodes/node_geo_uv_unwrap.cc.orig +++ source/blender/nodes/geometry/nodes/node_geo_uv_unwrap.cc @@ -111,7 +111,7 @@ static VArray<float3> construct_uv_gvarray(const MeshC } for (const int i : seam) { const MEdge &edge = mesh->medge[i]; - ParamKey vkeys[2]{edge.v1, edge.v2}; + ParamKey vkeys[2]{static_cast<ParamKey>(edge.v1), static_cast<ParamKey>(edge.v2)}; GEO_uv_parametrizer_edge_set_seam(handle, vkeys); } /* TODO: once field input nodes are able to emit warnings (T94039), * emit a seems to fix the build on i386. checking amd64.. > > > > On 2023/04/27 00:00, Rafael Sadowski wrote: > > > CVSROOT: /cvs > > > Module name: ports > > > Changes by: rsadow...@cvs.openbsd.org 2023/04/27 00:00:34 > > > > > > Modified files: > > > graphics/blender: Makefile distinfo > > > graphics/blender/patches: > > > patch-intern_cycles_util_aligned_malloc_cpp > > > patch-intern_guardedalloc_intern_mallocn_c > > > > > > patch-intern_guardedalloc_intern_mallocn_guarded_impl_c > > > > > > patch-intern_guardedalloc_intern_mallocn_intern_h > > > > > > patch-release_scripts_addons_io_scene_gltf2_io_com_gltf2_io_draco_compression_extension_py > > > > > > > > > patch-release_scripts_startup_bl_ui_space_toolsystem_common_py > > > > > > patch-source_blender_blenkernel_intern_packedFile_c > > > patch-source_blender_blenlib_BLI_filereader_h > > > patch-source_blender_blenlib_BLI_sys_types_h > > > patch-source_blender_blenlib_intern_storage_c > > > graphics/blender/pkg: PLIST > > > Added files: > > > graphics/blender/patches: patch-intern_ffmpeg_ffmpeg_compat_h > > > > > > patch-source_blender_blenkernel_intern_writeffmpeg_c > > > > > > patch-source_blender_imbuf_intern_anim_movie_c > > > patch-source_blender_imbuf_intern_indexer_c > > > Removed files: > > > graphics/blender/patches: > > > > > > patch-build_files_cmake_Modules_FindOpenEXR_cmake > > > patch-intern_cycles_CMakeLists_txt > > > patch-source_blender_blenlib_intern_system_c > > > > > > patch-source_blender_blenloader_intern_writefile_c > > > > > > patch-source_blender_imbuf_intern_openexr_openexr_api_cpp > > > > > > Log message: > > > Update blender to 3.3.6 > > > > > > Update diff from Brad > > > > > >