summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-05-13 18:49:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-05-13 18:49:07 +0000
commit8479203087c93bddb20526d779304c7aea844cc4 (patch)
tree6516cf3189f98bea81fc2bfc4cb82a13448be533
parentPrevent collision with getline(3) (diff)
Prevent collision with dprintf(3)
Notes
Notes: svn path=/head/; revision=415131
-rw-r--r--devel/buildtool/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/buildtool/Makefile b/devel/buildtool/Makefile
index dcba8d1c7616..1c4eee593325 100644
--- a/devel/buildtool/Makefile
+++ b/devel/buildtool/Makefile
@@ -14,4 +14,9 @@ CONFIGURE_ARGS= -p ${PREFIX} -d ${DOCSDIR}
OPTIONS_DEFINE= DOCS
+post-patch:
+ ${REINPLACE_CMD} -e "s/dprintf/debug_printf/g" \
+ ${WRKSRC}/bt_sh/output.h ${WRKSRC}/bt_sh/input.c \
+ ${WRKSRC}/bt_sh/input.c ${WRKSRC}/bt_sh/output.c
+
.include <bsd.port.mk>