diff options
author | Boris Pek <tehnick-8@yandex.ru> | 2016-05-05 13:30:30 (GMT) |
---|---|---|
committer | Boris Pek <tehnick-8@yandex.ru> | 2016-05-05 13:30:30 (GMT) |
commit | 8608e1335c4e28674bc26c209501db463c782572 (patch) | |
tree | 4d66df06949a3f8294871dec9bbb7ab65869792b /src/dcmtk-4-c++11-related-fixes.patch | |
parent | f913661fba0b8a822702f328a23bd0bfab62a092 (diff) | |
download | mxe-8608e1335c4e28674bc26c209501db463c782572.zip mxe-8608e1335c4e28674bc26c209501db463c782572.tar.gz mxe-8608e1335c4e28674bc26c209501db463c782572.tar.bz2 |
dcmtk: add new patch: fix build with GCC >= 6.x
Diffstat (limited to 'src/dcmtk-4-c++11-related-fixes.patch')
-rw-r--r-- | src/dcmtk-4-c++11-related-fixes.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/dcmtk-4-c++11-related-fixes.patch b/src/dcmtk-4-c++11-related-fixes.patch new file mode 100644 index 0000000..2e47dc4 --- /dev/null +++ b/src/dcmtk-4-c++11-related-fixes.patch @@ -0,0 +1,16 @@ +From: Boris Pek +Date: Thu, 05 May 2016 15:38:47 +0300 +Subject: [PATCH] fix build with GCC >= 6.x + +diff --git a/ofstd/libsrc/ofstd.cc b/ofstd/libsrc/ofstd.cc +--- a/ofstd/libsrc/ofstd.cc ++++ b/ofstd/libsrc/ofstd.cc +@@ -175,7 +175,7 @@ + + + // some systems don't properly define isnan() +-#ifdef HAVE_ISNAN ++#if defined(HAVE_ISNAN) && (__cplusplus < 201103L) + #ifndef HAVE_PROTOTYPE_ISNAN + extern "C" + { |