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

Hanno Meyer-Thurow h.mth at web.de
Tue Mar 8 09:45:49 PST 2011

On Tue, 08 Mar 2011 10:55:43 +0000
Caolán McNamara <caolanm at redhat.com> wrote:

> > 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.

A well, nowadays x11 libraries and includes are installed in compiler default paths,
on Gentoo at least. So, if you add the `pkg-config --variable=libdir x11`
library path to the gcc command line you are at the beginning of the problem
again. Same for include. O well, let's check what the gcc commandline is nowadays
without the patch. ;)

> > 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 ?

I quite do not get where you want to go here. That sandbox violation is caused
by an silly 'rm /bin/bla.zip' shell call from makefile.mk script for no good reason.

officecfg does not even create that file where the sandbox would have screamed

And the environment sets COMMON_OUTDIR="" which is funny.
(See my last post for a link.)


More information about the LibreOffice mailing list