Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 11:40:38 +0000
From:      Max Brazhnikov <makc@freebsd.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: textproc/stardict3 3.0.4 does not compile
Message-ID:  <1820810.MNOTsIFAuk@mercury.ph.man.ac.uk>
In-Reply-To: <20130416063130.GA1225@tiny.Sisis.de>
References:  <20130416052020.GA2493@tinyCurrent> <20130416063130.GA1225@tiny.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Apr 2013 08:31:31 +0200 Matthias Apitz wrote:
> El d=EDa Tuesday, April 16, 2013 a las 07:20:20AM +0200, Matthias Api=
tz escribi=F3:
>=20
> >=20
> > Hello,
> >=20
> > Compilation of the above port stops with:
> >=20
> > # 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/freety=
pe2
> > -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/libcommo=
n.o
> > In file included from libcommon.cpp:30:
> > libcommon.h:191: error: could not convert template argument 'gzclos=
e' to
> > 'int (*)(zip::gzFile_s*)'
> > libcommon.h:191: error: invalid type in declaration before ';' toke=
n
> > 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
>=20
> It seems that there is a fix from July 20 of last year in the code
> of startdict:
>=20
> http://code.google.com/p/stardict-3/issues/detail?id=3D31

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1820810.MNOTsIFAuk>