pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/google-glog Updated google-glog to 0.3.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/47fe4cbb1abf
branches: trunk
changeset: 354517:47fe4cbb1abf
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 01 15:22:26 2016 +0000
description:
Updated google-glog to 0.3.4.
google-glog 0.3.4
repository moved from code.google.com/p/google-glog to github.com/google/glog
fixes for latest MSVS
add libc++ support
fix build issue in demangle.cc
add callback for OpenObjectFileContainingPcAndGetStartAddress
add StrError and replace posix_strerror_r call
fix VC build by adding GOOGLE_GLOG_DLL_DECL
style fix for C++11
reduce dynamic allocation from 3 to 1 per log message
attempt to improve mingw-w64 support
support unordered_(map|set) by stl_logging
diffstat:
devel/google-glog/Makefile | 13 +++---
devel/google-glog/distinfo | 12 ++---
devel/google-glog/patches/patch-src_demangle.cc | 22 ------------
devel/google-glog/patches/patch-src_glog_stl__logging.h.in | 25 --------------
4 files changed, 11 insertions(+), 61 deletions(-)
diffs (102 lines):
diff -r 6b7e60a9e81f -r 47fe4cbb1abf devel/google-glog/Makefile
--- a/devel/google-glog/Makefile Tue Nov 01 14:58:02 2016 +0000
+++ b/devel/google-glog/Makefile Tue Nov 01 15:22:26 2016 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2013/07/18 12:01:29 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.5 2016/11/01 15:22:26 wiz Exp $
-DISTNAME= glog-0.3.3
+DISTNAME= glog-0.3.4
PKGNAME= google-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel
-MASTER_SITES= http://google-glog.googlecode.com/files/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
+GITHUB_PROJECT= glog
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= tonnerre%NetBSD.org@localhost
-HOMEPAGE= http://code.google.com/p/google-glog/
+HOMEPAGE= https://github.com/google/glog/
COMMENT= Application Level Logging library for C++
LICENSE= modified-bsd
@@ -31,5 +31,4 @@
.endif
.include "../../devel/googletest/buildlink3.mk"
-.include "../../devel/gmock/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6b7e60a9e81f -r 47fe4cbb1abf devel/google-glog/distinfo
--- a/devel/google-glog/distinfo Tue Nov 01 14:58:02 2016 +0000
+++ b/devel/google-glog/distinfo Tue Nov 01 15:22:26 2016 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:27:30 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/11/01 15:22:26 wiz Exp $
-SHA1 (glog-0.3.3.tar.gz) = ed40c26ecffc5ad47c618684415799ebaaa30d65
-RMD160 (glog-0.3.3.tar.gz) = 27fb1bd4156f6715b84d59293d96d1cadc79ea7a
-SHA512 (glog-0.3.3.tar.gz) = 95418ff0857415a0fbc15caeb22a13f3b6736618adcc3c30e054626f1397bc58399c45f68784c70b1f5dc594ebc6ea66e386896beab5c20be72dd53b25f5a4ac
-Size (glog-0.3.3.tar.gz) = 509676 bytes
-SHA1 (patch-src_demangle.cc) = a5c0ed2b5069894a52735cc691fd12997c77a8cd
-SHA1 (patch-src_glog_stl__logging.h.in) = c86472e0f87ca99e91a5ecdb8c33affdb6679c26
+SHA1 (glog-0.3.4.tar.gz) = 69f91cd5a1de35ead0bc4103ea87294b0206a456
+RMD160 (glog-0.3.4.tar.gz) = cb336c17cf8a73307e130c4e2fc06a53426453a3
+SHA512 (glog-0.3.4.tar.gz) = 139525b546a9eccacc9bebf7cc3053ba52229e9488485ad45344c3d3134ca819d3b571250c0e3a6d84097009c8be89b0f4fa16ef5ec838ffcc237ae11c3a034c
+Size (glog-0.3.4.tar.gz) = 522508 bytes
diff -r 6b7e60a9e81f -r 47fe4cbb1abf devel/google-glog/patches/patch-src_demangle.cc
--- a/devel/google-glog/patches/patch-src_demangle.cc Tue Nov 01 14:58:02 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-src_demangle.cc,v 1.1 2013/07/18 12:01:29 joerg Exp $
-
---- src/demangle.cc.orig 2012-01-12 08:40:58.000000000 +0000
-+++ src/demangle.cc
-@@ -167,7 +167,7 @@ static size_t StrLen(const char *str) {
- // Returns true if "str" has at least "n" characters remaining.
- static bool AtLeastNumCharsRemaining(const char *str, int n) {
- for (int i = 0; i < n; ++i) {
-- if (str == '\0') {
-+ if (str[i] == '\0') {
- return false;
- }
- }
-@@ -223,7 +223,7 @@ static bool ParseTwoCharToken(State *sta
- // Returns true and advances "mangled_cur" if we find any character in
- // "char_class" at "mangled_cur" position.
- static bool ParseCharClass(State *state, const char *char_class) {
-- if (state->mangled_cur == '\0') {
-+ if (state->mangled_cur == NULL) {
- return false;
- }
- const char *p = char_class;
diff -r 6b7e60a9e81f -r 47fe4cbb1abf devel/google-glog/patches/patch-src_glog_stl__logging.h.in
--- a/devel/google-glog/patches/patch-src_glog_stl__logging.h.in Tue Nov 01 14:58:02 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_glog_stl__logging.h.in,v 1.1 2013/05/09 13:50:14 joerg Exp $
-
---- src/glog/stl_logging.h.in.orig 2013-05-04 15:12:09.000000000 +0000
-+++ src/glog/stl_logging.h.in
-@@ -53,7 +53,9 @@
- #ifdef __GNUC__
- # include <ext/hash_set>
- # include <ext/hash_map>
--# include <ext/slist>
-+# ifndef _LIBCPP_VERSION
-+# include <ext/slist>
-+# endif
- #endif
-
- // Forward declare these two, and define them after all the container streams
-@@ -81,7 +83,9 @@ OUTPUT_TWO_ARG_CONTAINER(std::vector)
- OUTPUT_TWO_ARG_CONTAINER(std::deque)
- OUTPUT_TWO_ARG_CONTAINER(std::list)
- #ifdef __GNUC__
-+# ifndef _LIBCPP_VERSION
- OUTPUT_TWO_ARG_CONTAINER(__gnu_cxx::slist)
-+# endif
- #endif
-
- #undef OUTPUT_TWO_ARG_CONTAINER
Home |
Main Index |
Thread Index |
Old Index