diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 12:10:48 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-30 12:10:48 +0000 |
commit | 6dd02eda052294b99ddc01c0b89453fde1a60e95 (patch) | |
tree | 10016a7cf7c65071759a70e645c34894206ac596 /games/gtkradiant | |
parent | f003409da8065a33f30a7571e07e2e61d581ad1f (diff) | |
download | ports-6dd02eda052294b99ddc01c0b89453fde1a60e95.tar.gz ports-6dd02eda052294b99ddc01c0b89453fde1a60e95.zip |
- fix build for png-1.4.1
Notes
Notes:
svn path=/head/; revision=251809
Diffstat (limited to 'games/gtkradiant')
-rw-r--r-- | games/gtkradiant/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/gtkradiant/Makefile b/games/gtkradiant/Makefile index cba5e9d38b71..fead1f0b1270 100644 --- a/games/gtkradiant/Makefile +++ b/games/gtkradiant/Makefile @@ -36,6 +36,9 @@ DATADIR= ${PREFIX}/lib/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/SConscript + @${REINPLACE_CMD} -e 's/png_infopp_NULL/NULL/' \ + -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ + ${WRKSRC}/plugins/imagepng/plugin.cpp @${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \ ${XARGS} ${REINPLACE_CMD} -e \ 's/\(defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)\)/\1 || defined (__FreeBSD__)/' |