aboutsummaryrefslogtreecommitdiff
path: root/games/freeorion
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-01 05:34:24 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-01 05:34:24 +0000
commit4caa9820cc97de8c805f5c4a716ed58412bbe0b5 (patch)
tree2c7099ac318a0bf3bf15bba3cc4a5703df7c5694 /games/freeorion
parentb6b0773517ba411572baeba47f6ccbb824d8f7de (diff)
downloadports-4caa9820cc97de8c805f5c4a716ed58412bbe0b5.tar.gz
ports-4caa9820cc97de8c805f5c4a716ed58412bbe0b5.zip
- fix build for png-1.4.1
PR: 145225
Notes
Notes: svn path=/head/; revision=251924
Diffstat (limited to 'games/freeorion')
-rw-r--r--games/freeorion/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/freeorion/Makefile b/games/freeorion/Makefile
index 563a0b8a83e9..4832897e4221 100644
--- a/games/freeorion/Makefile
+++ b/games/freeorion/Makefile
@@ -47,6 +47,10 @@ post-patch:
${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/util/Directories.cpp
+ @${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' -e 's|int_p_NULL|NULL|g' \
+ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/GG/src/GIL/extension/io/png_io_private.hpp \
+ ${WRKSRC}/GG/src/GIL/extension/io/png_dynamic_io.hpp
post-install:
${INSTALL_DATA} ${WRKSRC}/ogre_plugins.cfg ${DATADIR}