mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build under 7.x
Reported by: pointyhat Approved by: wxs (mentor)
This commit is contained in:
parent
82dc585687
commit
8f8b6ea23f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280882
1 changed files with 4 additions and 0 deletions
|
@ -46,5 +46,9 @@ BROKEN= Does not compile on ia64
|
|||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|mode_t|mode_t_|g' ${WRKSRC}/src/utils/libfat/libfat_pc.h
|
||||
# FreeBSD 7.x is missing strnlen(), adjusting this enables a builtin version of strnlen()
|
||||
.if ${OSVERSION} < 800000
|
||||
@${REINPLACE_CMD} -e 's|#ifdef __APPLE__|#if 1|g' ${WRKSRC}/src/utils/libfat/directory.cpp
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue