aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-04-01 13:34:24 +0800
committerdinoex <dinoex@FreeBSD.org>2010-04-01 13:34:24 +0800
commit1d5ad4dfe829fb4831b2377bec497064cab8e16d (patch)
treec9919dc902c74253dacc240c142a0091ae0e62cf /games
parent8ffdf6d4901fd131a7611b306f2eaf334bf35710 (diff)
downloadfreebsd-ports-gnome-1d5ad4dfe829fb4831b2377bec497064cab8e16d.tar.gz
freebsd-ports-gnome-1d5ad4dfe829fb4831b2377bec497064cab8e16d.tar.zst
freebsd-ports-gnome-1d5ad4dfe829fb4831b2377bec497064cab8e16d.zip
- fix build for png-1.4.1
PR: 145225
Diffstat (limited to 'games')
-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}