diff options
author | joerg <joerg@pkgsrc.org> | 2021-02-19 13:23:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2021-02-19 13:23:08 +0000 |
commit | f01a78f21ff9a58603d7bd44990b9757898c98a4 (patch) | |
tree | 526d5cc82db0df081dbe40332663ef589123f314 | |
parent | 92d1a136a8333fcc82965cceb20233a5fdea0d73 (diff) | |
download | pkgsrc-f01a78f21ff9a58603d7bd44990b9757898c98a4.tar.gz |
pax-20210219: ignore error from lchmod, if it was not supported.
This is seen on Linux and results in error building boost.
-rw-r--r-- | archivers/pax/Makefile | 5 | ||||
-rw-r--r-- | archivers/pax/files/file_subs.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/archivers/pax/Makefile b/archivers/pax/Makefile index 3376c8c6eef..e5872df14f5 100644 --- a/archivers/pax/Makefile +++ b/archivers/pax/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.55 2020/01/18 23:29:56 rillig Exp $ +# $NetBSD: Makefile,v 1.56 2021/02/19 13:23:08 joerg Exp $ -DISTNAME= pax-20080110 -PKGREVISION= 4 +DISTNAME= pax-20210219 CATEGORIES= archivers MASTER_SITES= # empty DISTFILES= # empty diff --git a/archivers/pax/files/file_subs.c b/archivers/pax/files/file_subs.c index 3f85358f6b1..028cfa18ff1 100644 --- a/archivers/pax/files/file_subs.c +++ b/archivers/pax/files/file_subs.c @@ -1,4 +1,4 @@ -/* $NetBSD: file_subs.c,v 1.14 2008/10/26 12:48:48 joerg Exp $ */ +/* $NetBSD: file_subs.c,v 1.15 2021/02/19 13:23:08 joerg Exp $ */ /*- * Copyright (c) 1992 Keith Muller. @@ -48,7 +48,7 @@ #if 0 static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: file_subs.c,v 1.14 2008/10/26 12:48:48 joerg Exp $"); +__RCSID("$NetBSD: file_subs.c,v 1.15 2021/02/19 13:23:08 joerg Exp $"); #endif #endif /* not lint */ @@ -883,7 +883,7 @@ void set_pmode(char *fnm, mode_t mode) { mode &= A_BITS; - if (lchmod(fnm, mode)) { + if (lchmod(fnm, mode) && errno != EOPNOTSUPP) { (void)fflush(listf); syswarn(1, errno, "Cannot set permissions on %s", fnm); } |