summaryrefslogtreecommitdiffstats
path: root/src/openscenegraph-2-static.patch
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-01-19 23:44:12 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-01-19 23:44:12 (GMT)
commitca29f29a20aed53b0bccb8c8d042d3e62904f3a3 (patch)
treea0841a4635270c402b25bbee99c7d7cc90095540 /src/openscenegraph-2-static.patch
parent6b869dd904927bde57d6acdf1ebdeebe2da9584c (diff)
downloadmxe-ca29f29a20aed53b0bccb8c8d042d3e62904f3a3.zip
mxe-ca29f29a20aed53b0bccb8c8d042d3e62904f3a3.tar.gz
mxe-ca29f29a20aed53b0bccb8c8d042d3e62904f3a3.tar.bz2
new package: openscenegraph (by Martin Lambers)
Diffstat (limited to 'src/openscenegraph-2-static.patch')
-rw-r--r--src/openscenegraph-2-static.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/openscenegraph-2-static.patch b/src/openscenegraph-2-static.patch
new file mode 100644
index 0000000..73405fa
--- /dev/null
+++ b/src/openscenegraph-2-static.patch
@@ -0,0 +1,18 @@
+This file is part of mingw-cross-env.
+See doc/index.html or doc/README for further information.
+
+diff -uNr OpenSceneGraph-2.8.2.orig/src/osgPlugins/exr/ReaderWriterEXR.cpp OpenSceneGraph-2.8.2/src/osgPlugins/exr/ReaderWriterEXR.cpp
+--- OpenSceneGraph-2.8.2.orig/src/osgPlugins/exr/ReaderWriterEXR.cpp 2008-11-27 10:36:18.000000000 +0100
++++ OpenSceneGraph-2.8.2/src/osgPlugins/exr/ReaderWriterEXR.cpp 2010-01-14 17:55:32.000000000 +0100
+@@ -4,11 +4,6 @@
+ #include <osg/Image>
+ #include <osg/GL>
+
+-#ifdef _WIN32
+-//Make the half format work against openEXR libs
+-#define OPENEXR_DLL
+-#endif
+-
+ #include <osgDB/Registry>
+ #include <osgDB/FileNameUtils>
+ #include <osgDB/FileUtils>