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