summaryrefslogtreecommitdiff
path: root/net/dgd/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/dgd/files')
-rw-r--r--net/dgd/files/patch-aa4
-rw-r--r--net/dgd/files/patch-comp.c74
-rw-r--r--net/dgd/files/patch-mud.dgd4
3 files changed, 78 insertions, 4 deletions
diff --git a/net/dgd/files/patch-aa b/net/dgd/files/patch-aa
index ba7c69fdbb55..6b66c026ea3a 100644
--- a/net/dgd/files/patch-aa
+++ b/net/dgd/files/patch-aa
@@ -1,7 +1,7 @@
$FreeBSD$
---- Makefile.orig Mon Aug 26 07:21:20 2002
-+++ Makefile Mon Aug 26 09:24:19 2002
+--- src/Makefile.orig Mon Aug 26 07:21:20 2002
++++ src/Makefile Mon Aug 26 09:24:19 2002
@@ -3,13 +3,12 @@
#
HOST= NETBSD
diff --git a/net/dgd/files/patch-comp.c b/net/dgd/files/patch-comp.c
new file mode 100644
index 000000000000..cb23188eb861
--- /dev/null
+++ b/net/dgd/files/patch-comp.c
@@ -0,0 +1,74 @@
+--- src/comp/comp.c.orig Tue Sep 2 10:58:56 2003
++++ src/comp/comp.c Tue Sep 2 11:14:29 2003
+@@ -558,6 +558,20 @@
+ return TRUE;
+ }
+
++#ifdef NETWORK_PACKAGE
++/*
++ * NAME: comm->openport()
++ * DESCRIPTION: pretend to open a port
++ */
++void comm_openport(f, obj, protocol, portnr)
++frame *f;
++object *obj;
++unsigned char protocol;
++unsigned short portnr;
++{
++}
++#endif
++
+ /*
+ * NAME: comm->finish()
+ * DESCRIPTION: pretend to terminate connections
+@@ -585,6 +599,35 @@
+ return 0;
+ }
+
++#ifdef NETWORK_PACKAGE
++/*
++ * NAME: comm->connect()
++ * DESCRIPTION: pretend to open a connection to a port
++ */
++void
++comm_connect(f, obj, addr, protocol, port)
++frame *f;
++object *obj;
++char *addr;
++unsigned char protocol;
++unsigned short port;
++{
++}
++
++/*
++ * NAME: comm->senddatagram()
++ * DESCRIPTION: pretend to send a UDP datagram
++ */
++int comm_senddatagram(obj, str, ip, port)
++object * obj;
++string * str;
++string * ip;
++int port;
++{
++ return 0;
++}
++#endif
++
+ /*
+ * NAME: comm->udpsend()
+ * DESCRIPTION: pretend to send a message on the UDP channel of a connection
+@@ -668,8 +711,14 @@
+ * NAME: comm->users()
+ * DESCRIPTION: pretend to return an array with all user objects
+ */
++#ifdef NETWORK_PACKAGE
++array *comm_users(data, ports)
++dataspace *data;
++bool ports;
++#else
+ array *comm_users(data)
+ dataspace *data;
++#endif
+ {
+ return (array *) NULL;
+ }
diff --git a/net/dgd/files/patch-mud.dgd b/net/dgd/files/patch-mud.dgd
index e2a32db40124..27b7535880f8 100644
--- a/net/dgd/files/patch-mud.dgd
+++ b/net/dgd/files/patch-mud.dgd
@@ -1,7 +1,7 @@
$FreeBSD$
---- ../mud.dgd.orig Thu Mar 4 13:54:52 1999
-+++ ../mud.dgd Thu Aug 28 14:54:26 2003
+--- mud.dgd.orig Thu Mar 4 13:54:52 1999
++++ mud.dgd Thu Aug 28 14:54:26 2003
@@ -1,10 +1,10 @@
telnet_port = 6047; /* telnet port number */
binary_port = 6048; /* binary port number */