From c23da6f64e10f9f1f16528e2b4d3fe5aa7aaa556 Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 30 Mar 2010 13:39:54 +0000 Subject: - fix build for png-1.4.1 --- games/wesnoth-devel/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit