pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/protobuf



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Wed Nov 23 20:56:45 UTC 2016

Modified Files:
        pkgsrc/devel/protobuf: distinfo
Added Files:
        pkgsrc/devel/protobuf/patches:
            patch-src_google_protobuf_message__lite.cc

Log Message:
add include so INT_MAX is found on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.11 pkgsrc/devel/protobuf/distinfo:1.12
--- pkgsrc/devel/protobuf/distinfo:1.11 Wed Oct 19 12:13:00 2016
+++ pkgsrc/devel/protobuf/distinfo      Wed Nov 23 20:56:44 2016
@@ -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 @@ SHA512 (protobuf-cpp-3.1.0.tar.gz) = 9f8
 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

Added files:

Index: pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc
diff -u /dev/null pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc:1.1
--- /dev/null   Wed Nov 23 20:56:45 2016
+++ pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_message__lite.cc    Wed Nov 23 20:56:45 2016
@@ -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