Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 23:29:34 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Maho NAKATA <chat95@mac.com>
Cc:        me@janh.de, freebsd-office@FreeBSD.org
Subject:   Re: editors/openoffice-3 build failure (lingucomponent) and fix
Message-ID:  <20120727232933.GC48384@ithaqua.etoilebsd.net>
In-Reply-To: <20120727230043.GB48384@ithaqua.etoilebsd.net>
References:  <500D6F5B.8030602@janh.de> <20120727.115721.1764309951853442978.chat95@mac.com> <20120727230043.GB48384@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--UPT3ojh+0CqEDtpF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 27, 2012 at 11:00:43PM +0000, Baptiste Daroussin wrote:
> On Fri, Jul 27, 2012 at 11:57:21AM +0900, Maho NAKATA wrote:
> > Hi Jan Henrik
> >=20
> > Sorry to say, but I cannot reproduce your error.
> > My testbuild was finished succesfully (in my tinder box)
> > on 9.0-RELEASE/amd64.
> > thanks
> >  Nakata Maho
> >=20
> > From: Jan Henrik Sylvester <me@janh.de>
> > Subject: editors/openoffice-3 build failure (lingucomponent) and fix
> > Date: Mon, 23 Jul 2012 17:35:55 +0200
> >=20
> > > While the same version build fine some time ago, editors/openoffice-3
> > > failed to build lingucomponent during my last attempt on
> > > 9.0-RELEASE/amd64 and 9.0-RELEASE/i386, because 'utfstrlen' was not
> > > declared.
> > >=20
> > > I found a patch to libreoffice on NetBSD for the very same issue:
> > > ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/misc/libreoffice/patch=
es/patch-lingucomponent_source_languageguessing_simpleguesser.cxx
> > >=20
> > > I do not know if the fix is correct, but I did the same replacement
> > > and with the patch attached in editors/openoffice-3/files/, I was able
> > > to build editors/openoffice-3 again on both 9.0-RELEASE/amd64 and
> > > 9.0-RELEASE/i386.
> > >=20
> > > Cheers,
> > > Jan Henrik
> > _______________________________________________
> > freebsd-office@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-office
> > To unsubscribe, send any mail to "freebsd-office-unsubscribe@freebsd.or=
g"
>=20
> I do think he should be using libexttextcat with libtextcat compatibility
> option.
>=20
> This change is one of the changes that happended in libexttextcat
>=20
> regards,
> Bapt


After checking you can apply the patch (we also have it in libreoffice Free=
BSD
:)) to openoffice by testing

#ifdef EXTTEXTCAT_VERSION
=2E.. utfstrlen
#else
=2E.. strlen
#endif

Like this you can still build openoffice with both libtextcat and libexttex=
tcat
(with compat option)

regards,
Bapt

--UPT3ojh+0CqEDtpF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlATJF0ACgkQ8kTtMUmk6EzpMwCgngP9iezEbpVSPWA1zYTfaGQQ
NdAAnRjJ9WSw6kpl43n0/ysgiqfAagKw
=0oAn
-----END PGP SIGNATURE-----

--UPT3ojh+0CqEDtpF--



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