summaryrefslogtreecommitdiff
path: root/comms/plp/patches/patch-ar
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-10 16:57:25 +0000
committerrillig <rillig@pkgsrc.org>2007-10-10 16:57:25 +0000
commit5ed7037c8101a6c9564d45fc469e5a426c101a6f (patch)
tree16ec1c693fe34710ccf1c907aaaa40b11c55ef25 /comms/plp/patches/patch-ar
parent1753207518b01caaa7f517d52cd1eb36dd1bcda3 (diff)
downloadpkgsrc-5ed7037c8101a6c9564d45fc469e5a426c101a6f.tar.gz
Fixed building with g++4.
Diffstat (limited to 'comms/plp/patches/patch-ar')
-rw-r--r--comms/plp/patches/patch-ar20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/plp/patches/patch-ar b/comms/plp/patches/patch-ar
new file mode 100644
index 00000000000..c7eb2eee5c9
--- /dev/null
+++ b/comms/plp/patches/patch-ar
@@ -0,0 +1,20 @@
+$NetBSD: patch-ar,v 1.1 2007/10/10 16:57:25 rillig Exp $
+
+--- ncp/channel.h.orig 1999-04-12 21:16:50.000000000 +0000
++++ ncp/channel.h 2007-10-10 16:55:19.000000000 +0000
+@@ -15,11 +15,11 @@ public:
+
+ void setNcpChannel(int chan);
+ void ncpSend(bufferStore &a);
+- virtual void ncpDataCallback(bufferStore &a) = NULL;
+- virtual const char *getNcpConnectName() = NULL;
++ virtual void ncpDataCallback(bufferStore &a) = 0;
++ virtual const char *getNcpConnectName() = 0;
+ void ncpConnect();
+- virtual void ncpConnectAck() = NULL;
+- virtual void ncpConnectTerminate() = NULL;
++ virtual void ncpConnectAck() = 0;
++ virtual void ncpConnectTerminate() = 0;
+ void ncpDisconnect();
+
+ // The following two calls are used for destructing an instance