aboutsummaryrefslogtreecommitdiff
path: root/x11/xloadimage
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 12:57:54 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 12:57:54 +0000
commit6177e4b8ef86ee1bb9ac96932d620832fb4049d9 (patch)
tree4983141ad4dbb846d4937905a5fc47aba9ac3a92 /x11/xloadimage
parent350f3a0f284928215c7bb999c35668ea236d1c7c (diff)
downloadports-6177e4b8ef86ee1bb9ac96932d620832fb4049d9.tar.gz
ports-6177e4b8ef86ee1bb9ac96932d620832fb4049d9.zip
- fix build for png-1.4.1
145104 Christoph Moench-Tegeder
Notes
Notes: svn path=/head/; revision=251629
Diffstat (limited to 'x11/xloadimage')
-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: \