pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38733: libmpeg3 doesn't build on Mac OS X 10.5.2 (round 3)!
The following reply was made to PR pkg/38733; it has been noted by GNATS.
From: Antoine Reilles <Antoine.Reilles%loria.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38733: libmpeg3 doesn't build on Mac OS X 10.5.2 (round 3)!
Date: Sat, 24 May 2008 08:35:32 +0200
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, May 23, 2008 at 09:25:01PM +0000, ssartor%bellatlantic.net@localhost
wrote:
> libmpeg3 still does not build on Mac OS X 10.5.2:
>=20
> gcc -c `cat work/c_flags` mpeg3io.c -o work/mpeg3io.o
> In file included from mpeg3io.c:22:
> /usr/include/sys/stat.h:261: error: redefinition of 'struct stat'
> gnumake: *** [work/mpeg3io.o] Error 1
> *** Error code 2
Oh, 10.5 has stat64, so the
# define fopen64 fopen
# define fseeko64 fseek
# define stat64 stat
part of patch-ah should be avoided on 10.5.
I don't know which define to use to detect 10.5
Regards,
antoine
--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
iD8DBQFIN7cz4VqmoGDE/mwRApGvAJ95gj7UCrXvBsmY/PctezziWig/XQCfUZnX
LU7NoEVsSMKO+PRONUoaQZE=
=D1/t
-----END PGP SIGNATURE-----
--6c2NcOVqGQ03X4Wi--
Home |
Main Index |
Thread Index |
Old Index