summaryrefslogtreecommitdiff
path: root/graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-07 14:51:39 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-07 14:51:39 +0000
commit464602e87ad7c0635c21a48f7da9c55a49fc04d9 (patch)
treeb62ac21be6c588e3beb88380f133c071b2b89f37 /graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h
parentUpdate to 1.290 (diff)
The NVIDIA Texture Tools is a collection of image processing and
texture manipulation tools, designed to be integrated in game tools and asset conditioning pipelines. The primary features of the library are mipmap and normal map generation, format conversion and DXT compression. DXT compression is based on Simon Brown's squish library. The library also contains an alternative GPU-accelerated compressor that uses CUDA and is one order of magnitude faster. WWW: http://code.google.com/p/nvidia-texture-tools/
Diffstat (limited to 'graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h')
-rw-r--r--graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h b/graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h
new file mode 100644
index 000000000000..b77ddcc0d055
--- /dev/null
+++ b/graphics/nvidia-texture-tools/files/patch-src-nvcore-nvcore.h
@@ -0,0 +1,21 @@
+--- src/nvcore/nvcore.h.orig 2008-12-01 11:04:27.000000000 +0300
++++ src/nvcore/nvcore.h 2009-03-06 22:45:11.000000000 +0300
+@@ -38,6 +38,9 @@
+ #if defined POSH_OS_LINUX
+ # define NV_OS_LINUX 1
+ # define NV_OS_UNIX 1
++#elif defined POSH_OS_FREEBSD
++# define NV_OS_FREEBSD 1
++# define NV_OS_UNIX 1
+ #elif defined POSH_OS_CYGWIN32
+ # define NV_OS_CYGWIN 1
+ #elif defined POSH_OS_MINGW
+@@ -158,7 +161,7 @@
+ #elif NV_CC_GNUC
+ # if NV_OS_LINUX
+ # include "DefsGnucLinux.h"
+-# elif NV_OS_DARWIN
++# elif NV_OS_DARWIN || NV_OS_FREEBSD
+ # include "DefsGnucDarwin.h"
+ # elif NV_OS_MINGW
+ # include "DefsGnucWin32.h"