summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorad <ad@pkgsrc.org>2001-03-02 19:15:17 +0000
committerad <ad@pkgsrc.org>2001-03-02 19:15:17 +0000
commitb2e422b4232a9c99ae9ce822e94e816bed534bdf (patch)
tree01a376892ada214645313ae0889468c0e5695845 /net
parentbc4caa6067fbcca7599ced08bf94e525c82295ae (diff)
downloadpkgsrc-b2e422b4232a9c99ae9ce822e94e816bed534bdf.tar.gz
pkg/12294: pppctl dumps core. Patch from Bruno Achauer <bruno@exet-ag.de>.
Diffstat (limited to 'net')
-rw-r--r--net/userppp/files/patch-sum3
-rw-r--r--net/userppp/patches/patch-aj30
2 files changed, 32 insertions, 1 deletions
diff --git a/net/userppp/files/patch-sum b/net/userppp/files/patch-sum
index fa163e13c7b..c1f4a01cbb8 100644
--- a/net/userppp/files/patch-sum
+++ b/net/userppp/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.4 2000/12/28 01:59:26 wiz Exp $
+$NetBSD: patch-sum,v 1.5 2001/03/02 19:15:17 ad Exp $
MD5 (patch-aa) = 354ec23280a74ec5a34f32df68d02f5a
MD5 (patch-ab) = 4e849b882fa232ea77efef54d0749f44
@@ -9,3 +9,4 @@ MD5 (patch-af) = bb164fb966afe3bd743645dd8ecf91e2
MD5 (patch-ag) = d87f555eebb74cf100f75097377a83ea
MD5 (patch-ah) = d8b895c88011951e3311dbdd78256460
MD5 (patch-ai) = ef0131af5a44f8ab5ed8ad2d2de96feb
+MD5 (patch-aj) = 44fbfe18750d2d7c2cc398ac6f2fa947
diff --git a/net/userppp/patches/patch-aj b/net/userppp/patches/patch-aj
new file mode 100644
index 00000000000..aed2c922fa6
--- /dev/null
+++ b/net/userppp/patches/patch-aj
@@ -0,0 +1,30 @@
+$NetBSD: patch-aj,v 1.1 2001/03/02 19:15:17 ad Exp $
+
+--- pppctl/pppctl.c.orig Fri Mar 2 19:03:42 2001
++++ pppctl/pppctl.c Fri Mar 2 19:04:16 2001
+@@ -389,6 +389,7 @@
+ History *hist;
+ const char *l, *env;
+ int size;
++ HistEvent hev = { 0, "" };
+
+ hist = history_init();
+ if ((env = getenv("EL_SIZE"))) {
+@@ -398,7 +399,7 @@
+ } else
+ size = 20;
+ #ifdef __NetBSD__
+- history(hist, NULL, H_SETSIZE, size);
++ history(hist, &hev, H_SETSIZE, size);
+ edit = el_init("pppctl", stdin, stdout, stderr);
+ #else
+ history(hist, H_EVENT, size);
+@@ -417,7 +418,7 @@
+ while ((l = smartgets(edit, &len, fd))) {
+ if (len > 1)
+ #ifdef __NetBSD__
+- history(hist, NULL, H_ENTER, l);
++ history(hist, &hev, H_ENTER, l);
+ #else
+ history(hist, H_ENTER, l);
+ #endif