summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-03-09 12:08:25 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-03-09 12:08:25 +0000
commit6ae8753966f1e605f1e500b5dd68566cd2ca612d (patch)
tree49db27fe674c2aa742e72bd01b28c8e2e3a563e4
parentaf41a2343502579a0869fce89b1ed62c14677d7b (diff)
downloadpkgsrc-6ae8753966f1e605f1e500b5dd68566cd2ca612d.tar.gz
make this build on alpha by adding missing header and fixing one instance of
using an int for a pointer.
-rw-r--r--comms/ifcico-cm/files/patch-sum5
-rw-r--r--comms/ifcico-cm/patches/patch-aj20
-rw-r--r--comms/ifcico-cm/patches/patch-ay11
3 files changed, 28 insertions, 8 deletions
diff --git a/comms/ifcico-cm/files/patch-sum b/comms/ifcico-cm/files/patch-sum
index 0225f08131a..9be803c5368 100644
--- a/comms/ifcico-cm/files/patch-sum
+++ b/comms/ifcico-cm/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.4 2001/02/24 20:43:56 tv Exp $
+$NetBSD: patch-sum,v 1.5 2001/03/09 12:08:25 dmcmahill Exp $
MD5 (patch-aa) = c26244e76833f89fdc34bb5f4f7bf846
MD5 (patch-ab) = 93eabfe5c116ab445f5178181eeb124b
@@ -9,7 +9,7 @@ MD5 (patch-af) = 02cdf6ee2ab417cfeae4c508285c5cd7
MD5 (patch-ag) = 8486e1dc02bc9ea09d6e29207f4ab943
MD5 (patch-ah) = 0448c674ed9997e15003c5efb5de7f55
MD5 (patch-ai) = 6b69baa96f4b35c0f117a9be6bb476b5
-MD5 (patch-aj) = a1afb30a4b85d501370f802ade5da54b
+MD5 (patch-aj) = a73917a1df3de8e37cc94b181793f2d6
MD5 (patch-ak) = d68402c77c7c585f31f09700f698f95d
MD5 (patch-al) = c6430caf128dcb1a8100794426e1e411
MD5 (patch-am) = eca318296bf54b951369771ac6704d16
@@ -24,3 +24,4 @@ MD5 (patch-au) = fe93664c434a6fc2a3178d1ffb3febfa
MD5 (patch-av) = 5ae3d1f246d5f6433172b60f0123446e
MD5 (patch-aw) = da869dddcaaea438dc61a54e4f41e257
MD5 (patch-ax) = 9cf8976e5f74d615fc15ed4cb291cffb
+MD5 (patch-ay) = b9909a33567fb1142d91c596bfb798ec
diff --git a/comms/ifcico-cm/patches/patch-aj b/comms/ifcico-cm/patches/patch-aj
index 03de87b2b28..2e29994b194 100644
--- a/comms/ifcico-cm/patches/patch-aj
+++ b/comms/ifcico-cm/patches/patch-aj
@@ -1,13 +1,21 @@
-$NetBSD: patch-aj,v 1.2 2001/02/21 18:50:37 tv Exp $
+$NetBSD: patch-aj,v 1.3 2001/03/09 12:08:25 dmcmahill Exp $
---- ifcico/mxlookup.c.orig Wed Feb 21 10:56:21 2001
-+++ ifcico/mxlookup.c Wed Feb 21 11:00:09 2001
-@@ -226,7 +226,7 @@
- char *cp, *name;
+--- ifcico/mxlookup.c.orig Sat Jul 13 17:17:12 1996
++++ ifcico/mxlookup.c Fri Mar 9 07:01:38 2001
+@@ -170,5 +170,8 @@
+ }
+ else {
+- hp = (int)gethostbyaddr ((char*)&addr, 4, AF_INET);
++ if ( gethostbyaddr ((char*)&addr, 4, AF_INET) == NULL )
++ hp = 0;
++ else
++ hp = 1;
+ break;
+ }
+@@ -227,5 +230,5 @@
querybuf *msg;
{
- int n = dn_expand (msg, msg + 512, cp, name, MAXDNAME - 2);
+ int n = dn_expand ((char *)msg, ((char *)msg) + 512, cp, name, MAXDNAME - 2);
if (n < 0) return NULL;
-
diff --git a/comms/ifcico-cm/patches/patch-ay b/comms/ifcico-cm/patches/patch-ay
new file mode 100644
index 00000000000..84518819e75
--- /dev/null
+++ b/comms/ifcico-cm/patches/patch-ay
@@ -0,0 +1,11 @@
+$NetBSD: patch-ay,v 1.1 2001/03/09 12:08:26 dmcmahill Exp $
+
+needed for alpha when compiling with -Werror
+
+--- ifcico/recvbark.c.orig Mon Jul 15 14:02:34 1996
++++ ifcico/recvbark.c Fri Mar 9 06:51:47 2001
+@@ -1,3 +1,4 @@
+ #include <stdio.h>
++#include <string.h>
+ #include "lutil.h"
+ #include "ttyio.h"