summaryrefslogtreecommitdiff
path: root/net/eggdrop
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-12-10 04:29:47 +0000
committertv <tv@pkgsrc.org>1998-12-10 04:29:47 +0000
commit028ad7c9f2ade7e6dd8b1d63b2f948f3e1541ec1 (patch)
tree8220a5ab206cd404720eee587f9fa563ccaa08a1 /net/eggdrop
parentf6ac3eff9aeca35ea0dd58acbe4325c0a685d9ef (diff)
downloadpkgsrc-028ad7c9f2ade7e6dd8b1d63b2f948f3e1541ec1.tar.gz
Some LP64 fixes. There are dozens more needed related to time_t, but are
not operationally impeding.
Diffstat (limited to 'net/eggdrop')
-rw-r--r--net/eggdrop/patches/patch-ad13
-rw-r--r--net/eggdrop/patches/patch-ae16
2 files changed, 29 insertions, 0 deletions
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);
+ }
+ }