aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-04-01 15:58:19 +0800
committerdinoex <dinoex@FreeBSD.org>2010-04-01 15:58:19 +0800
commit6e5a74fe5c6a0137022ed57b4ed8e701fd71b0ed (patch)
tree8f8c77a7cf90928d541a9b32e12714ef2eb8792a /games
parentf4ab64fabed784b646a3f1c250e95b4bc42f9835 (diff)
downloadfreebsd-ports-graphics-6e5a74fe5c6a0137022ed57b4ed8e701fd71b0ed.tar.gz
freebsd-ports-graphics-6e5a74fe5c6a0137022ed57b4ed8e701fd71b0ed.tar.zst
freebsd-ports-graphics-6e5a74fe5c6a0137022ed57b4ed8e701fd71b0ed.zip
- fix build for png-1.4.1
Diffstat (limited to 'games')
-rw-r--r--games/tremor/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/tremor/Makefile b/games/tremor/Makefile
index fd0f8576e4c..1450dfbd2b0 100644
--- a/games/tremor/Makefile
+++ b/games/tremor/Makefile
@@ -91,6 +91,10 @@ post-extract:
-d ${WRKDIR}
.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}/image.c
+
do-install:
.if !defined(WITHOUT_GLX)
${INSTALL_PROGRAM} ${WRKSRC}/quake/${PORTNAME}-glx ${PREFIX}/bin