[Libreoffice] [PATCH] Gentoo patches from old build repository for master

Caolán McNamara caolanm at redhat.com
Tue Mar 8 02:55:43 PST 2011


On Mon, 2011-03-07 at 22:54 +0100, Hanno Meyer-Thurow wrote:
> On Mon, 07 Mar 2011 20:44:04 +0000
> Caolán McNamara <caolanm at redhat.com> wrote:
> > On Mon, 2011-03-07 at 19:03 +0100, Hanno Meyer-Thurow wrote:
> > > 1. Do not add compiler default include and library path: potentially build
> > >    against different version of system library than requested by the user
> > >    (i.e., /usr/local/lib vs /usr/lib).
...
> Well, that '/usr/lib' path is hard-coded in configure right now.

But currently only if pkg-config --variable=libdir x11 fails. I wonder
if just removing the surrounding 'if test "$x_libraries... ' would be
sufficient for your problem.

> > > 3. Fix sandbox violation in officecfg module: rm /bin/<language>.zip
> > > 
> > > 	Report:	https://bugs.gentoo.org/show_bug.cgi?id=251932
> > > 	Fix:		http://code.google.com/p/gekis-playground/source/browse/#svn/trunk/app-office/libreoffice/files/pre/gentoo-sandbox.diff
> > 
> > Personally would prefer that code falls back to some allowed location,
> > e.g. getTempDir or something, rather than hacking it out.
> 
> That is not used anymore as far as we could see. So just some cruft left.
> At least for officecfg. Is there more to it?

I was thinking more that osl_getHomeDir/getConfigDir should return
osl_getTempDirURL as a fallback if they can't get any other result ?

C.



More information about the LibreOffice mailing list