diff options
author | joerg <joerg@pkgsrc.org> | 2006-05-09 18:31:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-05-09 18:31:49 +0000 |
commit | 2b2ab761c9624e955914bdab8cbe02eaf3705da6 (patch) | |
tree | a615ddfd084e3c19bad797bf846d2ce74aab8f6f | |
parent | 99469f977b5cbf5e020f57c355acde770126a752 (diff) | |
download | pkgsrc-2b2ab761c9624e955914bdab8cbe02eaf3705da6.tar.gz |
Don't use O_DIRECT on DragonFly.
-rw-r--r-- | sysutils/dd_rescue/distinfo | 3 | ||||
-rw-r--r-- | sysutils/dd_rescue/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/dd_rescue/distinfo b/sysutils/dd_rescue/distinfo index 2e9c397a457..dfc0050e5d7 100644 --- a/sysutils/dd_rescue/distinfo +++ b/sysutils/dd_rescue/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/03/08 08:42:04 ghen Exp $ +$NetBSD: distinfo,v 1.2 2006/05/09 18:31:49 joerg Exp $ SHA1 (dd_rescue-1.11.tar.gz) = 5c00ab592087506ce9e2851c8b4443659bbf9226 RMD160 (dd_rescue-1.11.tar.gz) = aaf44b8034162ae0738bf0613ac3c6ac4e1ea6f0 Size (dd_rescue-1.11.tar.gz) = 17259 bytes SHA1 (patch-aa) = fbb0fce59b038bad269379ca46592eab4f7929bd +SHA1 (patch-ab) = 04fb945e2dbe2b0d174c91403af42393cf54f6d0 diff --git a/sysutils/dd_rescue/patches/patch-ab b/sysutils/dd_rescue/patches/patch-ab new file mode 100644 index 00000000000..88f8bcd7569 --- /dev/null +++ b/sysutils/dd_rescue/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2006/05/09 18:31:49 joerg Exp $ + +--- dd_rescue.c.orig 2006-05-09 18:21:21.000000000 +0000 ++++ dd_rescue.c +@@ -55,6 +55,10 @@ + #include <sys/time.h> + #include <sys/stat.h> + ++#ifdef __DragonFly__ ++#undef O_DIRECT ++#endif ++ + int softbs, hardbs; + int maxerr, nrerr, reverse, dotrunc, abwrerr, sparse, nosparse; + int verbose, quiet, interact, force; |