1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

Prevent collision with getline(3)

This commit is contained in:
Antoine Brodin 2016-08-01 17:46:35 +00:00
parent 8b9fbdfc25
commit 89b1e497b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419446

View File

@ -50,7 +50,8 @@ post-patch:
@${REINPLACE_CMD} -e 's| getline(| get_line(|g' ${WRKSRC}/sformat/io.c \
${WRKSRC}/sformat/defect.c
@${REINPLACE_CMD} -e 's|^getline|get_line|g' ${WRKSRC}/libschily/stdio/fgetline.c
@${REINPLACE_CMD} -e 's|)getline|)get_line|g' ${WRKSRC}/sformat/diskfmt.c
@${REINPLACE_CMD} -e 's|)getline|)get_line|g' ${WRKSRC}/sformat/diskfmt.c \
${WRKSRC}/sformat/makelabel.c
do-install: