diff options
author | miwi <miwi@FreeBSD.org> | 2012-01-29 01:49:15 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-01-29 01:49:15 +0800 |
commit | 1bd6047d29463aadf455f9a53b620ab2b023af06 (patch) | |
tree | e17e8dcdfdeffe2546a36e6edd820accf8d1707d /japanese/edict | |
parent | 66a5450211b6e4e2e58637941a96df35b667b7c5 (diff) | |
download | freebsd-ports-graphics-1bd6047d29463aadf455f9a53b620ab2b023af06.tar.gz freebsd-ports-graphics-1bd6047d29463aadf455f9a53b620ab2b023af06.tar.zst freebsd-ports-graphics-1bd6047d29463aadf455f9a53b620ab2b023af06.zip |
- Fix build with clang
PR: 164198
Submitted by: Jan Beich <jbeich@tormail.net>
Diffstat (limited to 'japanese/edict')
-rw-r--r-- | japanese/edict/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/japanese/edict/Makefile b/japanese/edict/Makefile index 9ac6be1f3aa..ac39b4e7328 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} |