diff options
author | tv <tv@pkgsrc.org> | 2005-11-01 18:52:45 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-11-01 18:52:45 +0000 |
commit | 70ac0fb57d27d69e2d0d8bdf7dae2e5bd004fadd (patch) | |
tree | 3c17932e2256a8845c274550abbf7c119bcb3629 /security/destroy | |
parent | 3db20ba234d8f0559d35a9e12cb7c39e9b709d7e (diff) | |
download | pkgsrc-70ac0fb57d27d69e2d0d8bdf7dae2e5bd004fadd.tar.gz |
Fix build on Interix, which doesn't have S_IFWHT.
Diffstat (limited to 'security/destroy')
-rw-r--r-- | security/destroy/distinfo | 3 | ||||
-rw-r--r-- | security/destroy/patches/patch-aa | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/security/destroy/distinfo b/security/destroy/distinfo index 7a955a1371c..df058b2bf16 100644 --- a/security/destroy/distinfo +++ b/security/destroy/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2005/02/24 13:10:05 agc Exp $ +$NetBSD: distinfo,v 1.8 2005/11/01 18:52:45 tv Exp $ SHA1 (destroy-20040415.tar.gz) = c2a24155858e9236c8cba2bb5f45687d778b1fde RMD160 (destroy-20040415.tar.gz) = b1132ee8c226b6239c1da5591081d9fbccb9c284 Size (destroy-20040415.tar.gz) = 4261 bytes +SHA1 (patch-aa) = b7447b4c3abc553594b8dab779037086e1572c03 diff --git a/security/destroy/patches/patch-aa b/security/destroy/patches/patch-aa new file mode 100644 index 00000000000..847ebe1dc00 --- /dev/null +++ b/security/destroy/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.3 2005/11/01 18:52:45 tv Exp $ + +--- destroy.c.orig 2004-04-15 11:21:38.000000000 -0400 ++++ destroy.c +@@ -196,6 +196,7 @@ void traverse(char **argv, int fflag, in + } + break; + ++#ifdef S_IFWHT + case S_IFWHT: /* whiteout */ + if(fflag) { + if(!qflag) { +@@ -206,6 +207,7 @@ void traverse(char **argv, int fflag, in + fprintf(stderr, "Whiteout: \t %s \t Skipping... no '-f' flag set!\n", p->fts_accpath); + } + break; ++#endif + + default: + if(!qflag) { |