aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 20:32:02 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 20:32:02 +0800
commita6161817c19b8f5924db215e5f04571b3899387b (patch)
tree13f4fdeaf7d96e0412a7071389c1a31d2bb9566f /games
parent634c87c5f9a179bfdae54a17be2e307a17b7691b (diff)
downloadfreebsd-ports-gnome-a6161817c19b8f5924db215e5f04571b3899387b.tar.gz
freebsd-ports-gnome-a6161817c19b8f5924db215e5f04571b3899387b.tar.zst
freebsd-ports-gnome-a6161817c19b8f5924db215e5f04571b3899387b.zip
- fix build for png-1.4.1
Diffstat (limited to 'games')
-rw-r--r--games/scorched3d/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile
index 67578cc6dd2b..429e6b6bda1b 100644
--- a/games/scorched3d/Makefile
+++ b/games/scorched3d/Makefile
@@ -53,6 +53,8 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" \
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/configure.ac
+ @${REINPLACE_CMD} -e 's,png_infopp_NULL,NULL,g' \
+ ${WRKSRC}/src/common/image/ImagePng.cpp
pre-configure:
@cd ${WRKSRC}/scripts && ${PERL} createAMMakefile.pl