aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ah-tty
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2002-10-22 12:38:30 +0800
committeradamw <adamw@FreeBSD.org>2002-10-22 12:38:30 +0800
commit9488e93fbf888a3fa135c84a143514b460181f3f (patch)
tree5370ab7417058f70677d56af4b77504ceabeacd9 /sysutils/ah-tty
parent2efb62a764513c6469701fb45713416feb41a80f (diff)
downloadfreebsd-ports-gnome-9488e93fbf888a3fa135c84a143514b460181f3f.tar.gz
freebsd-ports-gnome-9488e93fbf888a3fa135c84a143514b460181f3f.tar.zst
freebsd-ports-gnome-9488e93fbf888a3fa135c84a143514b460181f3f.zip
Fix malloc.h include warnings.
PR: 42472 Submitted by: mich@freebsdcluster.org (maintainer) Approved by: pat
Diffstat (limited to 'sysutils/ah-tty')
-rw-r--r--sysutils/ah-tty/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/ah-tty/Makefile b/sysutils/ah-tty/Makefile
index 4fb74b63a7a2..32de8d18cb53 100644
--- a/sysutils/ah-tty/Makefile
+++ b/sysutils/ah-tty/Makefile
@@ -14,7 +14,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@freebsdcluster.org
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= ah-tty.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
+ ${WRKSRC}/dillib/vty/vtlabel.c
+
.include <bsd.port.mk>