pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/destroy Fix build on Interix, which doesn't h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f03bf11810a
branches:  trunk
changeset: 502027:8f03bf11810a
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Nov 01 18:52:45 2005 +0000

description:
Fix build on Interix, which doesn't have S_IFWHT.

diffstat:

 security/destroy/distinfo         |   3 ++-
 security/destroy/patches/patch-aa |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r a89828c54217 -r 8f03bf11810a security/destroy/distinfo
--- a/security/destroy/distinfo Tue Nov 01 18:45:32 2005 +0000
+++ b/security/destroy/distinfo Tue Nov 01 18:52:45 2005 +0000
@@ -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 -r a89828c54217 -r 8f03bf11810a security/destroy/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/destroy/patches/patch-aa Tue Nov 01 18:52:45 2005 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index