summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-bl
diff options
context:
space:
mode:
Diffstat (limited to 'chat/icb/patches/patch-bl')
-rw-r--r--chat/icb/patches/patch-bl22
1 files changed, 22 insertions, 0 deletions
diff --git a/chat/icb/patches/patch-bl b/chat/icb/patches/patch-bl
new file mode 100644
index 00000000000..e8851019e58
--- /dev/null
+++ b/chat/icb/patches/patch-bl
@@ -0,0 +1,22 @@
+$NetBSD: patch-bl,v 1.1 2006/05/15 15:33:00 christos Exp $
+
+--- icb/register.c.orig 1995-02-24 16:20:26.000000000 -0500
++++ icb/register.c 2006-05-15 10:58:41.000000000 -0400
+@@ -5,6 +5,8 @@
+
+ #include "icb.h"
+ #include "externs.h"
++#include <stdlib.h>
++#include <unistd.h>
+
+ void
+ regnick(password)
+@@ -13,7 +15,7 @@
+ char message[256];
+
+ if (!password)
+- password = (char *)getpass("Password:");
++ password = getpass("Password:");
+
+ sprintf(message,"p %s", password);
+ sendpersonal("server",message,-1);