summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-03-19 13:23:35 +0000
committerdmcmahill <dmcmahill>2001-03-19 13:23:35 +0000
commit16279feb82ab0e60bb12484593a01a4ade2c8a22 (patch)
tree29327b88870a9fb1ea87a8a8a4409a0d26ed62da /comms
parent82e91161cd27dfdd50df48d6dccf6592e32b610a (diff)
downloadpkgsrc-16279feb82ab0e60bb12484593a01a4ade2c8a22.tar.gz
make this work on alpha. (printf format string fixes)
Diffstat (limited to 'comms')
-rw-r--r--comms/fidogate/files/patch-sum30
-rw-r--r--comms/fidogate/patches/patch-al13
-rw-r--r--comms/fidogate/patches/patch-am29
-rw-r--r--comms/fidogate/patches/patch-an20
-rw-r--r--comms/fidogate/patches/patch-ao34
-rw-r--r--comms/fidogate/patches/patch-ap25
-rw-r--r--comms/fidogate/patches/patch-aq13
7 files changed, 152 insertions, 12 deletions
diff --git a/comms/fidogate/files/patch-sum b/comms/fidogate/files/patch-sum
index c2363bc36d2..135c15a0fc0 100644
--- a/comms/fidogate/files/patch-sum
+++ b/comms/fidogate/files/patch-sum
@@ -1,13 +1,19 @@
-$NetBSD: patch-sum,v 1.6 2001/03/09 19:06:18 tv Exp $
+$NetBSD: patch-sum,v 1.7 2001/03/19 13:23:35 dmcmahill Exp $
-MD5 (patch-aa) = 9617cf7c1bb0f8817445043ea8d5bd36
-MD5 (patch-ab) = cc96a047e67e88da5ff683515b77fc94
-MD5 (patch-ac) = b226c572c3537ce07436cddb0495293d
-MD5 (patch-ad) = 93db628b069304a5afaf3feddf8ae41b
-MD5 (patch-ae) = 84726b67dc58cbd2b1005c468f3fab48
-MD5 (patch-af) = 29b3e4bed0ff4102c671648eae15d2fd
-MD5 (patch-ag) = 49cfced275abdaa905e0e86dcfaa532e
-MD5 (patch-ah) = 16a49bfc5b559da88ddb7fd18143fe7d
-MD5 (patch-ai) = 46e49fbac04f9785331b7d91b0e69272
-MD5 (patch-aj) = ed7d369bb59af31184db64fe751bced2
-MD5 (patch-ak) = 1e181fd993b4dc7f70518efcbf43d461
+SHA1 (patch-aa) = 169ef1122c1d2050249c1cc79106f335b714ef8a
+SHA1 (patch-ab) = c453ad1e3955259f01cd0692cf5568d2f3fafacb
+SHA1 (patch-ac) = b93a8656afea504e00692d4a235f117dfb67df68
+SHA1 (patch-ad) = 2562aca505a403e9cd5e493fcf84f9c7b15e764f
+SHA1 (patch-ae) = e2cf8add74b051111626230257c01793c1c20ca9
+SHA1 (patch-af) = 0e357aa5f324ab3b1ff507c8ceeba476ce36b908
+SHA1 (patch-ag) = 0d7babf2526a4b235bdd20ae1aead7ee4d734dd6
+SHA1 (patch-ah) = d75936b400f87c87033b07a5481a004ea21d6ddd
+SHA1 (patch-ai) = 072a854f2db4ce1be46107dc49c211f28172c3d7
+SHA1 (patch-aj) = 0f68f94aa285a4d1ae38cfd2d62b10f96ad325a6
+SHA1 (patch-ak) = 787c66a5af3220c234c8a9d89606e697eca4cf47
+SHA1 (patch-al) = 7fe4d59f45bb865dcfbeef3a1f2d7c4023185eca
+SHA1 (patch-am) = 6c9735b35ddca75df5e0446ee4a46a62ff69fef3
+SHA1 (patch-an) = ec8d8faf329f40e06f865aa790e36f1b6cd81fbb
+SHA1 (patch-ao) = e23fc61440465d1792fbcc51aeeb1077393c87e9
+SHA1 (patch-ap) = 052d155e698fb36b87e4a28a4b1f75f701b7c956
+SHA1 (patch-aq) = 23e551d1bf36e031a629d9d9e817d135886191ab
diff --git a/comms/fidogate/patches/patch-al b/comms/fidogate/patches/patch-al
new file mode 100644
index 00000000000..4c7f04c3614
--- /dev/null
+++ b/comms/fidogate/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.4 2001/03/19 13:23:36 dmcmahill Exp $
+
+alpha fixes...
+
+--- src/common/log.c.orig Wed Oct 18 17:53:57 2000
++++ src/common/log.c Mon Mar 19 07:37:02 2001
+@@ -138,5 +138,5 @@
+ {
+ fprintf(fp, "%s %s ",
+- date_buf(buf, sizeof(buf), DATE_LOG, (long *)0), logprog);
++ date_buf(buf, sizeof(buf), DATE_LOG, (time_t *)0), logprog);
+ vfprintf(fp, *fmt == '$' ? fmt + 1 : fmt, args);
+ if (*fmt == '$')
diff --git a/comms/fidogate/patches/patch-am b/comms/fidogate/patches/patch-am
new file mode 100644
index 00000000000..4c21201c1e6
--- /dev/null
+++ b/comms/fidogate/patches/patch-am
@@ -0,0 +1,29 @@
+$NetBSD: patch-am,v 1.4 2001/03/19 13:23:36 dmcmahill Exp $
+
+alpha fixes...
+
+--- src/common/tick.c.orig Fri Jan 28 17:01:11 2000
++++ src/common/tick.c Mon Mar 19 07:47:47 2001
+@@ -121,5 +121,5 @@
+ fprintf(fp, "Created %s\r\n", tic->created);
+ fprintf(fp, "Size %lu\r\n", tic->size);
+- fprintf(fp, "Date %ld\r\n", tic->date);
++ fprintf(fp, "Date %ld\r\n", (long) tic->date);
+ for(pl=tic->path.first; pl; pl=pl->next)
+ fprintf(fp, "Path %s\r\n", pl->line);
+@@ -279,6 +279,6 @@
+ debug(lvl, "Seenby : %s", znfp1(&p->node));
+ debug(lvl, "Pw : %s", tic->pw);
+- debug(lvl, "Release : %ld", tic->release);
+- debug(lvl, "Date : %ld", tic->date);
++ debug(lvl, "Release : %ld", (long) tic->release);
++ debug(lvl, "Date : %ld", (long) tic->date);
+ for(pl=tic->app.first; pl; pl=pl->next)
+ debug(lvl, "App : %s", pl->line);
+@@ -368,5 +368,5 @@
+ now = time(NULL);
+ tl_appendf(&tic->path, "%s %ld %s",
+- znf1(cf_addr()), now, date(DATE_TICK_PATH, &now));
++ znf1(cf_addr()), (long) now, date(DATE_TICK_PATH, &now));
+
+ }
diff --git a/comms/fidogate/patches/patch-an b/comms/fidogate/patches/patch-an
new file mode 100644
index 00000000000..8a41a458fdb
--- /dev/null
+++ b/comms/fidogate/patches/patch-an
@@ -0,0 +1,20 @@
+$NetBSD: patch-an,v 1.4 2001/03/19 13:23:36 dmcmahill Exp $
+
+alpha fixes...
+
+--- src/tick/ftnhatch.c.orig Fri Nov 17 16:18:08 2000
++++ src/tick/ftnhatch.c Mon Mar 19 07:50:57 2001
+@@ -100,5 +100,5 @@
+
+ debug(4, "file: name=%s size=%ld time=%ld crc=%08lx",
+- file_name, file_size, file_time, file_crc);
++ file_name, file_size, (long) file_time, file_crc);
+
+ /*
+@@ -119,5 +119,5 @@
+ tic.size = file_size;
+ tl_appendf(&tic.path, "%s %ld %s",
+- znf1(cf_addr()), now, date(NULL, &now) );
++ znf1(cf_addr()), (long) now, date(NULL, &now) );
+ lon_add(&tic.seenby, cf_addr());
+ lon_join(&tic.seenby, &bbs->nodes);
diff --git a/comms/fidogate/patches/patch-ao b/comms/fidogate/patches/patch-ao
new file mode 100644
index 00000000000..565d869bd07
--- /dev/null
+++ b/comms/fidogate/patches/patch-ao
@@ -0,0 +1,34 @@
+$NetBSD: patch-ao,v 1.1 2001/03/19 13:23:36 dmcmahill Exp $
+
+alpha fixes...
+
+--- src/toss/ftnexpire.c.orig Fri Nov 17 16:18:08 2000
++++ src/toss/ftnexpire.c Mon Mar 19 08:12:29 2001
+@@ -113,5 +113,5 @@
+ exp_sec = 0;
+ debug(4, "expire: now=%ld max=%ld, expire < %ld",
+- now_sec, max_sec, exp_sec );
++ (long) now_sec, (long) max_sec, (long) exp_sec );
+
+ /* Open old history for reading */
+@@ -223,5 +223,5 @@
+ expired = t < exp_sec;
+ debug(7, "msgid=%s time=%ld expired=%s",
+- msgid, t, expired ? "YES" : "NO" );
++ msgid,(long) t, expired ? "YES" : "NO" );
+
+ /* Write if not expired */
+@@ -236,5 +236,5 @@
+
+ /* Write MSGID line to history text file */
+- ret = fprintf(hi_n, "%s\t%ld\n", msgid, t);
++ ret = fprintf(hi_n, "%s\t%ld\n", msgid, (long) t);
+ if (ret == ERROR || fflush(hi_n) == ERROR)
+ {
+@@ -391,5 +391,5 @@
+ log("ids processed: %ld total, %ld expired in %ld s, %.2f ids/s",
+ n_processed, n_expired,
+- expire_delta, (double)n_processed/expire_delta);
++ (long) expire_delta, (double)n_processed/expire_delta);
+
+ unlock_program(DEFAULT_LOCK_HISTORY);
diff --git a/comms/fidogate/patches/patch-ap b/comms/fidogate/patches/patch-ap
new file mode 100644
index 00000000000..38ac6093670
--- /dev/null
+++ b/comms/fidogate/patches/patch-ap
@@ -0,0 +1,25 @@
+$NetBSD: patch-ap,v 1.1 2001/03/19 13:23:36 dmcmahill Exp $
+
+--- src/toss/ftntoss.c.orig Fri Nov 17 16:18:08 2000
++++ src/toss/ftntoss.c Mon Mar 19 08:17:20 2001
+@@ -1443,5 +1443,5 @@
+ if(exp_sec < 0)
+ exp_sec = 0;
+- debug(4, "now=%ld max=%ld, old < %ld", now_sec, max_sec, exp_sec);
++ debug(4, "now=%ld max=%ld, old < %ld", (long) now_sec, (long) max_sec, (long) exp_sec);
+
+ /* Open packet and read header */
+@@ -1947,5 +1947,5 @@
+ if(pkts_in)
+ log("pkts processed: %ld, %ld Kbyte in %ld s, %.2f Kbyte/s",
+- pkts_in, pkts_bytes/1024, toss_delta,
++ pkts_in, pkts_bytes/1024, (long) toss_delta,
+ (double)pkts_bytes/1024./toss_delta );
+
+@@ -1955,5 +1955,5 @@
+ msgs_in, msgs_netmail+msgs_echomail, msgs_netmail, msgs_echomail);
+ log("msgs processed: %ld in %ld s, %.2f msgs/s",
+- msgs_in, toss_delta, (double)msgs_in/toss_delta);
++ msgs_in, (long) toss_delta, (double)msgs_in/toss_delta);
+ }
+
diff --git a/comms/fidogate/patches/patch-aq b/comms/fidogate/patches/patch-aq
new file mode 100644
index 00000000000..18a5d824a1f
--- /dev/null
+++ b/comms/fidogate/patches/patch-aq
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1 2001/03/19 13:23:36 dmcmahill Exp $
+
+--- src/toss/history.c.orig Fri Nov 17 16:18:08 2000
++++ src/toss/history.c Mon Mar 19 08:18:47 2001
+@@ -152,6 +152,6 @@
+
+ /* Write MSGID line to history text file */
+- debug(7, "history: offset=%ld: %s %ld", offset, msgid, t);
+- ret = fprintf(hi_file, "%s\t%ld\n", msgid, t);
++ debug(7, "history: offset=%ld: %s %ld", offset, msgid, (long) t);
++ ret = fprintf(hi_file, "%s\t%ld\n", msgid, (long) t);
+ if (ret == ERROR || fflush(hi_file) == ERROR)
+ {