aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrdao
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-07-30 00:41:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-07-30 00:41:00 +0000
commitb379716217cdd062083e4672dd5e5cf37948f464 (patch)
tree703b114446b10132bd6b69a1e5345d19eab28e62 /sysutils/cdrdao
parenta70268c775128f4a7a28e53943e59a8923c67fa7 (diff)
downloadports-b379716217cdd062083e4672dd5e5cf37948f464.tar.gz
ports-b379716217cdd062083e4672dd5e5cf37948f464.zip
Notes
Diffstat (limited to 'sysutils/cdrdao')
-rw-r--r--sysutils/cdrdao/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile
index 9a34fefb7483..9734f03cd4d7 100644
--- a/sysutils/cdrdao/Makefile
+++ b/sysutils/cdrdao/Makefile
@@ -87,6 +87,9 @@ post-patch:
.for i in include/schily.h libschily/fexec.c
@${REINPLACE_CMD} -e 's|fexecve|js_fexecve|g' ${WRKSRC}/scsilib/${i}
.endfor
+ @${REINPLACE_CMD} -e 's|int getline|int get_line|g' ${WRKSRC}/scsilib/include/schily.h
+ @${REINPLACE_CMD} -e 's|(getline|(get_line|g' ${WRKSRC}/scsilib/libscg/scsitransp.c
+ @${REINPLACE_CMD} -e 's|^getline|get_line|g' ${WRKSRC}/scsilib/libschily/stdio/fgetline.c
.if ${PORTNAME} == "gcdmaster"
@${REINPLACE_CMD} -E -e 's|(^SUBDIRS.+) utils|\1|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e 's|(^gladedir.+=).+|\1 ${DATADIR}|' \