From f003409da8065a33f30a7571e07e2e61d581ad1f Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 30 Mar 2010 11:50:29 +0000 Subject: [PATCH] - fix build for png-1.4.1 --- x11-toolkits/gigi/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-toolkits/gigi/Makefile b/x11-toolkits/gigi/Makefile index f63395d8b475..3caf36109d45 100644 --- a/x11-toolkits/gigi/Makefile +++ b/x11-toolkits/gigi/Makefile @@ -54,6 +54,12 @@ PLIST_SUB+= OGRE="@comment " BROKEN= Does not compile .endif +post-patch: + @${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}/src/GIL/extension/io/png_dynamic_io.hpp \ + ${WRKSRC}/src/GIL/extension/io/png_io_private.hpp + post-build: @${REINPLACE_CMD} -Ee 's,^(prefix|(lib|include)dir)=,&${PREFIX},' \ ${WRKSRC}/*.pc