On Sat, Jun 08, 2013 at 04:30:48PM +0200, David Coppa wrote:
> On Sat, Jun 8, 2013 at 3:51 PM, Stuart Henderson <st...@openbsd.org> wrote:
> 
> > mail/mimetic:
> > ../../mimetic/tokenizer.h:150:28: error: 'setDelimList' was not declared in 
> > this scope, and no declarations were found by argument-dependent lookup at 
> > the point of instantiation [-fpermissive]
> 
> a 'this->setDelimList' should fix this...
> 
> ciao,
> David
> 

And here is a diff with David's suggestion. Builts with gcc 4.6 and 4.8
just fine. Thanks David. oks?

-- 
James Turner
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mimetic/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile    31 May 2013 15:16:23 -0000      1.2
+++ Makefile    8 Jun 2013 16:44:22 -0000
@@ -3,7 +3,7 @@
 COMMENT =              C++ MIME library
 
 DISTNAME =             mimetic-0.9.7
-REVISION =             0
+REVISION =             1
 CATEGORIES =           mail devel
 
 SHARED_LIBS =          mimetic 1.0 #0.0
Index: patches/patch-mimetic_tokenizer_h
===================================================================
RCS file: patches/patch-mimetic_tokenizer_h
diff -N patches/patch-mimetic_tokenizer_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-mimetic_tokenizer_h   8 Jun 2013 16:44:22 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- mimetic/tokenizer.h.orig   Sat Jun  8 12:33:42 2013
++++ mimetic/tokenizer.h        Sat Jun  8 12:34:05 2013
+@@ -147,7 +147,7 @@ struct ContTokenizer: public ItTokenizer<typename Cont
+     ContTokenizer(const Container* cont, const DelimCont& delims)
+     : ItTokenizer<const_iterator,value_type>(cont->begin(), cont->end())
+     {
+-        setDelimList(delims);
++        this->setDelimList(delims);
+     }
+     void setSource(const Container* cont)
+     {

Reply via email to