aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-09-07 13:24:56 +0800
committerkrion <krion@FreeBSD.org>2004-09-07 13:24:56 +0800
commit5b6928bf0b9e7860cfac9c2b092fd993c883117b (patch)
tree4d6369864745df986a3b8ebafbf5caaf9ff2396c /audio
parent430a4857457ff856eb9e6609b0257975e91786bf (diff)
downloadfreebsd-ports-graphics-5b6928bf0b9e7860cfac9c2b092fd993c883117b.tar.gz
freebsd-ports-graphics-5b6928bf0b9e7860cfac9c2b092fd993c883117b.tar.zst
freebsd-ports-graphics-5b6928bf0b9e7860cfac9c2b092fd993c883117b.zip
Fix build with gcc-3.4
PR: ports/71447 Submitted by: maintainer Approved by: portmgr (implicit)
Diffstat (limited to 'audio')
-rw-r--r--audio/kmp/files/patch-linkedlist.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/kmp/files/patch-linkedlist.h b/audio/kmp/files/patch-linkedlist.h
new file mode 100644
index 00000000000..f5ae19098ae
--- /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;