From 993ee3e984f112c546bdda786a08f6396185c280 Mon Sep 17 00:00:00 2001 From: tonio Date: Fri, 13 Apr 2007 14:54:41 +0000 Subject: Fix build under FreeBSD --- net/unison-devel/distinfo | 4 ++-- net/unison-devel/patches/patch-ac | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'net') diff --git a/net/unison-devel/distinfo b/net/unison-devel/distinfo index 6ab3631c5f2..617f767f033 100644 --- a/net/unison-devel/distinfo +++ b/net/unison-devel/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.11 2007/04/12 09:20:55 tonio Exp $ +$NetBSD: distinfo,v 1.12 2007/04/13 14:54:41 tonio Exp $ SHA1 (unison-2.27.12/unison-2.27.12.tar.gz) = 88aa962bdcf72d3fc3e1743f02e3785d40e44db9 RMD160 (unison-2.27.12/unison-2.27.12.tar.gz) = dec04c1fc98be70edb31623a7d8b71a1a8a8f983 Size (unison-2.27.12/unison-2.27.12.tar.gz) = 546338 bytes SHA1 (patch-aa) = 8557f1a5a22e7faf6c49b6e8fbab5682e91a7e24 SHA1 (patch-ab) = d1ca5128ff3177c2592e0035da10350d91c5f68f -SHA1 (patch-ac) = 4fc8a46e930d2c2d5bbe5f888ba518ce5dcc89bf +SHA1 (patch-ac) = d5d8c30b87af2b51bc90e310f7f37cfdb93e9bba diff --git a/net/unison-devel/patches/patch-ac b/net/unison-devel/patches/patch-ac index 974a055f699..fc7ce7a6e7c 100644 --- a/net/unison-devel/patches/patch-ac +++ b/net/unison-devel/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.7 2007/04/08 22:46:36 tonio Exp $ +$NetBSD: patch-ac,v 1.8 2007/04/13 14:54:41 tonio Exp $ ---- pty.c.orig 2007-04-02 05:03:20.000000000 +0200 +--- pty.c.orig Mon Apr 2 05:03:20 2007 +++ pty.c -@@ -15,7 +15,7 @@ extern void uerror (char * cmdname, valu +@@ -15,12 +15,13 @@ extern void uerror (char * cmdname, valu #define HAS_OPENPTY 1 #endif @@ -11,3 +11,9 @@ $NetBSD: patch-ac,v 1.7 2007/04/08 22:46:36 tonio Exp $ #include #define HAS_OPENPTY 1 #endif + + #ifdef __FreeBSD__ ++#include + #include + #define HAS_OPENPTY 1 + #endif -- cgit v1.2.3