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: otis
Date: Tue Oct 8 22:11:37 UTC 2019
Modified Files:
pkgsrc/devel/protobuf: distinfo
Added Files:
pkgsrc/devel/protobuf/patches:
patch-src_google_protobuf_text__format.cc
Log Message:
protobuf: Fix build on NetBSD 8.1 with gcc 5.5.0
Include cmath instead of math.h. This fixes build on NetBSD 8.1 and gcc 5.5.
Also, pull request with upstream has been opened at:
https://github.com/protocolbuffers/protobuf/pull/6747
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_text__format.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.28 pkgsrc/devel/protobuf/distinfo:1.29
--- pkgsrc/devel/protobuf/distinfo:1.28 Fri Oct 4 10:37:49 2019
+++ pkgsrc/devel/protobuf/distinfo Tue Oct 8 22:11:37 2019
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.28 2019/10/04 10:37:49 adam Exp $
+$NetBSD: distinfo,v 1.29 2019/10/08 22:11:37 otis Exp $
SHA1 (protobuf-cpp-3.10.0.tar.gz) = 01f3871186d50364e5d6cea9bb2436c0343d2e9c
RMD160 (protobuf-cpp-3.10.0.tar.gz) = 1995e96095f922ae817b3624c00f11b2533b6a6c
SHA512 (protobuf-cpp-3.10.0.tar.gz) = bdf2c7b658376757b1df5b79d82606d868561bb69ee6ee5025c9a16df14cce67333d97ffa3b9736c157ab6153490f7943a21fe5264e9f4e4a6f782cd014116e2
Size (protobuf-cpp-3.10.0.tar.gz) = 4599017 bytes
SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
+SHA1 (patch-src_google_protobuf_text__format.cc) = d37012ac03912cf7665a46d5f493113d9774c218
SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1
Added files:
Index: pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_text__format.cc
diff -u /dev/null pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_text__format.cc:1.1
--- /dev/null Tue Oct 8 22:11:37 2019
+++ pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_text__format.cc Tue Oct 8 22:11:37 2019
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_google_protobuf_text__format.cc,v 1.1 2019/10/08 22:11:37 otis Exp $
+
+--- src/google/protobuf/text_format.cc.orig 2019-10-03 00:08:05.000000000 +0000
++++ src/google/protobuf/text_format.cc
+@@ -35,7 +35,7 @@
+ #include <google/protobuf/text_format.h>
+
+ #include <float.h>
+-#include <math.h>
++#include <cmath>
+ #include <stdio.h>
+
+ #include <algorithm>
Home |
Main Index |
Thread Index |
Old Index