summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorobache <obache>2010-12-30 13:15:14 +0000
committerobache <obache>2010-12-30 13:15:14 +0000
commit3c443bd7545dc5dd82b5610efcf38d415ec39f0e (patch)
tree2a2e5154fff742b72887e692a4e1d40f28c8c13c /www
parent77f2fe31d9db152115edcb33f9f973d1523035d3 (diff)
downloadpkgsrc-3c443bd7545dc5dd82b5610efcf38d415ec39f0e.tar.gz
Fixes for DragonFly.
Diffstat (limited to 'www')
-rw-r--r--www/swill/distinfo4
-rw-r--r--www/swill/patches/patch-aa14
-rw-r--r--www/swill/patches/patch-ab23
3 files changed, 40 insertions, 1 deletions
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 <sys/socket.h> 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 <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <signal.h>
++#include <sys/socket.h>
+
+ #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 - </dev/null | grep __ELF__`" != "" ]
+ then
+@@ -3514,7 +3515,7 @@ then
+ fi;;
+ Linux*) CCSHARED="-fpic";;
+ FreeBSD*|OpenBSD*) CCSHARED="-fpic";;
+- NetBSD*) CCSHARED="-fPIC";;
++ NetBSD*|DragonFly*) CCSHARED="-fPIC";;
+ SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
+ IRIX*/6*) case $CC in
+ *gcc*) CCSHARED="-shared";;