pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/blender
Module Name: pkgsrc
Committed By: mrg
Date: Mon Jun 2 00:29:09 UTC 2025
Modified Files:
pkgsrc/graphics/blender: distinfo
Added Files:
pkgsrc/graphics/blender/patches: patch-extern_lzma_CpuArch.c
Log Message:
fix the build on arm64 (and perhaps arm32).
this is a copy of textproc/ugrep/patches/patch-lzma_C_CpuArch.c and
avoids using sys/auxv.h on non linux arm hosts.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/graphics/blender/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/blender/patches/patch-extern_lzma_CpuArch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/blender/distinfo
diff -u pkgsrc/graphics/blender/distinfo:1.78 pkgsrc/graphics/blender/distinfo:1.79
--- pkgsrc/graphics/blender/distinfo:1.78 Tue Dec 24 14:05:17 2024
+++ pkgsrc/graphics/blender/distinfo Mon Jun 2 00:29:08 2025
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.78 2024/12/24 14:05:17 ryoon Exp $
+$NetBSD: distinfo,v 1.79 2025/06/02 00:29:08 mrg Exp $
BLAKE2s (blender-4.2.4.tar.xz) = e33731f186e25dce937c022b447d6a9c769729efdde007a49292800dd072f83b
SHA512 (blender-4.2.4.tar.xz) = 1f61c1866aaa680c91fc6e3402b1e10533c8cce32572ffb825c53dc7c15ca51f1157a32d10134ca9e612fbf719406421ccc920b2d8ddd2993675784797381c6a
Size (blender-4.2.4.tar.xz) = 72804204 bytes
SHA1 (patch-CMakeLists.txt) = 722c852b2c7f804a0fec93cec4e4c8f54d286204
SHA1 (patch-build__files_cmake_Modules_FindOpenColorIO.cmake) = 142b0860abeae94deda0dfdcc985e4b4696cf93a
+SHA1 (patch-extern_lzma_CpuArch.c) = 2f43a8e367199c7e056b962e7c264cf7f06bbd74
SHA1 (patch-source_blender_blenkernel_intern_CCGSubSurf__legacy.cc) = 850ba755646ff07b050e0a98c9e4603a97acffc9
SHA1 (patch-source_blender_blenkernel_intern_customdata.cc) = 32659bbe9de8ac0388664b721f4df89d58af6e92
SHA1 (patch-source_blender_blenkernel_intern_dynamicpaint.cc) = 67c567322009668479b53475ac63ea9cfeb06185
Added files:
Index: pkgsrc/graphics/blender/patches/patch-extern_lzma_CpuArch.c
diff -u /dev/null pkgsrc/graphics/blender/patches/patch-extern_lzma_CpuArch.c:1.1
--- /dev/null Mon Jun 2 00:29:09 2025
+++ pkgsrc/graphics/blender/patches/patch-extern_lzma_CpuArch.c Mon Jun 2 00:29:09 2025
@@ -0,0 +1,29 @@
+$NetBSD: patch-extern_lzma_CpuArch.c,v 1.1 2025/06/02 00:29:09 mrg Exp $
+
+Copy of textproc/ugrep/patches/patch-lzma_C_CpuArch.c:
+
+Fix build on non-Linux arm32/aarch64 platforms. Especially on NetBSD the
+kernel currently only provides information about optional CPU features to
+userland via /proc/cpuinfo. Providing AT_SUN_HWCAP via auxv would be
+nice. Adding getauxval(3) to crt would also be nice.
+
+
+--- extern/lzma/CpuArch.c.orig 2024-06-05 10:03:56.000000000 -0700
++++ extern/lzma/CpuArch.c 2025-05-31 18:49:25.342831722 -0700
+@@ -760,12 +760,13 @@
+
+ #else // __APPLE__
+
+-#include <sys/auxv.h>
+-
+-#define USE_HWCAP
++#if defined(__linux__)
++# define USE_HWCAP
++#endif
+
+ #ifdef USE_HWCAP
+
++#include <sys/auxv.h>
+ #include <asm/hwcap.h>
+
+ #define MY_HWCAP_CHECK_FUNC_2(name1, name2) \
Home |
Main Index |
Thread Index |
Old Index