Fix building on 4.x.

Submitted by:	lofi@
This commit is contained in:
Vanilla I. Shu 2005-06-21 04:26:01 +00:00
parent 40aa5acc23
commit af05614491
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137799

View file

@ -7,7 +7,7 @@
PORTNAME= imlib2
PORTVERSION= 1.2.1
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://enlightenment.freedesktop.org/files/
@ -39,6 +39,6 @@ CONFIGURE_ARGS+= --enable-mmx
post-patch:
@${REINPLACE_CMD} -e \
's|lround|(long int)rint|g' ${WRKSRC}/src/lib/color_helpers.c
's|round|rint|g' ${WRKSRC}/src/lib/color_helpers.c
.include <bsd.port.post.mk>