Date: Fri, 6 Sep 2013 00:17:45 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326456 - in head/mail/libvmime: . files Message-ID: <201309060017.r860Hj2I023472@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Fri Sep 6 00:17:45 2013 New Revision: 326456 URL: http://svnweb.freebsd.org/changeset/ports/326456 Log: Fix build. Per ISO C++03 14.2/4: When the name of a member template specialization appears after . or -> in a postfix-expression, or after nested-name-specifier in a qualified-id, and the postfix-expression or qualified-id explicitly depends on a template-parameter (14.6.2), the member template name must be prefixed by the keyword template. Otherwise the name is assumed to name a non-template. Added: head/mail/libvmime/files/patch-vmime__base.hpp (contents, props changed) Modified: head/mail/libvmime/Makefile Modified: head/mail/libvmime/Makefile ============================================================================== --- head/mail/libvmime/Makefile Thu Sep 5 23:57:35 2013 (r326455) +++ head/mail/libvmime/Makefile Fri Sep 6 00:17:45 2013 (r326456) @@ -3,7 +3,7 @@ PORTNAME= libvmime PORTVERSION= 0.9.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail MASTER_SITES= SF/vmime/vmime/0.9 Added: head/mail/libvmime/files/patch-vmime__base.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/libvmime/files/patch-vmime__base.hpp Fri Sep 6 00:17:45 2013 (r326456) @@ -0,0 +1,11 @@ +--- ./vmime/base.hpp.orig 2010-02-06 10:12:57.000000000 -0800 ++++ ./vmime/base.hpp 2013-09-05 17:05:39.233608129 -0700 +@@ -252,7 +252,7 @@ + template <class X, class Y> + ref <X> dynamicCast(ref <Y> y) + { +- return y.dynamicCast <X>(); ++ return y. template dynamicCast <X>(); + } + + } // vmime
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309060017.r860Hj2I023472>