Port-arm archive

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

Re: Can't comple 10 on FreeBSD 13.3



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



Home | Main Index | Thread Index | Old Index