summaryrefslogtreecommitdiff
path: root/mbone/mdp/patches/patch-ac
diff options
context:
space:
mode:
authorrillig <rillig>2007-12-01 13:55:11 +0000
committerrillig <rillig>2007-12-01 13:55:11 +0000
commit08363b35be906927210a5a977300ac9a7ccd1be1 (patch)
treea4c15facb8d35c76116be94dff6194f23123d361 /mbone/mdp/patches/patch-ac
parent7543ccbfb4dc8bd95d52228d6279f512abf153ef (diff)
downloadpkgsrc-08363b35be906927210a5a977300ac9a7ccd1be1.tar.gz
Restructured the package so that all source files can be patched.
Fixed build failures with g++4.
Diffstat (limited to 'mbone/mdp/patches/patch-ac')
-rw-r--r--mbone/mdp/patches/patch-ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/mbone/mdp/patches/patch-ac b/mbone/mdp/patches/patch-ac
new file mode 100644
index 00000000000..f8d3472f93f
--- /dev/null
+++ b/mbone/mdp/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1 2007/12/01 13:55:12 rillig Exp $
+
+Friend declarations are not class definitions.
+
+--- common/mdpObject.h.orig 2002-01-07 19:18:57.000000000 +0000
++++ common/mdpObject.h 2007-12-01 13:42:33.000000000 +0000
+@@ -419,6 +419,11 @@ enum MdpNackingMode
+ MDP_NACKING_NORMAL
+ };
+
++class MdpSession;
++class MdpServerNode;
++class MdpObjectList;
++class MdpObjectListIterator;
++
+ class MdpObject
+ #ifdef USE_INHERITANCE
+ : public ProtocolTimerOwner