pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/MesaLib build failure with gcc 4.9.2 on Solaris 10 sparc



On Mon, 11 May 2015 14:43:13 -0700
Ibraheem Saleh <shadowhawk100%gmail.com@localhost> wrote:

> Looks like it got past that error.

Thanks, I committed that.

> Now the package breaks with the following output:

> xmlconfig.c: In function 'parseValue':
> xmlconfig.c:316:2: error: implicit declaration of function 'strndup'
> [-Werror=implicit-function-declaration]
>   v->_string = strndup(string, STRING_CONF_MAXLEN);

Please change it to "v->_string = strdup(string);" for now
and see if there are other problems further down the road.
This is towards the end of the build, but it looks like at
least loader.c would fail in the same way.


Home | Main Index | Thread Index | Old Index