aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-28 20:57:54 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-28 20:57:54 +0800
commit287e9e6bf7b2f6763405da168cfa6a01e6a20ed9 (patch)
tree7466ec15b014ae11bec244e4158300e438adc939 /x11
parent551987c07c5660cc27e79561c303e1d4b33c40ac (diff)
downloadfreebsd-ports-gnome-287e9e6bf7b2f6763405da168cfa6a01e6a20ed9.tar.gz
freebsd-ports-gnome-287e9e6bf7b2f6763405da168cfa6a01e6a20ed9.tar.zst
freebsd-ports-gnome-287e9e6bf7b2f6763405da168cfa6a01e6a20ed9.zip
- fix build for png-1.4.1
145104 Christoph Moench-Tegeder
Diffstat (limited to 'x11')
-rw-r--r--x11/xloadimage/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11/xloadimage/Makefile b/x11/xloadimage/Makefile
index b3f017a46725..d45d34f0fa6d 100644
--- a/x11/xloadimage/Makefile
+++ b/x11/xloadimage/Makefile
@@ -39,6 +39,8 @@ MLINKS= xloadimage.1 xsetbg.1 \
post-patch:
@${CHMOD} a+rx ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/png.c
@cd ${WRKSRC}; ${MV} xloadimage.man xloadimage.man.old; \
${SED} -e s:/etc/X11/Xloadimage:${PREFIX}/etc/xloadimagerc: \
-e s:/usr/lib/xloadimagerc:${PREFIX}/etc/xloadimagerc: \