summaryrefslogtreecommitdiff
path: root/net/kdenetwork3/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/kdenetwork3/patches/patch-ac')
-rw-r--r--net/kdenetwork3/patches/patch-ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/kdenetwork3/patches/patch-ac b/net/kdenetwork3/patches/patch-ac
new file mode 100644
index 00000000000..6acddc1f929
--- /dev/null
+++ b/net/kdenetwork3/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/31 13:59:28 skrll Exp $
+
+--- kppp/connect.cpp.orig Wed May 8 19:30:04 2002
++++ kppp/connect.cpp
+@@ -1089,10 +1089,16 @@
+ }
+
+ // O.K the ppp interface is up and running
+- // give it a few time to come up completly (0.2 seconds)
++ // give it a bit of time to come up completely
+ if_timeout_timer->stop();
+ if_timer->stop();
++
++ // NetBSD seems to need more time for pppd to come up
++#ifdef __NetBSD__
++ sleep(2);
++#else
+ usleep(200000);
++#endif
+
+ if(gpppdata.autoDNS())
+ addpeerdns();