Fix building on 4.x.
Submitted by: lofi@
This commit is contained in:
parent
40aa5acc23
commit
af05614491
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137799
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue