textproc/stardict3 3.0.4 does not compile

Max Brazhnikov makc at freebsd.org
Tue Apr 16 11:39:08 UTC 2013


On Tue, 16 Apr 2013 08:31:31 +0200 Matthias Apitz wrote:
> El día Tuesday, April 16, 2013 a las 07:20:20AM +0200, Matthias Apitz escribió:
> 
> > 
> > Hello,
> > 
> > Compilation of the above port stops with:
> > 
> > # make
> > ...
> > libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall
> > -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/
> > -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> > -I/usr/local/include/pixman-1 -D_THREAD_SAFE
> > -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15
> > -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/freetype2
> > -I/usr/local/include/glib-2.0 -I/usr/local/include/libxml2
> > -I/usr/local/include -I.. -I.. -g -O2 -MT libcommon.lo -MD -MP -MF
> > .deps/libcommon.Tpo -c libcommon.cpp  -fPIC -DPIC -o .libs/libcommon.o
> > In file included from libcommon.cpp:30:
> > libcommon.h:191: error: could not convert template argument 'gzclose' to
> > 'int (*)(zip::gzFile_s*)'
> > libcommon.h:191: error: invalid type in declaration before ';' token
> > libcommon.cpp: In function 'int unpack_zlib(const char*, const char*)':
> > libcommon.cpp:602: error: invalid conversion from 'void*' to
> > 'zip::gzFileWrapper'
> > libcommon.cpp:617: error: 'get_impl' was not declared in this scope
> > gmake[2]: *** [libcommon.lo] Error 1
> 
> It seems that there is a fix from July 20 of last year in the code
> of startdict:
> 
> http://code.google.com/p/stardict-3/issues/detail?id=31

I added these patches some time ago:
http://svnweb.freebsd.org/ports/head/textproc/stardict3/files/
 
> I will test this and report back to maintainer if it works to be
> included in the port.
> 
> 	matthias
> 


More information about the freebsd-ports mailing list