mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- Add patches to fix build on 10.x+
- Mark BROKEN on 10.x+ It accesses field of structure which was made opaque in r235647 to change internally used file descriptor: cwd.c:892:15: error: incomplete definition of type 'struct _dirdesc' search->dp->dd_fd = squirrel_fd(search->dp->dd_fd); ~~~~~~~~~~^ /usr/include/dirent.h:58:8: note: forward declaration of 'struct _dirdesc' struct _dirdesc; ^ This hack is no longer possible on 10.x+. Doscmd may work fine without it though, but I'm not taking responsibility by blindly removing it. If you know the interlans and can test it, see extra-patch-cwd.c.
This commit is contained in:
parent
cc04ca886b
commit
80c17d72de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384199
@ -23,6 +23,11 @@ X11_MAKE_ARGS_OFF= -DNO_X
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012
|
||||
# files/extra-patch-cwd.c will fix this, see inside
|
||||
BROKEN= does not build (accesses field of opaque structure)
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
|
Loading…
Reference in New Issue
Block a user