mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04: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:
parent
d65a7b8861
commit
cdbc49c6b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296152
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue