summaryrefslogtreecommitdiff
path: root/net/poptop/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/poptop/patches/patch-ac')
-rw-r--r--net/poptop/patches/patch-ac15
1 files changed, 10 insertions, 5 deletions
diff --git a/net/poptop/patches/patch-ac b/net/poptop/patches/patch-ac
index 7ccedc61583..c33865ace1f 100644
--- a/net/poptop/patches/patch-ac
+++ b/net/poptop/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.5 2011/02/12 16:47:44 asau Exp $
+$NetBSD: patch-ac,v 1.6 2012/12/20 21:42:06 joerg Exp $
---- pptpctrl.c.orig 2006-12-08 03:01:40.000000000 +0300
-+++ pptpctrl.c 2011-02-12 17:02:53.000000000 +0300
-@@ -32,6 +32,11 @@
+--- pptpctrl.c.orig 2006-12-08 00:01:40.000000000 +0000
++++ pptpctrl.c
+@@ -32,10 +32,15 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef HAVE_OPENPTY
@@ -13,7 +13,12 @@ $NetBSD: patch-ac,v 1.5 2011/02/12 16:47:44 asau Exp $
+#endif
#ifdef HAVE_PTY_H
#include <pty.h>
- #include <termios.h>
+-#include <termios.h>
+ #endif
++#include <termios.h>
+ #ifdef HAVE_LIBUTIL_H
+ #include <libutil.h>
+ #endif
@@ -773,7 +778,7 @@ static void launch_pppd(char **pppaddrs,
if (pptp_logwtmp) {