[113839] trunk/dports/devel/google-glog

hum at macports.org hum at macports.org
Sun Nov 24 08:37:54 PST 2013


Revision: 113839
          https://trac.macports.org/changeset/113839
Author:   hum at macports.org
Date:     2013-11-24 08:37:54 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
google-glog: add patch-libc++.diff to build on Mavericks; install additional documents.

Modified Paths:
--------------
    trunk/dports/devel/google-glog/Portfile

Added Paths:
-----------
    trunk/dports/devel/google-glog/files/
    trunk/dports/devel/google-glog/files/patch-libc++.diff

Modified: trunk/dports/devel/google-glog/Portfile
===================================================================
--- trunk/dports/devel/google-glog/Portfile	2013-11-24 16:34:38 UTC (rev 113838)
+++ trunk/dports/devel/google-glog/Portfile	2013-11-24 16:37:54 UTC (rev 113839)
@@ -5,6 +5,7 @@
 
 name                google-glog
 version             0.3.3
+revision            1
 categories          devel
 maintainers         hum openmaintainer
 
@@ -21,3 +22,14 @@
 distname            glog-${version}
 checksums           rmd160  27fb1bd4156f6715b84d59293d96d1cadc79ea7a \
                     sha256  fbf90c2285ba0561db7a40f8a4eefb9aa963e7d399bd450363e959929fe849d0
+
+# https://code.google.com/p/google-glog/issues/detail?id=169
+patchfiles          patch-libc++.diff
+
+post-destroot {
+    set dest_doc ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${dest_doc}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS COPYING ChangeLog doc/designstyle.css doc/glog.html \
+        ${dest_doc}
+}

Added: trunk/dports/devel/google-glog/files/patch-libc++.diff
===================================================================
--- trunk/dports/devel/google-glog/files/patch-libc++.diff	                        (rev 0)
+++ trunk/dports/devel/google-glog/files/patch-libc++.diff	2013-11-24 16:37:54 UTC (rev 113839)
@@ -0,0 +1,23 @@
+--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/87c36b6e/attachment-0001.html>


More information about the macports-changes mailing list