pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/pax pax-20210219: ignore error from lchmod, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/372c25f204ac
branches: trunk
changeset: 447301:372c25f204ac
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Feb 19 13:23:08 2021 +0000
description:
pax-20210219: ignore error from lchmod, if it was not supported.
This is seen on Linux and results in error building boost.
diffstat:
archivers/pax/Makefile | 5 ++---
archivers/pax/files/file_subs.c | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r fb3a723a7de4 -r 372c25f204ac archivers/pax/Makefile
--- a/archivers/pax/Makefile Fri Feb 19 12:50:13 2021 +0000
+++ b/archivers/pax/Makefile Fri Feb 19 13:23:08 2021 +0000
@@ -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 -r fb3a723a7de4 -r 372c25f204ac archivers/pax/files/file_subs.c
--- a/archivers/pax/files/file_subs.c Fri Feb 19 12:50:13 2021 +0000
+++ b/archivers/pax/files/file_subs.c Fri Feb 19 13:23:08 2021 +0000
@@ -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 @@
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);
}
Home |
Main Index |
Thread Index |
Old Index