From fabfd7dba03fc4649ad37a057d381e06945a6370 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 30 Dec 2010 13:15:14 +0000 Subject: Fixes for DragonFly. --- www/swill/distinfo | 4 +++- www/swill/patches/patch-aa | 14 ++++++++++++++ www/swill/patches/patch-ab | 23 +++++++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 www/swill/patches/patch-aa create mode 100644 www/swill/patches/patch-ab diff --git a/www/swill/distinfo b/www/swill/distinfo index 4f3fd6b49af..3e495148bf6 100644 --- a/www/swill/distinfo +++ b/www/swill/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.3 2009/07/16 13:17:45 zafer Exp $ +$NetBSD: distinfo,v 1.4 2010/12/30 13:15:14 obache Exp $ SHA1 (swill-0.3.tgz) = 765a15c22ef527a811c41c3a2fd25199c979e298 RMD160 (swill-0.3.tgz) = 72134ac3213b6e8df3cf5c7d3d73a2378e9f5659 Size (swill-0.3.tgz) = 438745 bytes +SHA1 (patch-aa) = a2bdde8349e57f6d6440ce4ed02a246353dc6d93 +SHA1 (patch-ab) = c855874bfb3df83a8218ff099e52cede9ebd4478 diff --git a/www/swill/patches/patch-aa b/www/swill/patches/patch-aa new file mode 100644 index 00000000000..e75cf523c43 --- /dev/null +++ b/www/swill/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 2010/12/30 13:15:14 obache Exp $ + +* need to include for socket(2) and related definitions. + +--- Source/SWILL/sock.c.orig 2008-04-10 03:55:01.000000000 +0000 ++++ Source/SWILL/sock.c +@@ -24,6 +24,7 @@ static char cvsroot[] = "$Header: /cvsro + #include + #include + #include ++#include + + #define comm_errno errno + #define closesocket(s) close(s) diff --git a/www/swill/patches/patch-ab b/www/swill/patches/patch-ab new file mode 100644 index 00000000000..caa6a6de08e --- /dev/null +++ b/www/swill/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1 2010/12/30 13:15:14 obache Exp $ + +* DragonFly support. + +--- configure.orig 2007-07-10 02:31:37.000000000 +0000 ++++ configure +@@ -3474,6 +3474,7 @@ then + dgux*) LDSHARED="ld -G";; + FreeBSD*/3*) LDSHARED="gcc -shared";; + FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";; ++ DragonFly*) LDSHARED="cc -shared";; + NetBSD*) + if [ "`$CC -dM -E -