summaryrefslogtreecommitdiff
path: root/graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-01 16:56:04 +0300
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-04-01 17:37:34 +0300
commit7784bff647afcc6e49154cb6e909631a464e3cd0 (patch)
tree4df8301f2d85ed376988a1f341bb3d48c363a972 /graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp
parenttextproc/difftastic: update 0.24.0 → 0.25.0 (diff)
graphics/nvidia-texture-tools: update 2.1.1 → 2.1.2
Note: upstream no longer supports shared libnvmath, but consumer ports (devel/osg*) still require it, so forcibly make it shared.
Diffstat (limited to 'graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp')
-rw-r--r--graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp b/graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp
new file mode 100644
index 000000000000..05e1ff4c376f
--- /dev/null
+++ b/graphics/nvidia-texture-tools/files/patch-src_nvmath_Matrix.cpp
@@ -0,0 +1,11 @@
+--- src/nvmath/Matrix.cpp.orig 2020-08-24 06:27:21 UTC
++++ src/nvmath/Matrix.cpp
+@@ -7,7 +7,7 @@
+
+ #include <float.h>
+
+-#if !NV_CC_MSVC && !NV_OS_ORBIS
++#if !NV_CC_MSVC && !NV_OS_ORBIS && !NV_OS_FREEBSD
+ #include <alloca.h>
+ #endif
+