diff options
author | christos <christos> | 2006-05-15 15:33:00 +0000 |
---|---|---|
committer | christos <christos> | 2006-05-15 15:33:00 +0000 |
commit | 6311d10333674c744b164f1925ccfc1280f7728e (patch) | |
tree | afbbb1fd636341b9428bae591b96b57971ed54ab /chat/icb/patches/patch-bl | |
parent | ea4c542ca141f063c6c561c99fae7270e69cd7c9 (diff) | |
download | pkgsrc-6311d10333674c744b164f1925ccfc1280f7728e.tar.gz |
Make this work with 64 bit hosts.
Diffstat (limited to 'chat/icb/patches/patch-bl')
-rw-r--r-- | chat/icb/patches/patch-bl | 22 |
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); |