pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xerces-c Make sure SIZE_MAX actually exists.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04b09f338435
branches:  trunk
changeset: 368305:04b09f338435
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Sep 13 21:10:35 2017 +0000

description:
Make sure SIZE_MAX actually exists.

diffstat:

 textproc/xerces-c/distinfo                                  |   3 +-
 textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp |  21 +++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r c8a618f7fe73 -r 04b09f338435 textproc/xerces-c/distinfo
--- a/textproc/xerces-c/distinfo        Wed Sep 13 17:44:18 2017 +0000
+++ b/textproc/xerces-c/distinfo        Wed Sep 13 21:10:35 2017 +0000
@@ -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 -r c8a618f7fe73 -r 04b09f338435 textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xerces-c/patches/patch-src_xercesc_util_Base64.cpp       Wed Sep 13 21:10:35 2017 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index