mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
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:
parent
6eafcd2722
commit
ad8656c49d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326456
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= libvmime
|
PORTNAME= libvmime
|
||||||
PORTVERSION= 0.9.1
|
PORTVERSION= 0.9.1
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= SF/vmime/vmime/0.9
|
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
|
Loading…
Reference in New Issue
Block a user