1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix void main(), int main(void), int main(int) functions, which causes an incompatibl clock_gettime to be build into the library

PR:		ports/164785
Submitted by:	Tony Morlan <tony@scroner.com>
This commit is contained in:
Sylvio Cesar Teixeira 2012-05-07 17:25:38 +00:00
parent d65a7b8861
commit cdbc49c6b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296152

View File

@ -30,7 +30,7 @@ DOCS= NEWS README TODO doc/html/*
MAN1= cli-generate.1
post-patch:
${REINPLACE_CMD} '/main/s/void/int/' ${WRKSRC}/sys/try*.c
${REINPLACE_CMD} '/main/s/^void/int/' ${WRKSRC}/sys/try*.c
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc