textproc/stardict3 3.0.4 does not compile

Matthias Apitz guru at unixarea.de
Tue Apr 16 06:31:34 UTC 2013


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 will test this and report back to maintainer if it works to be
included in the port.

	matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz               |  - No system with backdoors like Apple/Android
E-mail: guru at unixarea.de     |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in E-mail
phone: +49-170-4527211       |  - Respect for open standards


More information about the freebsd-ports mailing list