summaryrefslogtreecommitdiff
path: root/security/destroy
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-07-09 11:49:44 +0000
committerjperkin <jperkin@pkgsrc.org>2015-07-09 11:49:44 +0000
commitbeb30528427bd6dd33b435cbad5a66220e6c88e8 (patch)
treeee8da74d02c89e64e94769f4f8ec462892a22a4b /security/destroy
parent035083887ad6b75be4557d7bc7bca304a2875e67 (diff)
downloadpkgsrc-beb30528427bd6dd33b435cbad5a66220e6c88e8.tar.gz
Use nbcompat and add patch comments. Fixes build on SunOS.
Diffstat (limited to 'security/destroy')
-rw-r--r--security/destroy/distinfo6
-rw-r--r--security/destroy/patches/patch-Makefile8
-rw-r--r--security/destroy/patches/patch-aa23
3 files changed, 27 insertions, 10 deletions
diff --git a/security/destroy/distinfo b/security/destroy/distinfo
index bd11a6ec614..0241bf222e7 100644
--- a/security/destroy/distinfo
+++ b/security/destroy/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2012/03/01 16:27:57 hans Exp $
+$NetBSD: distinfo,v 1.10 2015/07/09 11:49:44 jperkin Exp $
SHA1 (destroy-20040415.tar.gz) = c2a24155858e9236c8cba2bb5f45687d778b1fde
RMD160 (destroy-20040415.tar.gz) = b1132ee8c226b6239c1da5591081d9fbccb9c284
Size (destroy-20040415.tar.gz) = 4261 bytes
-SHA1 (patch-Makefile) = 04d541387a969b2f96342699bb97ae9bb1148aca
-SHA1 (patch-aa) = b7447b4c3abc553594b8dab779037086e1572c03
+SHA1 (patch-Makefile) = d0dcf65e23697631a190789993f12c5dac05f8f6
+SHA1 (patch-aa) = 8f306959799a0b988d6260cda49f229bb0f9b4fa
diff --git a/security/destroy/patches/patch-Makefile b/security/destroy/patches/patch-Makefile
index 81bd97aa1ed..7a591ce75fe 100644
--- a/security/destroy/patches/patch-Makefile
+++ b/security/destroy/patches/patch-Makefile
@@ -1,7 +1,9 @@
-$NetBSD: patch-Makefile,v 1.1 2012/03/01 16:27:57 hans Exp $
+$NetBSD: patch-Makefile,v 1.2 2015/07/09 11:49:44 jperkin Exp $
---- Makefile.orig 2012-03-01 16:16:00.542669085 +0100
-+++ Makefile 2004-04-15 17:19:49.000000000 +0200
+Append CPPFLAGS and LIBS.
+
+--- Makefile.orig 2004-04-15 15:19:49.000000000 +0000
++++ Makefile
@@ -14,4 +14,4 @@ CFLAGS?= ${CFLAGS}
LDFLAGS?=
diff --git a/security/destroy/patches/patch-aa b/security/destroy/patches/patch-aa
index 847ebe1dc00..3603df1bbbe 100644
--- a/security/destroy/patches/patch-aa
+++ b/security/destroy/patches/patch-aa
@@ -1,8 +1,23 @@
-$NetBSD: patch-aa,v 1.3 2005/11/01 18:52:45 tv Exp $
+$NetBSD: patch-aa,v 1.4 2015/07/09 11:49:44 jperkin Exp $
---- destroy.c.orig 2004-04-15 11:21:38.000000000 -0400
+Use nbcompat.
+
+--- destroy.c.orig 2004-04-15 15:21:38.000000000 +0000
+++ destroy.c
-@@ -196,6 +196,7 @@ void traverse(char **argv, int fflag, in
+@@ -43,7 +43,12 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <errno.h>
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat.h>
++#include <nbcompat/fts.h>
++#else
+ #include <fts.h>
++#endif
+
+ #define MAXBUFFSIZE 8192
+
+@@ -196,6 +201,7 @@ void traverse(char **argv, int fflag, in
}
break;
@@ -10,7 +25,7 @@ $NetBSD: patch-aa,v 1.3 2005/11/01 18:52:45 tv Exp $
case S_IFWHT: /* whiteout */
if(fflag) {
if(!qflag) {
-@@ -206,6 +207,7 @@ void traverse(char **argv, int fflag, in
+@@ -206,6 +212,7 @@ void traverse(char **argv, int fflag, in
fprintf(stderr, "Whiteout: \t %s \t Skipping... no '-f' flag set!\n", p->fts_accpath);
}
break;