pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/protobuf add include so INT_MAX is found on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86b5e1bdfb41
branches:  trunk
changeset: 355162:86b5e1bdfb41
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Wed Nov 23 20:56:44 2016 +0000

description:
add include so INT_MAX is found on SunOS

diffstat:

 devel/protobuf/distinfo                                           |   3 +-
 devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc |  14 ++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r bb37100a728c -r 86b5e1bdfb41 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Wed Nov 23 16:11:52 2016 +0000
+++ b/devel/protobuf/distinfo   Wed Nov 23 20:56:44 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2016/10/19 12:13:00 wiz Exp $
+$NetBSD: distinfo,v 1.12 2016/11/23 20:56:44 wiedi Exp $
 
 SHA1 (protobuf-cpp-3.1.0.tar.gz) = b7b7275405ac18784965b02bea7d62f836873564
 RMD160 (protobuf-cpp-3.1.0.tar.gz) = a7be4888dd97e899364c3264875a988bac349acf
@@ -6,5 +6,6 @@
 Size (protobuf-cpp-3.1.0.tar.gz) = 4109863 bytes
 SHA1 (patch-gmock_configure) = 49a4c9301ad4c1973ee7058213df50a7833161f0
 SHA1 (patch-gmock_configure.ac) = cfd7b7c87eff4b06ce6ecb34dec046561bbdc113
+SHA1 (patch-src_google_protobuf_message__lite.cc) = 8f2ffe07b2710de5365148153978ad6d9939f522
 SHA1 (patch-src_google_protobuf_stubs_atomicops.h) = 9ec851134da674980a49302e9582a432a47f7974
 SHA1 (patch-src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 93cf8135660e945044e5a560a3010e32e660ae6f
diff -r bb37100a728c -r 86b5e1bdfb41 devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc Wed Nov 23 20:56:44 2016 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_google_protobuf_message__lite.cc,v 1.1 2016/11/23 20:56:45 wiedi Exp $
+
+need limits for INT_MAX
+
+--- src/google/protobuf/message_lite.cc.orig   2016-09-24 01:27:21.000000000 +0000
++++ src/google/protobuf/message_lite.cc
+@@ -38,6 +38,7 @@
+ #include <google/protobuf/message_lite.h>
+ #include <google/protobuf/repeated_field.h>
+ #include <string>
++#include <climits>
+ #include <google/protobuf/stubs/logging.h>
+ #include <google/protobuf/stubs/common.h>
+ #include <google/protobuf/io/coded_stream.h>



Home | Main Index | Thread Index | Old Index