summaryrefslogtreecommitdiff
path: root/net/rdist6/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-23 13:41:41 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-23 13:41:41 +0000
commita191e0a9fddbd8d71bbe9b3412a5cfe0954b4581 (patch)
treeccafce9f74a60068845cab1c8316471250f99905 /net/rdist6/patches
parentaee953d56eadf6900220df89744b7ad5ca354325 (diff)
downloadpkgsrc-a191e0a9fddbd8d71bbe9b3412a5cfe0954b4581.tar.gz
Add DragonFly support.
Diffstat (limited to 'net/rdist6/patches')
-rw-r--r--net/rdist6/patches/patch-ag12
-rw-r--r--net/rdist6/patches/patch-al4
2 files changed, 14 insertions, 2 deletions
diff --git a/net/rdist6/patches/patch-ag b/net/rdist6/patches/patch-ag
new file mode 100644
index 00000000000..bb7d7b13ae2
--- /dev/null
+++ b/net/rdist6/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.3 2006/03/23 13:41:41 joerg Exp $
+
+--- config/os-type.orig 2006-03-23 13:11:00.000000000 +0000
++++ config/os-type
+@@ -102,6 +102,7 @@ if [ -z "${OS}" -a ! -z "${uname}" ]; th
+ "linux"*) OS=linux;;
+ "netbsd"*) OS="${osname}";;
+ "freebsd"*) OS="${osname}${osmajver}";;
++ "dragonfly"*) OS="${osname}";;
+ "openbsd"*) OS="${osname}";;
+ "dgux"*) OS=dgux;;
+ "unicos"*) OS=unicos;;
diff --git a/net/rdist6/patches/patch-al b/net/rdist6/patches/patch-al
index 4865354e065..8c0df01f7a8 100644
--- a/net/rdist6/patches/patch-al
+++ b/net/rdist6/patches/patch-al
@@ -1,4 +1,4 @@
-$NetBSD: patch-al,v 1.1 2004/05/31 02:18:44 kim Exp $
+$NetBSD: patch-al,v 1.2 2006/03/23 13:41:41 joerg Exp $
--- src/filesys-os.c.orig 1999-08-04 11:57:33.000000000 -0400
+++ src/filesys-os.c 2004-05-30 22:10:03.000000000 -0400
@@ -38,7 +38,7 @@ $NetBSD: patch-al,v 1.1 2004/05/31 02:18:44 kim Exp $
}
- mnt = (struct statfs*)(sizeof(struct statfs)+(ulong)mnt);
-+ mnt = (statfs_t *)(sizeof(statfs_t)+(ulong)mnt);
++ mnt = (statfs_t *)(sizeof(statfs_t)+(unsigned long)mnt);
entries_left--;
return(&mntstruct);