Re: Can't comple 10 on FreeBSD 13.3

Lloyd Parkes <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <17d80e46bbffa985a25a60a5249eecb494c6ad3b.camel@must-have-coffee.gen.nz>
Kia ora,
It looks like FreeBSD fixed a bug in their definition of fts_open() and
this fix has broken a workaround we have in place for that bug.

There is this code at line 87 of src/usr.sbin/mtree/create.c 

#ifdef __FreeBSD__
#define	FTS_CONST const
#else
#define	FTS_CONST
#endif

Try changing it to this code.

#if defined(__FreeBSD__) && __FreeBSD_version < 1303000
#define	FTS_CONST const
#else
#define	FTS_CONST
#endif

Ngā mihi,
Lloyd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.