Subject: Re: mp3blaster: compile error
To: None <pkgsrc-users@netbsd.org>
From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc@blackmouse.biz>
List: pkgsrc-users
Date: 01/07/2007 14:42:21
--Signature=_Sun__7_Jan_2007_14_42_21_+0100_i6F+XW/9bXjD=uDA
Content-Type: text/plain; charset=ISO-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

ou, sure, thanks :)

On Sun, 7 Jan 2007 13:57:35 +0100
Christian Biere <christianbiere@gmx.de> wrote:

> Ond?ej T?ma wrote:
> > i'm using pkgsrc on Linux and there is error if i build binary:
> >
> > fileman.cc:215: error: 'struct dirent' has no member named 'd_namlen'
> >
> > it's problem of patch patch-ag where is these lines:
> > -         char *newpath =3D (char *)malloc((entry->d_reclen + 2 + strle=
n(path)) *
> > +         char *newpath =3D (char *)malloc((sizeof(*entry) + entry->d_n=
amlen + 2 + strlen(path)) *
>
> Try replacing 'entry->d_namlen' with 'strlen(entry->d_name)'. I haven't l=
ooked at
> the context, this looks somewhat bogus anyway.
>
> --
> Christian
>


--
Ond=F8ej T=F9ma

Unix-like system is the best operation system from the top of the world.
I'm lucky BSD and linux user. :) Use unix-like, be free. :)

www.blackmouse.biz                                        hash.webjet.cz
ICQ: 107760454       JABBER: mcbig@jabber.cz      MSN: ondra.tu@atlas.cz

--Signature=_Sun__7_Jan_2007_14_42_21_+0100_i6F+XW/9bXjD=uDA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD4DBQFFoPi9BmNIPxOnb/IRAjcoAJdm0U05+aDfIY9b1c+xzhqpht2/AJ94IEzj
DuQXz7nu7pFKKtF0s4KKxA==
=8MnB
-----END PGP SIGNATURE-----

--Signature=_Sun__7_Jan_2007_14_42_21_+0100_i6F+XW/9bXjD=uDA--