patch for alloca on xstreamos/illumos

Richard PALO richard at netbsd.org
Fri Jan 23 02:00:25 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 23/01/15 10:01, Gabriele Bulfon a écrit :
> Hi,
> 
> going on building, I found a couple of vcl sources using "alloca", requiring an include on solaris/illumos.
> So I had to patch both toolkit/source/awt/vclxgraphics.cxx and toolkit/source/awt/vclxfont.cxx to add this:
> 
> #ifdef __sun__
> #include <alloca.h>
> #endif
> 
> and now it goes on ;)
> 
> Gabriele.
> 

==========================
> richard at omnis:/home/richard/src/libreoffice$ git grep  '<alloca.h>'
> include/sal/alloca.h:#include <alloca.h>

If you look there you see a guard for solaris... 

Therefore, perhaps consider simply including <sal/alloca.h>
and submit a patch if not already in master.

Hopefully there are not too many of these left...


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUwhu4AAoJECAB22fHtp27wrAH/1efW9CF4RLXdw/HdDuENzj5
spgnZ7nzCdBhojiFDHlPYW0CRfjgrX7BKcNTRiFGQWGgQeXfAscGtepl5+Xr4kLa
v35uKh3YSStVOTCaXMEoxhrA4/WF1XBzcwAv9xhGveWNerw+4n4rMLBUkmWgCZmw
8KrDTUQAsAYq+nKUmNxlIb5vmIRfUli1imzg/M7SuRKoNxhQj9WPIA+6fKS7fRdM
O+rkC7mBc084GfKdAQPnDnmE7SmTvhi6hMAOvZsxAYcuJsY4vGzl4WpOifNhIXon
OoGCD4xxkz7saCtGedB4A0UijBDpBoDRbugeMg7UIhcMDGbU1fqI0VSVzpkZa7U=
=PzG3
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list