Received: by mail.netbsd.org (Postfix, from userid 605) id 0AEAE84D4C; Sun, 11 Feb 2024 14:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1707662897; bh=rdGLM3KOmCy7tD4KOXs6vBlx3x4I6eKv5ebzCQTp3YI=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=2c5anj4Q9dEnybtzauuNaycgEmCVsMf6WrjDxC+Lgh1ucd8Z3nJ70x7PYqhYI8O3b nBFaTn8TpO7nrP6aF1urYbom+YQ0QmSfmhSc4BSWUW+Z0o81CMH/LsVT4capbCJ7pr 06WCSFPg9eFg9Foj3LIs+HlCvwuoizQCpDJRFFGA= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F0B1784D2F for ; Sun, 11 Feb 2024 14:48:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id eBnJ_yvG4y31 for ; Sun, 11 Feb 2024 14:48:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2560B84CE8 for ; Sun, 11 Feb 2024 14:48:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1707662895; bh=rdGLM3KOmCy7tD4KOXs6vBlx3x4I6eKv5ebzCQTp3YI=; h=Date:From:Subject:To:Reply-To; b=0sIs5XnaUTb0LECoHJZip9PFSP2CmYC0qK7qjZBhWU3n4c2xtMxAa0Fcooq529n4S kRUxCKUgfvLdxvFYjbNW9bBv9Fmm9l2097p79TuKoRVVc7pTkc1wdo+IKFQY9I0Ohu FvZQ95MoEBsXea3pgrtMBoLi8QBXUxw7Pt5BAWKs= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 219B4F9A4; Sun, 11 Feb 2024 14:48:15 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_170766289558020" MIME-Version: 1.0 Date: Sun, 11 Feb 2024 14:48:15 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/graphics/blender To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20240211144815.219B4F9A4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_170766289558020 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ryoon Date: Sun Feb 11 14:48:15 UTC 2024 Modified Files: pkgsrc/graphics/blender: Makefile distinfo pkgsrc/graphics/blender/patches: patch-CMakeLists.txt Log Message: graphics/blender: Fix build with CMake 3.28.2 To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 pkgsrc/graphics/blender/Makefile cvs rdiff -u -r1.72 -r1.73 pkgsrc/graphics/blender/distinfo cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/blender/patches/patch-CMakeLists.txt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_170766289558020 Content-Disposition: inline Content-Length: 4179 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/blender/Makefile diff -u pkgsrc/graphics/blender/Makefile:1.215 pkgsrc/graphics/blender/Makefile:1.216 --- pkgsrc/graphics/blender/Makefile:1.215 Wed Jan 31 21:19:37 2024 +++ pkgsrc/graphics/blender/Makefile Sun Feb 11 14:48:14 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.215 2024/01/31 21:19:37 ryoon Exp $ +# $NetBSD: Makefile,v 1.216 2024/02/11 14:48:14 ryoon Exp $ DISTNAME= blender-4.0.2 CATEGORIES= graphics @@ -50,6 +50,8 @@ CMAKE_ARGS+= -DPYTHON_VERSION=${PYVERSSU CMAKE_ARGS+= -DWITH_PYTHON_INSTALL_NUMPY=OFF CMAKE_ARGS+= -DWITH_PYTHON_INSTALL_REQUESTS=OFF +CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE=ON + .include "../../graphics/MesaLib/buildlink3.mk" .if ${MESALIB_SUPPORTS_EGL} == "yes" #CMAKE_ARGS+= -DWITH_GL_EGL=ON Index: pkgsrc/graphics/blender/distinfo diff -u pkgsrc/graphics/blender/distinfo:1.72 pkgsrc/graphics/blender/distinfo:1.73 --- pkgsrc/graphics/blender/distinfo:1.72 Wed Jan 31 21:19:37 2024 +++ pkgsrc/graphics/blender/distinfo Sun Feb 11 14:48:14 2024 @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.72 2024/01/31 21:19:37 ryoon Exp $ +$NetBSD: distinfo,v 1.73 2024/02/11 14:48:14 ryoon Exp $ BLAKE2s (blender-4.0.2.tar.xz) = ac0e750c18cb548b93aa634eabe5dfe28ff3a1d34fff2574612dd26de0e4f148 SHA512 (blender-4.0.2.tar.xz) = c37b85d06f5cf8b48cb8c657a9fb6b0ab1325271706fa34039f2993420f7606cd1e2c052173cdea94e9bec2924e7aa4df373e3a0fc1f9c4be336e62211b6bc4b Size (blender-4.0.2.tar.xz) = 73281252 bytes -SHA1 (patch-CMakeLists.txt) = edce950efc7e1c3760e19e9bbe671f4194f6675d +SHA1 (patch-CMakeLists.txt) = 5a3977c6a0dfb7524134060c35278f73937488ef SHA1 (patch-extern_Eigen3_Eigen_src_Core_IO.h) = 791224b988da0383c306e76de5e93cb1cedc960e SHA1 (patch-extern_glog_src_config.h) = e445c911d4ebb1f7e378c3c46911b55f77ba5608 SHA1 (patch-extern_glog_src_config__netbsd.h) = f379cbcf86bf330d54fbd55cdcb3dbf4b1e7456e Index: pkgsrc/graphics/blender/patches/patch-CMakeLists.txt diff -u pkgsrc/graphics/blender/patches/patch-CMakeLists.txt:1.4 pkgsrc/graphics/blender/patches/patch-CMakeLists.txt:1.5 --- pkgsrc/graphics/blender/patches/patch-CMakeLists.txt:1.4 Wed Nov 8 09:10:30 2023 +++ pkgsrc/graphics/blender/patches/patch-CMakeLists.txt Sun Feb 11 14:48:14 2024 @@ -1,10 +1,20 @@ -$NetBSD: patch-CMakeLists.txt,v 1.4 2023/11/08 09:10:30 nros Exp $ +$NetBSD: patch-CMakeLists.txt,v 1.5 2024/02/11 14:48:14 ryoon Exp $ +CMake 3.28.2 breaks unity build. From: https://projects.blender.org/blender/blender/commit/cf4365e555a759d5b3225bce77858374cb07faad Enable c++ extensions for alloca on NetBSD ---- CMakeLists.txt.orig 2023-07-05 21:00:26.000000000 +0000 +--- CMakeLists.txt.orig 2023-11-02 00:42:24.000000000 +0000 +++ CMakeLists.txt -@@ -1010,6 +1010,7 @@ set(EXETYPE "") +@@ -250,7 +250,7 @@ mark_as_advanced(CPACK_OVERRIDE_PACKAGEN + mark_as_advanced(BUILDINFO_OVERRIDE_DATE) + mark_as_advanced(BUILDINFO_OVERRIDE_TIME) + +-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16") ++if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16" AND NOT ${CMAKE_VERSION} VERSION_EQUAL "3.28.2") + option(WITH_UNITY_BUILD "\ + Enable unity build for modules that support it to improve compile times.\n\ + WARNING: this option allows files to be built without all necessary headers!\n +@@ -1221,6 +1221,7 @@ set(EXETYPE "") # C/C++ flags set(PLATFORM_CFLAGS) @@ -12,7 +22,7 @@ Enable c++ extensions for alloca on NetB # these are added to later on. set(C_WARNINGS) -@@ -1707,7 +1708,8 @@ set(CMAKE_CXX_STANDARD 17) +@@ -2022,7 +2023,8 @@ set(CMAKE_CXX_STANDARD 17) # If C++17 is not available, downgrading to an earlier standard is NOT OK. set(CMAKE_CXX_STANDARD_REQUIRED ON) # Do not enable compiler specific language extensions. @@ -22,7 +32,7 @@ Enable c++ extensions for alloca on NetB # Make MSVC properly report the value of the __cplusplus preprocessor macro # Available MSVC 15.7 (1914) and up, without this it reports 199711L regardless -@@ -1768,7 +1770,7 @@ endif() +@@ -2093,7 +2095,7 @@ endif() # Include warnings first, so its possible to disable them with user defined flags # eg: -Wno-uninitialized set(CMAKE_C_FLAGS "${C_WARNINGS} ${CMAKE_C_FLAGS} ${PLATFORM_CFLAGS}") --_----------=_170766289558020--