summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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