diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-11 17:02:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-11 17:02:39 +0000 |
commit | 779abf9ccb4721996af2a488e14efbe6f274ce18 (patch) | |
tree | ea0f0b31d40000309e6c6f8319b0f16d872603d0 /misc/vfu | |
parent | 4d9a9e299c2350afe05e5ea33dff63543488c035 (diff) | |
download | pkgsrc-779abf9ccb4721996af2a488e14efbe6f274ce18.tar.gz |
Add DragonFly support.
Diffstat (limited to 'misc/vfu')
-rw-r--r-- | misc/vfu/distinfo | 4 | ||||
-rw-r--r-- | misc/vfu/patches/patch-ai | 28 | ||||
-rw-r--r-- | misc/vfu/patches/patch-aj | 13 |
3 files changed, 44 insertions, 1 deletions
diff --git a/misc/vfu/distinfo b/misc/vfu/distinfo index 0c8a974aa2e..5989933d370 100644 --- a/misc/vfu/distinfo +++ b/misc/vfu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2005/02/24 11:02:58 agc Exp $ +$NetBSD: distinfo,v 1.9 2006/01/11 17:02:39 joerg Exp $ SHA1 (vfu-3.04.src.tar.gz) = 75e87d102114dc08136420e7927e687f72a52dfd RMD160 (vfu-3.04.src.tar.gz) = a0d1ba84d9c66216b444226ceace190ada0e795a @@ -11,3 +11,5 @@ SHA1 (patch-ae) = a2076bb4754bc433898529734f7b25a5efd2ba57 SHA1 (patch-af) = 056851af215dbf1195b9e7f00b6b654261473945 SHA1 (patch-ag) = 3e87916630a0e9628cc28097bf2d011d15fadc42 SHA1 (patch-ah) = 50b211c8ca93393f38ed7e279795e1df0606884c +SHA1 (patch-ai) = 4a161a1df84001bdefc81384128ea74bf9d7f61d +SHA1 (patch-aj) = 265fbb0873ce0b910ba6a53da57a18269af34b82 diff --git a/misc/vfu/patches/patch-ai b/misc/vfu/patches/patch-ai new file mode 100644 index 00000000000..816c07d6b16 --- /dev/null +++ b/misc/vfu/patches/patch-ai @@ -0,0 +1,28 @@ +$NetBSD: patch-ai,v 1.1 2006/01/11 17:02:39 joerg Exp $ + +--- vslib/target.h.orig 2006-01-11 16:51:18.000000000 +0000 ++++ vslib/target.h +@@ -41,6 +41,14 @@ + #endif + + #ifdef _TARGET_UNKNOWN_ ++ #if defined(__DragonFly__) ++ #define _TARGET_DRAGONFLY_ ++ #define _TARGET_DESCRIPTION_ "UNIX/DRAGONFLY" ++ #undef _TARGET_UNKNOWN_ ++ #endif ++#endif ++ ++#ifdef _TARGET_UNKNOWN_ + #if defined(WIN32) + #define _TARGET_WIN32_ + #define _TARGET_DESCRIPTION_ "DOS/WIN32" // sorry :) +@@ -61,7 +69,7 @@ + + /****************************************** define target UNIX platforms ***/ + +-#if defined(_TARGET_LINUX_) || defined(_TARGET_NETBSD_) ++#if defined(_TARGET_LINUX_) || defined(_TARGET_NETBSD_) || defined(_TARGET_DRAGONFLY_) + #define _TARGET_UNIX_ + #undef _TARGET_UNKNOWN_ + #endif diff --git a/misc/vfu/patches/patch-aj b/misc/vfu/patches/patch-aj new file mode 100644 index 00000000000..9343f2ac3bd --- /dev/null +++ b/misc/vfu/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2006/01/11 17:02:39 joerg Exp $ + +--- vfu/vfu.h.orig 2006-01-11 16:54:42.000000000 +0000 ++++ vfu/vfu.h +@@ -34,7 +34,7 @@ + + #include <vslib.h> + +- #ifdef _TARGET_NETBSD_ ++ #if defined(_TARGET_NETBSD_) || defined(_TARGET_DRAGONFLY_) + #include <sys/param.h> + #include <sys/mount.h> + #else |