aboutsummaryrefslogtreecommitdiffstats
path: root/games/ezquake
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 19:34:28 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 19:34:28 +0800
commit2427d7351bbc49169b12988dde39aca87d9ca69a (patch)
treefc316b985462a005340bae9f56df30f429685bd5 /games/ezquake
parent4bee59204a59d93b91e5f0117170803dc394819e (diff)
downloadfreebsd-ports-gnome-2427d7351bbc49169b12988dde39aca87d9ca69a.tar.gz
freebsd-ports-gnome-2427d7351bbc49169b12988dde39aca87d9ca69a.tar.zst
freebsd-ports-gnome-2427d7351bbc49169b12988dde39aca87d9ca69a.zip
- fix build for png-1.4.1
Diffstat (limited to 'games/ezquake')
-rw-r--r--games/ezquake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/ezquake/Makefile b/games/ezquake/Makefile
index 47996de73191..0d9d043fef2e 100644
--- a/games/ezquake/Makefile
+++ b/games/ezquake/Makefile
@@ -81,8 +81,9 @@ do-extract:
post-patch:
@${REINPLACE_CMD} -e 's|libtcl\.so|libtcl${TCL_VER:S/.//}|' \
${WRKSRC}/embed_tcl.h
-# Resolve name collision with jpeg-8
+# Resolve name collision with jpeg-8 and API png
${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
+ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/image.c
do-install: