aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-01-28 17:49:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-01-28 17:49:15 +0000
commit94f65ba9110a53a82c5ba281d1f218ec77252dba (patch)
tree1656c0bac888a830fda5dfffa3ac991f94c256a0
parent54e6036d573129d8ee54cf834ea50939789aeec4 (diff)
downloadports-94f65ba9110a53a82c5ba281d1f218ec77252dba.tar.gz
ports-94f65ba9110a53a82c5ba281d1f218ec77252dba.zip
- Fix build with clang
PR: 164198 Submitted by: Jan Beich <jbeich@tormail.net>
Notes
Notes: svn path=/head/; revision=289945
-rw-r--r--japanese/edict/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/japanese/edict/Makefile b/japanese/edict/Makefile
index 9ac6be1f3aa7..ac39b4e7328d 100644
--- a/japanese/edict/Makefile
+++ b/japanese/edict/Makefile
@@ -64,6 +64,10 @@ NO_WRKSUBDIR= yes
BROKEN= Fails to install on sparc64 with error 2
.endif
+post-patch:
+ @${GREP} -l '^main' ${WRKSRC}/*.c | ${XARGS} ${REINPLACE_CMD} \
+ -e '/argv/s/unsigned//'
+
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}