From f01a78f21ff9a58603d7bd44990b9757898c98a4 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 19 Feb 2021 13:23:08 +0000 Subject: pax-20210219: ignore error from lchmod, if it was not supported. This is seen on Linux and results in error building boost. --- archivers/pax/Makefile | 5 ++--- 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); } -- cgit v1.2.3