summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-01-17 16:03:45 +0000
committerjoerg <joerg@pkgsrc.org>2013-01-17 16:03:45 +0000
commit76d5ce8cf3ecfcaf222f230271b2bd53343329e5 (patch)
tree0d24df0cfd6abfe8fed4299f83949806fef8ae0b /sysutils
parentd9227a1654cf91034603f099c7b8b7a45b426378 (diff)
downloadpkgsrc-76d5ce8cf3ecfcaf222f230271b2bd53343329e5.tar.gz
Fix unused attribute usage.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mtools/distinfo3
-rw-r--r--sysutils/mtools/patches/patch-mainloop.c22
2 files changed, 24 insertions, 1 deletions
diff --git a/sysutils/mtools/distinfo b/sysutils/mtools/distinfo
index faf9b401f5b..e0eb0e14662 100644
--- a/sysutils/mtools/distinfo
+++ b/sysutils/mtools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2013/01/10 15:37:08 is Exp $
+$NetBSD: distinfo,v 1.20 2013/01/17 16:03:45 joerg Exp $
SHA1 (mtools-4.0.18.tar.bz2) = cd45031441ac944eacebdc8d4b82b20cd9cc8461
RMD160 (mtools-4.0.18.tar.bz2) = 31bd7af355f609e072daa173d44771eac85e9473
@@ -6,3 +6,4 @@ Size (mtools-4.0.18.tar.bz2) = 420190 bytes
SHA1 (patch-aa) = 493b06455ee3169e6db916a9d535dad5a124edbc
SHA1 (patch-ae) = 5281829c8c79f95ff4672fabb53acd22685c17bb
SHA1 (patch-af) = fcf66c887f9513d812c01ff314669959f94ed7b3
+SHA1 (patch-mainloop.c) = c380c68f0d85e1892f3fd6a7cbfc628ca628f300
diff --git a/sysutils/mtools/patches/patch-mainloop.c b/sysutils/mtools/patches/patch-mainloop.c
new file mode 100644
index 00000000000..ab36e5ff026
--- /dev/null
+++ b/sysutils/mtools/patches/patch-mainloop.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-mainloop.c,v 1.1 2013/01/17 16:03:46 joerg Exp $
+
+--- mainloop.c.orig 2013-01-15 16:21:14.000000000 +0000
++++ mainloop.c
+@@ -86,7 +86,7 @@ static const char *fix_mcwd(char *ans)
+ }
+
+ int unix_dir_loop(Stream_t *Stream, MainParam_t *mp);
+-int unix_loop(UNUSED(Stream_t *Stream), MainParam_t *mp, char *arg,
++int unix_loop(Stream_t *Stream UNUSEDP, MainParam_t *mp, char *arg,
+ int follow_dir_link);
+
+ static int _unix_loop(Stream_t *Dir, MainParam_t *mp,
+@@ -95,7 +95,7 @@ static int _unix_loop(Stream_t *Dir, Mai
+ return unix_dir_loop(Dir, mp);
+ }
+
+-int unix_loop(UNUSED(Stream_t *Stream), MainParam_t *mp,
++int unix_loop(Stream_t *Stream, MainParam_t *mp,
+ char *arg, int follow_dir_link)
+ {
+ int ret;