# HG changeset patch # User John Donoghue # Date 1406392330 14400 # Node ID 15551fc621fad83fcdf0290eb33bb0aac97bb167 # Parent d28dcb8df4ebcd14a232fdc1b95bda1a0af7125a gdcm: add patch for native ming * src/gdcm-1-nosecapi.patch: new file * dist-files.mk: add gdcm-1-nosecapi.patch diff -r d28dcb8df4eb -r 15551fc621fa dist-files.mk --- a/dist-files.mk Sat Jul 26 08:22:13 2014 -0400 +++ b/dist-files.mk Sat Jul 26 12:32:10 2014 -0400 @@ -105,6 +105,7 @@ gdal.mk \ gdb-1-fix-shell.patch \ gdb.mk \ + gdcm-1-nosecapi.patch \ gdcm.mk \ gdk-pixbuf-1-fixes.patch \ gdk-pixbuf.mk \ diff -r d28dcb8df4eb -r 15551fc621fa src/gdcm-1-nosecapi.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/gdcm-1-nosecapi.patch Sat Jul 26 12:32:10 2014 -0400 @@ -0,0 +1,17 @@ +diff -ur gdcm-2.0.19.orig/Source/Common/gdcmException.h gdcm-2.0.19/Source/Common/gdcmException.h +--- gdcm-2.0.19.orig/Source/Common/gdcmException.h 2014-07-26 11:45:31 -0400 ++++ gdcm-2.0.19/Source/Common/gdcmException.h 2014-07-26 11:57:11 -0400 +@@ -14,6 +14,13 @@ + #ifndef GDCMEXCEPTION_H + #define GDCMEXCEPTION_H + ++#ifdef __MINGW32__ ++ #include <_mingw.h> ++ #ifdef MINGW_HAS_SECURE_API ++ #undef MINGW_HAS_SECURE_API ++ #endif ++#endif ++ + #include + #include // NULL + #include