diff options
author | tnn <tnn@pkgsrc.org> | 2010-09-28 17:50:07 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2010-09-28 17:50:07 +0000 |
commit | ed234e984143410514c83fb87026f7948f76ebf8 (patch) | |
tree | cdf955a6e69f2331f6777e36c78da6d9a3ac349b /archivers | |
parent | 171b587f877ddbe108f68f0e61202c52aac8b54a (diff) | |
download | pkgsrc-ed234e984143410514c83fb87026f7948f76ebf8.tar.gz |
fix local patch; void function cannot return vaule.
reported by <BugeyeD> in #pkgsrc
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/star/distinfo | 4 | ||||
-rw-r--r-- | archivers/star/patches/patch-ad | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/archivers/star/distinfo b/archivers/star/distinfo index e034bfdf70f..00f1491066b 100644 --- a/archivers/star/distinfo +++ b/archivers/star/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2008/06/08 02:40:38 tonnerre Exp $ +$NetBSD: distinfo,v 1.10 2010/09/28 17:50:07 tnn Exp $ SHA1 (star-1.4.3.tar.gz) = c59b68d97edba77a9ac6000be04d457ded1eefe9 RMD160 (star-1.4.3.tar.gz) = f7ec71bfab1723c994e5eed7e6818394a41d44d9 @@ -6,4 +6,4 @@ Size (star-1.4.3.tar.gz) = 520388 bytes SHA1 (patch-aa) = 4fe4af396adf23eb7ac071b02a7bf726ab1e4318 SHA1 (patch-ab) = aea3af88d3bedf2ce7a7744c90062ba4e57bb79f SHA1 (patch-ac) = 81e6361db3903e5b04fae4e70ad3a37f9a2f4fa7 -SHA1 (patch-ad) = 8e9fff0b8345a1997ae08a5c5e57260b4c5f8090 +SHA1 (patch-ad) = 2be98feac17350b37c242a6f84f539e81330ee14 diff --git a/archivers/star/patches/patch-ad b/archivers/star/patches/patch-ad index f40d56bfebe..6f4ba10cb69 100644 --- a/archivers/star/patches/patch-ad +++ b/archivers/star/patches/patch-ad @@ -1,6 +1,6 @@ -$NetBSD: patch-ad,v 1.1 2008/06/08 02:40:38 tonnerre Exp $ +$NetBSD: patch-ad,v 1.2 2010/09/28 17:50:07 tnn Exp $ ---- star/extract.c.orig 2002-05-02 22:02:41.000000000 +0200 +--- star/extract.c.orig 2002-05-02 20:02:41.000000000 +0000 +++ star/extract.c @@ -92,6 +92,7 @@ EXPORT int xt_file __PR((FINFO * info, int (*)(void *, char *, int), @@ -18,7 +18,7 @@ $NetBSD: patch-ad,v 1.1 2008/06/08 02:40:38 tonnerre Exp $ + errmsgno(EX_BAD, "'%s' contains '..', skipping ...\n", + finfo.f_name); + void_file(&finfo); -+ return (FALSE); ++ return; + } if (interactive && !ia_change(ptb, &finfo)) { if (!nflag) @@ -31,7 +31,7 @@ $NetBSD: patch-ad,v 1.1 2008/06/08 02:40:38 tonnerre Exp $ + errmsgno(EX_BAD, "'%s' contains '..', " + "skipping ...\n", finfo.f_lname); + void_file(&finfo); -+ return (FALSE); ++ return; + } if (!make_link(&finfo)) continue; |