Skip site navigation (1)Skip section navigation (2)
Date:      7 Sep 2004 04:37:49 -0000
From:      Mark Daniel Reidel <ports@mark.reidel.info>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71447: [MAINTAINER] audio/kmp: fix for GCC 3.4.2
Message-ID:  <20040907043749.9990.qmail@karm.dyndns.org>
Resent-Message-ID: <200409070440.i874eGXg035153@freefall.freebsd.org>

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

>Number:         71447
>Category:       ports
>Synopsis:       [MAINTAINER] audio/kmp: fix for GCC 3.4.2
>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:   Tue Sep 07 04:40:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mark Daniel Reidel
>Release:        FreeBSD 5.3-BETA2 i386
>Organization:
>Environment:
System: FreeBSD alu.reidel.info 5.3-BETA2 FreeBSD 5.3-BETA2 #16: Tue Aug 31 21:13:45 CEST 2004
>Description:
Fix the build with GCC 3.4.2.
>How-To-Repeat:
>Fix:

--- kmp-0.01.patch begins here ---
diff -ruN --exclude=CVS /tmp/portbk/audio/kmp/files/patch-linkedlist.h /usr/ports/audio/kmp/files/patch-linkedlist.h
--- /tmp/portbk/audio/kmp/files/patch-linkedlist.h	Thu Jan  1 01:00:00 1970
+++ /usr/ports/audio/kmp/files/patch-linkedlist.h	Tue Sep  7 06:35:14 2004
@@ -0,0 +1,11 @@
+--- linkedlist.h	Tue Sep  7 06:32:48 2004
++++ linkedlist.h	Tue Sep  7 06:33:00 2004
+@@ -121,7 +121,7 @@
+ int linkedList<ItemType>::add(ItemType Item, int location) {
+ 	node* parent;
+ 	node* nextspot;
+-	if(!find(location, root_, parent)) return 0;
++	if(!find(location, root, parent)) return 0;
+ 	nextspot = parent->next;
+ 	parent->next = new node;
+ 	parent->next->next = nextspot;
--- kmp-0.01.patch ends here ---

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



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