aboutsummaryrefslogtreecommitdiff
path: root/games/vavoom
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 04:52:26 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 04:52:26 +0000
commit6d01bed8d6208115eac8b891d56d814f9ecf471f (patch)
treecbd3a95c460ca025ccb538dabd21a9fdb3cd21ec /games/vavoom
parenta8dffc71e4ceba528d173a47b503db5ef3813e9e (diff)
downloadports-6d01bed8d6208115eac8b891d56d814f9ecf471f.tar.gz
ports-6d01bed8d6208115eac8b891d56d814f9ecf471f.zip
- fix build for png-1.4.1
PR: 145128 Submitted by: Barbara
Notes
Notes: svn path=/head/; revision=251674
Diffstat (limited to 'games/vavoom')
-rw-r--r--games/vavoom/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index 31b84e6665bf..7350dd35b766 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -135,6 +135,8 @@ post-patch:
${WRKSRC}/utils/acc/parse.c
@${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
${WRKSRC}/utils/acc/strlist.c
+ @${REINPLACE_CMD} -e 's/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/' \
+ ${WRKSRC}/source/r_tex_png.cpp
.if defined(WITH_LAUNCHER)
@${REINPLACE_CMD} -e '/add_definitions($${wxWidgets_DEFINITIONS})/d; \