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.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= libvmime
|
||||
PORTVERSION= 0.9.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/vmime/vmime/0.9
|
||||
|
||||
|
||||
11
mail/libvmime/files/patch-vmime__base.hpp
Normal file
11
mail/libvmime/files/patch-vmime__base.hpp
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user