$OpenBSD: patch-vmime_base_hpp,v 1.1 2017/05/04 18:01:19 espie Exp $
like other similar operations, errors out

Index: vmime/base.hpp
--- vmime/base.hpp.orig
+++ vmime/base.hpp
@@ -252,7 +252,7 @@ namespace vmime
 	template <class X, class Y>
 	ref <X> dynamicCast(ref <Y> y)
 	{
-		return y.dynamicCast <X>();
+		return y.template dynamicCast <X>();
 	}
 
 } // vmime
