Date: Sat, 21 Mar 2015 19:20:34 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381819 - in head/devel/glog: . files Message-ID: <201503211920.t2LJKYkA074429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Mar 21 19:20:33 2015 New Revision: 381819 URL: https://svnweb.freebsd.org/changeset/ports/381819 QAT: https://qat.redports.org/buildarchive/r381819/ Log: - Update to 0.3.4 - Update WWW Changes: https://github.com/google/glog/releases Added: head/devel/glog/files/patch-src-glog-stl_logging.h.in - copied, changed from r381798, head/devel/glog/files/patch-stl_logging.h.in head/devel/glog/files/patch-src-googletest.h (contents, props changed) head/devel/glog/files/patch-src-logging_unittest.cc (contents, props changed) head/devel/glog/files/patch-src-stl_logging_unittest.cc (contents, props changed) Deleted: head/devel/glog/files/patch-stl_logging.h.in Modified: head/devel/glog/Makefile head/devel/glog/distinfo head/devel/glog/pkg-descr Modified: head/devel/glog/Makefile ============================================================================== --- head/devel/glog/Makefile Sat Mar 21 19:19:59 2015 (r381818) +++ head/devel/glog/Makefile Sat Mar 21 19:20:33 2015 (r381819) @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= glog -PORTVERSION= 0.3.3 -PORTREVISION= 3 +PORTVERSION= 0.3.4 CATEGORIES= devel -MASTER_SITES= GOOGLE_CODE MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library of C++ classes for flexible logging @@ -22,10 +20,14 @@ INSTALL_TARGET= install-strip LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo USE_LDCONFIG= yes USES= execinfo libtool pathfix +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= * -PROJECTHOST= google-glog +GH_ACCOUNT= google +GH_PROJECT= ${PORTNAME} +GH_TAGNAME= v${PORTVERSION} +USE_GITHUB= yes post-patch: @${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in Modified: head/devel/glog/distinfo ============================================================================== --- head/devel/glog/distinfo Sat Mar 21 19:19:59 2015 (r381818) +++ head/devel/glog/distinfo Sat Mar 21 19:20:33 2015 (r381819) @@ -1,2 +1,2 @@ -SHA256 (glog-0.3.3.tar.gz) = fbf90c2285ba0561db7a40f8a4eefb9aa963e7d399bd450363e959929fe849d0 -SIZE (glog-0.3.3.tar.gz) = 509676 +SHA256 (google-glog-0.3.4-v0.3.4_GH0.tar.gz) = ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10 +SIZE (google-glog-0.3.4-v0.3.4_GH0.tar.gz) = 522508 Copied and modified: head/devel/glog/files/patch-src-glog-stl_logging.h.in (from r381798, head/devel/glog/files/patch-stl_logging.h.in) ============================================================================== --- head/devel/glog/files/patch-stl_logging.h.in Sat Mar 21 16:46:52 2015 (r381798, copy source) +++ head/devel/glog/files/patch-src-glog-stl_logging.h.in Sat Mar 21 19:20:33 2015 (r381819) @@ -1,27 +1,25 @@ ---- src/glog/stl_logging.h.in.orig 2013-01-09 21:57:36.000000000 +0800 -+++ src/glog/stl_logging.h.in 2013-09-20 19:39:39.000000000 +0800 -@@ -53,8 +53,12 @@ - #ifdef __GNUC__ - # include <ext/hash_set> - # include <ext/hash_map> -+#ifdef _LIBCPP_VERSION -+# include <forward_list> -+#else +--- src/glog/stl_logging.h.in.orig 2015-03-11 12:02:27.000000000 +0800 ++++ src/glog/stl_logging.h.in 2015-03-22 01:13:41.132580961 +0800 +@@ -76,6 +76,9 @@ + #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST # include <ext/slist> #endif ++#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST ++# include <forward_list> +#endif // Forward declare these two, and define them after all the container streams // operators so that we can recurse from pair -> container -> container -> pair -@@ -81,8 +85,12 @@ OUTPUT_TWO_ARG_CONTAINER(std::vector) +@@ -101,9 +104,13 @@ + OUTPUT_TWO_ARG_CONTAINER(std::vector) OUTPUT_TWO_ARG_CONTAINER(std::deque) OUTPUT_TWO_ARG_CONTAINER(std::list) - #ifdef __GNUC__ -+#ifdef _LIBCPP_VERSION -+OUTPUT_TWO_ARG_CONTAINER(std::forward_list) -+#else ++ + #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST OUTPUT_TWO_ARG_CONTAINER(__gnu_cxx::slist) #endif ++#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST ++OUTPUT_TWO_ARG_CONTAINER(std::forward_list) +#endif #undef OUTPUT_TWO_ARG_CONTAINER Added: head/devel/glog/files/patch-src-googletest.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/glog/files/patch-src-googletest.h Sat Mar 21 19:20:33 2015 (r381819) @@ -0,0 +1,10 @@ +--- src/googletest.h.orig 2015-03-11 12:02:27.000000000 +0800 ++++ src/googletest.h 2015-03-22 00:56:38.711647313 +0800 +@@ -58,6 +58,7 @@ + + #include "base/commandlineflags.h" + ++using namespace gflags; + using std::map; + using std::string; + using std::vector; Added: head/devel/glog/files/patch-src-logging_unittest.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/glog/files/patch-src-logging_unittest.cc Sat Mar 21 19:20:33 2015 (r381819) @@ -0,0 +1,10 @@ +--- src/logging_unittest.cc.orig 2015-03-11 12:02:27.000000000 +0800 ++++ src/logging_unittest.cc 2015-03-22 00:54:39.798664493 +0800 +@@ -78,6 +78,7 @@ + #endif + + using namespace std; ++using namespace gflags; + using namespace GOOGLE_NAMESPACE; + + // Some non-advertised functions that we want to test or use. Added: head/devel/glog/files/patch-src-stl_logging_unittest.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/glog/files/patch-src-stl_logging_unittest.cc Sat Mar 21 19:20:33 2015 (r381819) @@ -0,0 +1,10 @@ +--- src/stl_logging_unittest.cc.orig 2015-03-11 12:02:27.000000000 +0800 ++++ src/stl_logging_unittest.cc 2015-03-22 01:03:23.871621079 +0800 +@@ -41,6 +41,7 @@ + // C++0x isn't enabled by default in GCC and libc++ does not have + // non-standard ext/* and tr1/unordered_*. + # if defined(_LIBCPP_VERSION) ++# define GLOG_STL_LOGGING_FOR_FORWARD_LIST + # define GLOG_STL_LOGGING_FOR_UNORDERED + # else + # define GLOG_STL_LOGGING_FOR_EXT_HASH Modified: head/devel/glog/pkg-descr ============================================================================== --- head/devel/glog/pkg-descr Sat Mar 21 19:19:59 2015 (r381818) +++ head/devel/glog/pkg-descr Sat Mar 21 19:20:33 2015 (r381819) @@ -3,4 +3,4 @@ The glog library implements application- This library provides logging APIs based on C++-style streams and various helper macros. -WWW: http://code.google.com/p/google-glog/ +WWW: https://github.com/google/glog
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503211920.t2LJKYkA074429>