Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 10:46:19 +0200 (CEST)
From:      Simon Barner <barner@in.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70932: devel/kcachegrind: gcc 3.4.2 fix	
Message-ID:  <20040825084619.97F73C1AA@zi025.glhnet.mhn.de>
Resent-Message-ID: <200408250850.i7P8oRLd004277@freefall.freebsd.org>

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

>Number:         70932
>Category:       ports
>Synopsis:       devel/kcachegrind: gcc 3.4.2 fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 25 08:50:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 5.3-ALPHA i386
>Organization:
>Environment:
FreeBSD zi025.glhnet.mhn.de 5.3-ALPHA FreeBSD 5.3-ALPHA #0: Mon Aug 23 14:34:13
CEST 2004     root@zi025.glhnet.mhn.de:/mnt/fbsd521/usr/src/sys/i386/compile/KIS
TE  i386

>Description:

The attached patched is approved by the kcachegrind author (the AppendListChunk is currently unused).

Please note that there will be a another PR regarding kcachegrind soon, since
`calltree' (on which kcachegrind depends) was renamed to `callgrind'.
Since this will require a repo-copy, I thought splitting up the two issues is
preferable.

>How-To-Repeat:

Try to compile the port on FreeBSD 5.x after the gcc import.

>Fix:

--- patch-utils.h begins here ---
--- utils.h.orig	Wed Aug 25 09:14:10 2004
+++ utils.h	Wed Aug 25 09:15:21 2004
@@ -151,7 +151,7 @@
     struct AppendListChunk {
 	int size;
 	struct AppendListChunk* next;
-	type* data[0];
+	// type* data[0];
     };
 
     struct AppendListChunk *_next, *_current, *_last;
--- patch-utils.h ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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