aboutsummaryrefslogtreecommitdiffstats
path: root/games/ezquake
diff options
context:
space:
mode:
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: