aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sformat
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-08-01 17:46:35 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-08-01 17:46:35 +0000
commit89b1e497b36805a28f3a5495050ee046a48d176a (patch)
tree87107fe0082c672a2d3904be1679e863002deb58 /sysutils/sformat
parent8b9fbdfc255e7c4039eadb813a3289f30cc137e8 (diff)
downloadports-89b1e497b36805a28f3a5495050ee046a48d176a.tar.gz
ports-89b1e497b36805a28f3a5495050ee046a48d176a.zip
Prevent collision with getline(3)
Notes
Notes: svn path=/head/; revision=419446
Diffstat (limited to 'sysutils/sformat')
-rw-r--r--sysutils/sformat/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/sformat/Makefile b/sysutils/sformat/Makefile
index 6c27c7e47550..56a8540b7401 100644
--- a/sysutils/sformat/Makefile
+++ b/sysutils/sformat/Makefile
@@ -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: