ports/70932: devel/kcachegrind: gcc 3.4.2 fix

Simon Barner barner at in.tum.de
Wed Aug 25 08:50:27 UTC 2004


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



More information about the freebsd-ports-bugs mailing list