aboutsummaryrefslogtreecommitdiffstats
path: root/editors/yudit
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
committerpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
commit543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch)
tree09358f3b37255b97a358ba5c645a6ba3d61f221c /editors/yudit
parente14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff)
downloadfreebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz
freebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.zst
freebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'editors/yudit')
-rw-r--r--editors/yudit/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/yudit/Makefile b/editors/yudit/Makefile
index a795b78369e7..377fee727e29 100644
--- a/editors/yudit/Makefile
+++ b/editors/yudit/Makefile
@@ -29,6 +29,10 @@ MAKE_ENV= LC_ALL=
MAN1= yudit.1 makeumap.1 stripumap.1 uniconv.1 uniprint.1
USE_GMAKE= YES
+pre-patch:
+ @${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \
+ ${WRKSRC}/src/UFontMap.cpp
+
post-install:
cd ${PREFIX}/bin/ && strip yudit stripumap uniconv uniprint