diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-30 19:50:29 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-30 19:50:29 +0800 |
commit | 24b3a931e3d3970459e96c177bd7a87f026a0e9f (patch) | |
tree | 2832ed305db99bf6e0c0a2fb01aa2c3e01a969c1 /x11-toolkits | |
parent | 2427d7351bbc49169b12988dde39aca87d9ca69a (diff) | |
download | freebsd-ports-gnome-24b3a931e3d3970459e96c177bd7a87f026a0e9f.tar.gz freebsd-ports-gnome-24b3a931e3d3970459e96c177bd7a87f026a0e9f.tar.zst freebsd-ports-gnome-24b3a931e3d3970459e96c177bd7a87f026a0e9f.zip |
- fix build for png-1.4.1
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gigi/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |