aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/irrlicht
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 18:09:11 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 18:09:11 +0000
commitc9188eefd03f11376dd8486264a58a0f562b759b (patch)
tree3bf59e0a99a467465f202ae3d5a1d223910edf35 /x11-toolkits/irrlicht
parent61540bed3672f08185969e7251e28a42ebc7c443 (diff)
downloadports-c9188eefd03f11376dd8486264a58a0f562b759b.tar.gz
ports-c9188eefd03f11376dd8486264a58a0f562b759b.zip
Notes
Diffstat (limited to 'x11-toolkits/irrlicht')
-rw-r--r--x11-toolkits/irrlicht/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/irrlicht/Makefile b/x11-toolkits/irrlicht/Makefile
index 1cf8c2345f1a..16490331576b 100644
--- a/x11-toolkits/irrlicht/Makefile
+++ b/x11-toolkits/irrlicht/Makefile
@@ -63,6 +63,8 @@ MAKE_ENV+= NDEBUG=1
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/source/Irrlicht/CImageLoaderPNG.cpp
.if !defined(HAVE_JOYSTICK)
@${REINPLACE_CMD} -e '/define.*_IRR_COMPILE_WITH_JOYSTICK_EVENTS_/ d' \
${WRKSRC}/include/IrrCompileConfig.h