summaryrefslogtreecommitdiff
path: root/graphics/nvidia-texture-tools/patches/patch-src_nvmath_nvmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nvidia-texture-tools/patches/patch-src_nvmath_nvmath.h')
-rw-r--r--graphics/nvidia-texture-tools/patches/patch-src_nvmath_nvmath.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/graphics/nvidia-texture-tools/patches/patch-src_nvmath_nvmath.h b/graphics/nvidia-texture-tools/patches/patch-src_nvmath_nvmath.h
deleted file mode 100644
index 21d41783ce1..00000000000
--- a/graphics/nvidia-texture-tools/patches/patch-src_nvmath_nvmath.h
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-src_nvmath_nvmath.h,v 1.1 2016/09/18 17:08:20 kamil Exp $
-
-Add support for NetBSD.
-
---- src/nvmath/nvmath.h.orig 2010-05-15 09:12:05.000000000 +0000
-+++ src/nvmath/nvmath.h
-@@ -115,7 +115,7 @@ inline bool isFinite(const float f)
- {
- #if NV_OS_WIN32
- return _finite(f) != 0;
--#elif NV_OS_DARWIN
-+#elif NV_OS_DARWIN || NV_OS_NETBSD
- return isfinite(f);
- #elif NV_OS_LINUX
- return finitef(f);
-@@ -130,7 +130,7 @@ inline bool isNan(const float f)
- {
- #if NV_OS_WIN32
- return _isnan(f) != 0;
--#elif NV_OS_DARWIN
-+#elif NV_OS_DARWIN || NV_OS_NETBSD
- return isnan(f);
- #elif NV_OS_LINUX
- return isnanf(f);