aboutsummaryrefslogtreecommitdiff
path: root/editors/yudit
diff options
context:
space:
mode:
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