From 45d8d4e71d6dc4e040dcc0a2269e9635c1c4c772 Mon Sep 17 00:00:00 2001
From: Kirill Ponomarev <krion@FreeBSD.org>
Date: Tue, 7 Sep 2004 05:24:56 +0000
Subject: Fix build with gcc-3.4

PR:		ports/71447
Submitted by:	maintainer
Approved by:	portmgr (implicit)
---
 audio/kmp/files/patch-linkedlist.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 audio/kmp/files/patch-linkedlist.h

(limited to 'audio/kmp')

diff --git a/audio/kmp/files/patch-linkedlist.h b/audio/kmp/files/patch-linkedlist.h
new file mode 100644
index 000000000000..f5ae19098ae5
--- /dev/null
+++ b/audio/kmp/files/patch-linkedlist.h
@@ -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;
-- 
cgit v1.2.3