summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormartti <martti>2006-01-12 07:12:31 +0000
committermartti <martti>2006-01-12 07:12:31 +0000
commitc1e33150df57535477081f6dd41fba7460711eb0 (patch)
treee78f1e399585649147c086fcc0d887da40ca0088 /devel
parent049b40dd7c888a914de95947a7b0a81a2232ae7c (diff)
downloadpkgsrc-c1e33150df57535477081f6dd41fba7460711eb0.tar.gz
Added support for DragonFly.
Diffstat (limited to 'devel')
-rw-r--r--devel/distcc/distinfo5
-rw-r--r--devel/distcc/patches/patch-ab13
-rw-r--r--devel/distcc/patches/patch-ac13
-rw-r--r--devel/distcc/patches/patch-ad12
4 files changed, 42 insertions, 1 deletions
diff --git a/devel/distcc/distinfo b/devel/distcc/distinfo
index fedc584bf14..ea259e1df68 100644
--- a/devel/distcc/distinfo
+++ b/devel/distcc/distinfo
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.16 2005/07/13 15:30:23 adam Exp $
+$NetBSD: distinfo,v 1.17 2006/01/12 07:12:31 martti Exp $
SHA1 (distcc-2.18.3.tar.bz2) = 88e4c15826bdbc5a3de0f7c1bcb429e558c6976d
RMD160 (distcc-2.18.3.tar.bz2) = c7ac6f3e161dccf39b841b57a3328b4208d28c2d
Size (distcc-2.18.3.tar.bz2) = 341601 bytes
SHA1 (patch-aa) = a0bc240ba8ffe312b71ff6f3599f273a9d37bb53
+SHA1 (patch-ab) = 47ca76054fbf9a9337d51ab5386b1fc76aa13634
+SHA1 (patch-ac) = 618015e2954dc54c6db3712381749feb17106647
+SHA1 (patch-ad) = 4b0a0c5f820bca2c3c79ddf7b2c53e022635f4bf
diff --git a/devel/distcc/patches/patch-ab b/devel/distcc/patches/patch-ab
new file mode 100644
index 00000000000..b2cfc297c3e
--- /dev/null
+++ b/devel/distcc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2006/01/12 07:12:31 martti Exp $
+
+--- src/sendfile.c.orig 2004-10-24 07:05:49.000000000 +0200
++++ src/sendfile.c
+@@ -81,7 +81,7 @@
+ **/
+
+
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || (__DragonFly__)
+ static ssize_t sys_sendfile(int ofd, int ifd, off_t *offset, size_t size)
+ {
+ off_t sent_bytes;
diff --git a/devel/distcc/patches/patch-ac b/devel/distcc/patches/patch-ac
new file mode 100644
index 00000000000..bfe399f6ae0
--- /dev/null
+++ b/devel/distcc/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2006/01/12 07:12:31 martti Exp $
+
+--- src/ncpus.c.orig 2004-07-30 03:12:13.000000000 +0200
++++ src/ncpus.c
+@@ -90,7 +90,7 @@ char_varying(66) module_name;
+ return 0;
+ }
+
+-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__bsdi__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__bsdi__)
+
+ /* http://www.FreeBSD.org/cgi/man.cgi?query=sysctl&sektion=3&manpath=FreeBSD+4.6-stable
+ http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&sektion=3&manpath=OpenBSD+Current
diff --git a/devel/distcc/patches/patch-ad b/devel/distcc/patches/patch-ad
new file mode 100644
index 00000000000..22a65b4b7b3
--- /dev/null
+++ b/devel/distcc/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2006/01/12 07:12:31 martti Exp $
+
+--- configure.orig 2004-11-30 12:34:40.000000000 +0100
++++ configure
+@@ -7133,6 +7133,7 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#include <sys/types.h>
+ #include <sys/socket.h>
+
+ int