Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 09:57:15 +0200 (CEST)
From:      Michael Nottebrock <lofi@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82433: [Patch] Fix imlib2 on 4.x
Message-ID:  <200506200757.j5K7vFrV084905@kiste.my.domain>
Resent-Message-ID: <200506200800.j5K80TXK087950@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506200757.j5K7vFrV084905>