[BACK]Return to patch-src_google_protobuf_message__lite.cc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-protobuf / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / py-protobuf / patches / Attic / patch-src_google_protobuf_message__lite.cc (download)

Revision 1.1, Tue Jan 8 05:56:19 2019 UTC (20 months, 1 week ago) by markd
Branch: MAIN

{py-,}protobuf: don't share the patches directory
some patches only apply to py-protobuf.

$NetBSD: patch-src_google_protobuf_message__lite.cc,v 1.1 2019/01/08 05:56:19 markd 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>