ports/71447: [MAINTAINER] audio/kmp: fix for GCC 3.4.2

Mark Daniel Reidel ports at mark.reidel.info
Tue Sep 7 04:40:17 UTC 2004


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



More information about the freebsd-ports-bugs mailing list