summaryrefslogtreecommitdiff
path: root/security/destroy
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-01 18:52:45 +0000
committertv <tv@pkgsrc.org>2005-11-01 18:52:45 +0000
commit7732ef56d6ec404ec45e7bb2f349dae830352b6b (patch)
tree3c17932e2256a8845c274550abbf7c119bcb3629 /security/destroy
parenta4a790998612c271f67141c4c8cf57bc48a6c86c (diff)
downloadpkgsrc-7732ef56d6ec404ec45e7bb2f349dae830352b6b.tar.gz
Fix build on Interix, which doesn't have S_IFWHT.
Diffstat (limited to 'security/destroy')
-rw-r--r--security/destroy/distinfo3
-rw-r--r--security/destroy/patches/patch-aa20
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) {