From owner-freebsd-office@FreeBSD.ORG Fri Jul 27 23:29:36 2012 Return-Path: Delivered-To: freebsd-office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC61B106566B for ; Fri, 27 Jul 2012 23:29:36 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B56548FC0A; Fri, 27 Jul 2012 23:29:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6RNTaQY023546; Fri, 27 Jul 2012 23:29:36 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6RNTa5g023545; Fri, 27 Jul 2012 23:29:36 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 27 Jul 2012 23:29:34 +0000 From: Baptiste Daroussin To: Maho NAKATA Message-ID: <20120727232933.GC48384@ithaqua.etoilebsd.net> References: <500D6F5B.8030602@janh.de> <20120727.115721.1764309951853442978.chat95@mac.com> <20120727230043.GB48384@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF" Content-Disposition: inline In-Reply-To: <20120727230043.GB48384@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: me@janh.de, freebsd-office@FreeBSD.org Subject: Re: editors/openoffice-3 build failure (lingucomponent) and fix X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 23:29:37 -0000 --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 > > 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--