diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-12 09:41:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-12 09:41:15 +0000 |
commit | 34bb1221b2d04f6449d69c8aa8f086a9e58d1a17 (patch) | |
tree | e5405aea633e5c834e77113d26596623f6aed80d /net | |
parent | 93070c8d4d3a52f08ce94b0ad57d5f5052e186b1 (diff) | |
download | pkgsrc-34bb1221b2d04f6449d69c8aa8f086a9e58d1a17.tar.gz |
Add DragonFly support.
Diffstat (limited to 'net')
-rw-r--r-- | net/rp-l2tp/distinfo | 4 | ||||
-rw-r--r-- | net/rp-l2tp/patches/patch-ac | 16 |
2 files changed, 11 insertions, 9 deletions
diff --git a/net/rp-l2tp/distinfo b/net/rp-l2tp/distinfo index 79396101c78..bf6e377fe50 100644 --- a/net/rp-l2tp/distinfo +++ b/net/rp-l2tp/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:14:03 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/05/12 09:41:15 joerg Exp $ SHA1 (rp-l2tp-0.3.tar.gz) = 3f4f08a5271f0adf1dd90567851f1a8e223ecb72 RMD160 (rp-l2tp-0.3.tar.gz) = 25ed4a68a01c08f3acee1ce01a90673a568db55f Size (rp-l2tp-0.3.tar.gz) = 191418 bytes SHA1 (patch-aa) = a351d8bcea431bc47a0a375c770d07e059103841 SHA1 (patch-ab) = 9013297a1e6fede036894be04413feb0cc1bb803 -SHA1 (patch-ac) = 8225dd6f2290b6e66e04f0b1ce67be293d89783c +SHA1 (patch-ac) = ed6cb031b458027f7df8a97a051a1f12bc6b5e00 SHA1 (patch-ad) = 943de75b5928bca92ec739106f3c5679189557c3 SHA1 (patch-ae) = 62c6d5fb9ddd69467fbb6ed6b502add0ae646a29 SHA1 (patch-af) = 3fa6c660ca06ddf3ea49e33e31506f714f7ef9b5 diff --git a/net/rp-l2tp/patches/patch-ac b/net/rp-l2tp/patches/patch-ac index a389b72056a..25ec7b9551a 100644 --- a/net/rp-l2tp/patches/patch-ac +++ b/net/rp-l2tp/patches/patch-ac @@ -1,30 +1,32 @@ -$NetBSD: patch-ac,v 1.1.1.1 2003/12/18 16:39:18 agc Exp $ +$NetBSD: patch-ac,v 1.2 2006/05/12 09:41:16 joerg Exp $ ---- handlers/pty.c 2003/12/18 09:47:10 1.1 -+++ handlers/pty.c 2003/12/18 09:49:36 -@@ -21,7 +21,10 @@ +--- handlers/pty.c.orig 2002-09-30 19:45:00.000000000 +0000 ++++ handlers/pty.c +@@ -21,7 +21,12 @@ static char const RCSID[] = #include <termios.h> #include <fcntl.h> #include <stdio.h> -#ifndef N_HDLC +#ifdef __NetBSD__ +#include <util.h> ++#elif defined(__DragonFly__) || defined(__FreeBSD__) ++#include <libutil.h> +#endif +#if defined(__linux__) && !defined(N_HDLC) #include <linux/termios.h> #endif -@@ -39,6 +42,9 @@ +@@ -39,6 +44,9 @@ static char const RCSID[] = int pty_get(int *mfp, int *sfp) { -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) + return openpty(mfp, sfp, NULL, NULL, NULL); +#else char pty_name[24]; struct termios tios; int mfd, sfd; -@@ -92,5 +98,6 @@ +@@ -92,5 +100,6 @@ pty_get(int *mfp, int *sfp) return -1; } return 0; |