From 028ad7c9f2ade7e6dd8b1d63b2f948f3e1541ec1 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 10 Dec 1998 04:29:47 +0000 Subject: Some LP64 fixes. There are dozens more needed related to time_t, but are not operationally impeding. --- net/eggdrop/patches/patch-ad | 13 +++++++++++++ net/eggdrop/patches/patch-ae | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 net/eggdrop/patches/patch-ad create mode 100644 net/eggdrop/patches/patch-ae (limited to 'net/eggdrop/patches') diff --git a/net/eggdrop/patches/patch-ad b/net/eggdrop/patches/patch-ad new file mode 100644 index 00000000000..8e2b8cc5b9f --- /dev/null +++ b/net/eggdrop/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 1998/12/10 04:29:47 tv Exp $ + +--- src/mod/filesys.mod/filesys.c.orig Wed Dec 9 20:05:21 1998 ++++ src/mod/filesys.mod/filesys.c Wed Dec 9 20:09:13 1998 +@@ -399,7 +399,7 @@ + /* already have too many transfers active for this user? queue it */ + if (at_limit(nick)) { + char xxx[1024]; +- sprintf(xxx, "%d*%s%s", strlen(dccdir), dccdir, dir); ++ sprintf(xxx, "%lu*%s%s", strlen(dccdir), dccdir, dir); + queue_file(xxx, fn, dcc[idx].nick, nick); + dprintf(idx, "Queued: %s to %s\n", fn, nick); + return 1; diff --git a/net/eggdrop/patches/patch-ae b/net/eggdrop/patches/patch-ae new file mode 100644 index 00000000000..805359b1d79 --- /dev/null +++ b/net/eggdrop/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1 1998/12/10 04:29:47 tv Exp $ + +--- src/mod/ctcp.mod/ctcp.c.orig Wed Dec 9 23:18:06 1998 ++++ src/mod/ctcp.mod/ctcp.c Wed Dec 9 23:18:55 1998 +@@ -117,9 +117,9 @@ + /* do me a favour and don't change this back to a CTCP reply, */ + /* CTCP replies are NOTICE's this has to be a PRIVMSG */ + /* -poptix 5/1/97 */ +- dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %lu %u\001\n", ++ dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %u %u\001\n", + nick, +- iptolong(natip[0]?(IP) inet_addr(natip):getmyip()), ++ (unsigned)iptolong(natip[0]?(IP) inet_addr(natip):getmyip()), + dcc[ix].port); + } + } -- cgit v1.2.3