aboutsummaryrefslogtreecommitdiffstats
path: root/games/wesnoth-devel
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 21:39:54 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 21:39:54 +0800
commitc23da6f64e10f9f1f16528e2b4d3fe5aa7aaa556 (patch)
treeb43d438334cda2af5af8a1b6d7169404420cd886 /games/wesnoth-devel
parent03728c5ad54a288e0a00261a21916e6070df06cd (diff)
downloadfreebsd-ports-gnome-c23da6f64e10f9f1f16528e2b4d3fe5aa7aaa556.tar.gz
freebsd-ports-gnome-c23da6f64e10f9f1f16528e2b4d3fe5aa7aaa556.tar.zst
freebsd-ports-gnome-c23da6f64e10f9f1f16528e2b4d3fe5aa7aaa556.zip
- fix build for png-1.4.1
Diffstat (limited to 'games/wesnoth-devel')
-rw-r--r--games/wesnoth-devel/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/wesnoth-devel/Makefile b/games/wesnoth-devel/Makefile
index 6f56438af8db..35ad4f12451e 100644
--- a/games/wesnoth-devel/Makefile
+++ b/games/wesnoth-devel/Makefile
@@ -206,6 +206,11 @@ BROKEN= you need NLS support for `campaignd' or `wesnothd' or tools to link aga
BROKEN= NOPORT(DOCS|DATA) is not supported
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's|png_voidp_NULL|NULL|g' \
+ -e 's|png_error_ptr_NULL|NULL|g' \
+ ${WRKSRC}/src/tools/exploder_utils.cpp
+
post-install: .SILENT
-update-desktop-database