diff options
author | joerg <joerg@pkgsrc.org> | 2017-09-13 21:10:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-09-13 21:10:35 +0000 |
commit | 0d71e4529e7718562bd862ec8084c6269789e0b5 (patch) | |
tree | 9a6ac40bcf018d10a774446e4d653d842eafd9fe /textproc/xerces-c | |
parent | 5d52d27bd5ff8f239cd47c5d3da0421968f129ce (diff) | |
download | pkgsrc-0d71e4529e7718562bd862ec8084c6269789e0b5.tar.gz |
Make sure SIZE_MAX actually exists.
Diffstat (limited to 'textproc/xerces-c')
-rw-r--r-- | textproc/xerces-c/distinfo | 3 | ||||
-rw-r--r-- | textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/textproc/xerces-c/distinfo b/textproc/xerces-c/distinfo index ef604ac3005..5ea2751e1fa 100644 --- a/textproc/xerces-c/distinfo +++ b/textproc/xerces-c/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.19 2017/09/11 21:30:03 wiz Exp $ +$NetBSD: distinfo,v 1.20 2017/09/13 21:10:35 joerg Exp $ SHA1 (xerces-c-3.2.0.tar.gz) = cf018d6b0c6d57b26cf0d634cb9370a4b0de8307 RMD160 (xerces-c-3.2.0.tar.gz) = 4c610a5fea59dd036f5f0a40bec95a0c58bb9e19 SHA512 (xerces-c-3.2.0.tar.gz) = 57ba8e5d0ca30a011928bb6528a071cdcc8429d9181d94cb5ffdca202d7a1be794607327132741da7d875fb3f6ea0aee97a46eb1f23a799c3f84173feaed02b9 Size (xerces-c-3.2.0.tar.gz) = 6734012 bytes +SHA1 (patch-src_xercesc_util_Base64.cpp) = 56cc5074564fd43bef11e458a037746e0a8b1bc4 diff --git a/textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp b/textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp new file mode 100644 index 00000000000..4266457c684 --- /dev/null +++ b/textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp @@ -0,0 +1,21 @@ +$NetBSD: patch-src_xercesc_util_Base64.cpp,v 1.1 2017/09/13 21:10:35 joerg Exp $ + +--- src/xercesc/util/Base64.cpp.orig 2017-09-12 21:32:28.227017311 +0000 ++++ src/xercesc/util/Base64.cpp +@@ -15,6 +15,8 @@ + * limitations under the License. + */ + ++#define __STDC_LIMIT_MACROS ++ + // --------------------------------------------------------------------------- + // Includes + // --------------------------------------------------------------------------- +@@ -23,6 +25,7 @@ + #include <xercesc/util/Janitor.hpp> + #include <xercesc/internal/XMLReader.hpp> + #include <xercesc/framework/MemoryManager.hpp> ++#include <cstdint> + + XERCES_CPP_NAMESPACE_BEGIN + |