aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/google-ctemplate
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2012-02-02 16:34:16 +0800
committervanilla <vanilla@FreeBSD.org>2012-02-02 16:34:16 +0800
commitf843183353c393920b0f132b7ca0f9706fc54ef7 (patch)
treeb04f177296ba71ada3988b7e318db4b40adbb274 /textproc/google-ctemplate
parent993458c93d1eaf087639f617670aac4c1032cf89 (diff)
downloadfreebsd-ports-gnome-f843183353c393920b0f132b7ca0f9706fc54ef7.tar.gz
freebsd-ports-gnome-f843183353c393920b0f132b7ca0f9706fc54ef7.tar.zst
freebsd-ports-gnome-f843183353c393920b0f132b7ca0f9706fc54ef7.zip
1: Upgrade to 2.0.
2: fix build with clang.
Diffstat (limited to 'textproc/google-ctemplate')
-rw-r--r--textproc/google-ctemplate/Makefile5
-rw-r--r--textproc/google-ctemplate/distinfo4
-rw-r--r--textproc/google-ctemplate/files/patch-small_map.h11
3 files changed, 16 insertions, 4 deletions
diff --git a/textproc/google-ctemplate/Makefile b/textproc/google-ctemplate/Makefile
index fe6e1e068fc3..28632111b96f 100644
--- a/textproc/google-ctemplate/Makefile
+++ b/textproc/google-ctemplate/Makefile
@@ -7,9 +7,10 @@
#
PORTNAME= google-ctemplate
-PORTVERSION= 1.1
+PORTVERSION= 2.0
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
+PROJECTHOST= ctemplate
DISTNAME= ctemplate-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
diff --git a/textproc/google-ctemplate/distinfo b/textproc/google-ctemplate/distinfo
index 47a93354ff47..282ce1f55bd7 100644
--- a/textproc/google-ctemplate/distinfo
+++ b/textproc/google-ctemplate/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ctemplate-1.1.tar.gz) = baa168a81a515e892e50a714c353b0eba2d7b742ebc3f99a1e370c7314657d30
-SIZE (ctemplate-1.1.tar.gz) = 838254
+SHA256 (ctemplate-2.0.tar.gz) = ca2dfe9474b1fb1a20f92d934a6b47cbaf170a08b201335594c93b7417c68d69
+SIZE (ctemplate-2.0.tar.gz) = 874846
diff --git a/textproc/google-ctemplate/files/patch-small_map.h b/textproc/google-ctemplate/files/patch-small_map.h
new file mode 100644
index 000000000000..8bce6353ee72
--- /dev/null
+++ b/textproc/google-ctemplate/files/patch-small_map.h
@@ -0,0 +1,11 @@
+--- src/base/small_map.h.orig 2012-02-02 16:18:30.000000000 +0800
++++ src/base/small_map.h 2012-02-02 16:18:47.000000000 +0800
+@@ -52,6 +52,8 @@
+ #include <assert.h>
+ #include <utility> // for make_pair()
+ #include "base/manual_constructor.h"
++using std::make_pair;
++
+ _START_GOOGLE_NAMESPACE_
+
+ template <bool> struct CompileAssert { };