summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-11-08 15:53:49 +0000
committertron <tron@pkgsrc.org>2000-11-08 15:53:49 +0000
commitecf0d4f0945f310028b6f5ff338dfc89d5508419 (patch)
treeacbdc9c09a1943ab02d26fef43a6d8d43b1f694f /net
parent7c7d844d4e71487d14115f856168121c2aadbf24 (diff)
downloadpkgsrc-ecf0d4f0945f310028b6f5ff338dfc89d5508419.tar.gz
Make this package build under NetBSD 1.5 beta version.
Diffstat (limited to 'net')
-rw-r--r--net/userppp/files/patch-sum3
-rw-r--r--net/userppp/patches/patch-ag18
2 files changed, 20 insertions, 1 deletions
diff --git a/net/userppp/files/patch-sum b/net/userppp/files/patch-sum
index bac79107470..eeb95b1797c 100644
--- a/net/userppp/files/patch-sum
+++ b/net/userppp/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.2 2000/11/07 18:11:47 ad Exp $
+$NetBSD: patch-sum,v 1.3 2000/11/08 15:53:49 tron Exp $
MD5 (patch-aa) = 354ec23280a74ec5a34f32df68d02f5a
MD5 (patch-ab) = 4e849b882fa232ea77efef54d0749f44
@@ -6,3 +6,4 @@ MD5 (patch-ac) = 21148a0431f6326289414525ada478c9
MD5 (patch-ad) = 68bb63d69846a116e2808b7a63abda05
MD5 (patch-ae) = 601856884f45d9333f03ddc62fc1bd2c
MD5 (patch-af) = bb164fb966afe3bd743645dd8ecf91e2
+MD5 (patch-ag) = d87f555eebb74cf100f75097377a83ea
diff --git a/net/userppp/patches/patch-ag b/net/userppp/patches/patch-ag
new file mode 100644
index 00000000000..287df2fe89b
--- /dev/null
+++ b/net/userppp/patches/patch-ag
@@ -0,0 +1,18 @@
+$NetBSD: patch-ag,v 1.1 2000/11/08 15:53:49 tron Exp $
+
+--- libhack/alias_db.c.orig Mon Oct 30 18:24:12 2000
++++ libhack/alias_db.c Wed Nov 8 16:48:59 2000
+@@ -141,6 +141,13 @@
+ #include "alias_local.h"
+
+
++#ifndef LIST_FOREACH
++#define LIST_FOREACH(var, head, field) \
++ for ((var) = ((head)->lh_first); \
++ (var); \
++ (var) = ((var)->field.le_next))
++
++#endif
+
+ /*
+ Constants (note: constants are also defined