summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/openscenegraph-1-mingw32.patch17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/openscenegraph-1-mingw32.patch b/src/openscenegraph-1-mingw32.patch
index 4289d41..b63b249 100644
--- a/src/openscenegraph-1-mingw32.patch
+++ b/src/openscenegraph-1-mingw32.patch
@@ -2,10 +2,19 @@ This file is part of mingw-cross-env.
See doc/index.html for further information.
This patch taken from:
-http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/2011-July/008465.html
+https://gitorious.org/openscenegraph/osg/commit/c535cf1edc2751d02fbdb9e7fef035cb797dff97?format=patch
+
+From c535cf1edc2751d02fbdb9e7fef035cb797dff97 Mon Sep 17 00:00:00 2001
+From: Robert OSFIELD <robert.osfield@gmail.com>
+Date: Mon, 18 Jul 2011 09:40:58 +0000
+Subject: [PATCH] Changed the HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK.
+
+---
+ src/osgPlugins/dicom/ReaderWriterDICOM.cpp | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/osgPlugins/dicom/ReaderWriterDICOM.cpp b/src/osgPlugins/dicom/ReaderWriterDICOM.cpp
-index 785ac9e..c5b4507 100644
+index 785ac9e..500cb7e 100644
--- a/src/osgPlugins/dicom/ReaderWriterDICOM.cpp
+++ b/src/osgPlugins/dicom/ReaderWriterDICOM.cpp
@@ -19,7 +19,7 @@
@@ -13,7 +22,9 @@ index 785ac9e..c5b4507 100644
#ifdef USE_DCMTK
- #ifndef _WIN32
-+ #if !defined(_WIN32) || defined(__MINGW32__)
++ #ifndef _MSC_VER
#define HAVE_CONFIG_H
#endif
+--
+1.6.1