ports/82433: [Patch] Fix imlib2 on 4.x
Michael Nottebrock
lofi at FreeBSD.org
Mon Jun 20 08:00:41 UTC 2005
>Number: 82433
>Category: ports
>Synopsis: [Patch] Fix imlib2 on 4.x
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 20 08:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Michael Nottebrock
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD kiste 5.4-STABLE FreeBSD 5.4-STABLE #1: Mon Jun 6 20:56:05 CEST 2005 root at kiste:/usr/obj/usr/src/sys/KISTE-UP i386
>Description:
The updated version of imlib2 uses round() instead of lround(),
thus the 4.x-patch must be adjusted accordingly.
>How-To-Repeat:
>Fix:
--- imlib2.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/imlib2/Makefile,v
retrieving revision 1.102
diff -u -r1.102 Makefile
--- Makefile 16 Jun 2005 09:34:41 -0000 1.102
+++ Makefile 20 Jun 2005 07:53:35 -0000
@@ -39,6 +39,6 @@
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>
--- imlib2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list