aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-28 22:12:20 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-28 22:12:20 +0800
commit8e2b1c516ab0af963d38b1ddce7ebc58a545f849 (patch)
tree1279866920fca2c245452d7a62b01ffac0cf519b /misc
parentf504b5ba9685fb3d3f2a28bd075ad877e9b149b3 (diff)
downloadfreebsd-ports-gnome-8e2b1c516ab0af963d38b1ddce7ebc58a545f849.tar.gz
freebsd-ports-gnome-8e2b1c516ab0af963d38b1ddce7ebc58a545f849.tar.zst
freebsd-ports-gnome-8e2b1c516ab0af963d38b1ddce7ebc58a545f849.zip
- fix build for png-1.4.1
Reported by: QA Tindy
Diffstat (limited to 'misc')
-rw-r--r--misc/magicpoint/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index a0943b9dcc4b..d6cf246981b9 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -76,7 +76,9 @@ CONFIGURE_ARGS+= --disable-imlib
.endif
post-patch:
- ${REINPLACE_CMD} -e 's|-lungif|-lgif|' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|-lungif|-lgif|' \
+ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
+ ${WRKSRC}/configure ${WRKSRC}/image/png.c
post-configure:
cd ${WRKSRC}/contrib/xmindpath && \