From nobody@FreeBSD.org  Thu May  1 01:26:54 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CB20F106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 May 2008 01:26:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B18098FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 May 2008 01:26:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m411QEsX076023
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 1 May 2008 01:26:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m411QED9075999;
	Thu, 1 May 2008 01:26:14 GMT
	(envelope-from nobody)
Message-Id: <200805010126.m411QED9075999@www.freebsd.org>
Date: Thu, 1 May 2008 01:26:14 GMT
From: Frank Durda IV <uhclem@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 7.0 firefox-2.0.0.12 port patch fails (nsCanvasRenderingContext2D.cpp)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         123282
>Category:       ports
>Synopsis:       www/firefox - FreeBSD 7.0 firefox-2.0.0.12 port patch fails (nsCanvasRenderingContext2D.cpp)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 01:30:01 UTC 2008
>Closed-Date:    Sun May 04 20:17:48 UTC 2008
>Last-Modified:  Sun May 04 20:17:48 UTC 2008
>Originator:     Frank Durda IV
>Release:        7.0-RELEASE i386
>Organization:
>Environment:
FreeBSD falloff.lonestar.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008   root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

>Description:
On a freshly installed 7.0-RELEASE i386 system, the fourth port
pulled down was Firefox, which aborts the build before really
starting with an:


"Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored...
Patch patch-content__canvas__src__nsCanvasRenderingContext2D.cpp failed to apply cleanly.

As this is a directory that didn't exist until this
port was downloaded (no command line options other than "make")
I must conclude the port was bad rather than a conflict
with components of some other port.

However for completeness, the other ports applied
to this system were 44-bsdcsh, lsof, xchat and firefox.
No packages requested, just what you get with an "All"
and Install-Ports "yes" during the OS install.

The patch reject is a one line entry as found in
/usr/ports/www/firefox/work/mozilla/content/
 canvas/src/nsCanvasRenderingContext2D.cpp.rej

..
2139,2155

-   if (status != imgIRequest::STATUS_LOAD_COMPLETE)

--- 2139, 2155 ---

+   if (status & imgIRequest::STATUS_LOAD_COMPLETE) == 0)

I did a search for an existing report of this bug
but I appear to be first to at least report it.
Nothing like this on "firefox" was found (seems
impossible), with or without ports category search
criteria.



>How-To-Repeat:
On FreeBSD 7.0
cd /usr/src/ports/www/firefox
make

(previously installed ports not included as part of the
OS install "All" distribution:  44bsd-csh, lsof, xchat,
otherwise this is a freshly installed system)

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 2 23:46:09 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123282 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun May 4 20:16:30 UTC 2008 
State-Changed-Why:  
Firefox is at 2.0.0.14, and the patch 
patch-content__canvas__src__nsCanvasRenderingContext2D.cpp no longer exists 
in the tree.  Update your ports tree, and remove this file if it remains. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123282 
>Unformatted:
