pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/pax



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Feb 19 13:23:08 UTC 2021

Modified Files:
        pkgsrc/archivers/pax: Makefile
        pkgsrc/archivers/pax/files: file_subs.c

Log Message:
pax-20210219: ignore error from lchmod, if it was not supported.

This is seen on Linux and results in error building boost.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/archivers/pax/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/archivers/pax/files/file_subs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/pax/Makefile
diff -u pkgsrc/archivers/pax/Makefile:1.55 pkgsrc/archivers/pax/Makefile:1.56
--- pkgsrc/archivers/pax/Makefile:1.55  Sat Jan 18 23:29:56 2020
+++ pkgsrc/archivers/pax/Makefile       Fri Feb 19 13:23:08 2021
@@ -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

Index: pkgsrc/archivers/pax/files/file_subs.c
diff -u pkgsrc/archivers/pax/files/file_subs.c:1.14 pkgsrc/archivers/pax/files/file_subs.c:1.15
--- pkgsrc/archivers/pax/files/file_subs.c:1.14 Sun Oct 26 12:48:48 2008
+++ pkgsrc/archivers/pax/files/file_subs.c      Fri Feb 19 13:23:08 2021
@@ -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);
        }



Home | Main Index | Thread Index | Old Index