changeset 1937:30d2cb623fcd

package openscenegraph: update patch
author Mark Brand <mabrand@mabrand.nl>
date Mon, 18 Jul 2011 12:30:12 +0200
parents 2a372c8ee9ab
children 5c83cfe7d243
files src/openscenegraph-1-mingw32.patch
diffstat 1 files changed, 14 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/openscenegraph-1-mingw32.patch	Sun Jul 17 23:37:28 2011 +0200
+++ b/src/openscenegraph-1-mingw32.patch	Mon Jul 18 12:30:12 2011 +0200
@@ -2,10 +2,19 @@
 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 @@
  
  #ifdef  USE_DCMTK
 -    #ifndef _WIN32
-+    #if !defined(_WIN32) || defined(__MINGW32__)
++    #ifndef _MSC_VER
          #define HAVE_CONFIG_H
      #endif
  
+-- 
+1.6.1