Subject: Re: graphics/xv fails to build on macppc
To: Loic Hoguin <essen@dev-extend.eu>
From: Matthias Scheler <tron@zhadum.org.uk>
List: pkgsrc-users
Date: 03/24/2007 11:40:04
On Fri, Mar 23, 2007 at 05:51:28PM +0100, Loic Hoguin wrote:
> I tried to build graphics/xv ...

I would recomment not to use this unmaintained and insecure program.
"graphics/gqview" or "graphics/imagemagick" provide much better
alternatives.

> ... today on my iBook running Netbsd/macppc
> current (4.99.16) and it fails with the following error:
[...]
> xvpcd.c:(.text+0xce8): undefined reference to `alloca'

NetBSD-macppc doesn't seem to support alloca(). You could submit a
problem report (category "port-macppc") about that. But considering
that it is broken API it would probably better to patch "xv" not
use it alloca() (or not use "xv" at all :-).

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/