annotate src/gdcm-1-nosecapi.patch @ 6213:5f64fb928091
release
build-gcc: Avoid library clash when calling msgfmt.
* src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when
calling `msgfmt`.
* dist-files.mk: Add patch to list.
author |
Markus Mützel <markus.muetzel@gmx.de> |
date |
Fri, 06 May 2022 19:36:10 +0200 |
parents |
15551fc621fa |
children |
|
rev |
line source |
3666
|
1 diff -ur gdcm-2.0.19.orig/Source/Common/gdcmException.h gdcm-2.0.19/Source/Common/gdcmException.h |
|
2 --- gdcm-2.0.19.orig/Source/Common/gdcmException.h 2014-07-26 11:45:31 -0400 |
|
3 +++ gdcm-2.0.19/Source/Common/gdcmException.h 2014-07-26 11:57:11 -0400 |
|
4 @@ -14,6 +14,13 @@ |
|
5 #ifndef GDCMEXCEPTION_H |
|
6 #define GDCMEXCEPTION_H |
|
7 |
|
8 +#ifdef __MINGW32__ |
|
9 + #include <_mingw.h> |
|
10 + #ifdef MINGW_HAS_SECURE_API |
|
11 + #undef MINGW_HAS_SECURE_API |
|
12 + #endif |
|
13 +#endif |
|
14 + |
|
15 #include <cassert> |
|
16 #include <cstdlib> // NULL |
|
17 #include <exception> |